android_kernel_motorola_sm6375/drivers/pci
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Siddharth Vadapalli e1bfc50444 PCI: keystone: Use devm_request_irq() to free "ks-pcie-error-irq" on exit
commit e51d05f523e43ce5d2bad957943a2b14f68078cd upstream.

Commit under Fixes introduced the IRQ handler for "ks-pcie-error-irq".
The interrupt is acquired using "request_irq()" but is never freed if
the driver exits due to an error. Although the section in the driver that
invokes "request_irq()" has moved around over time, the issue hasn't been
addressed until now.

Fix this by using "devm_request_irq()" which automatically frees the
interrupt if the driver exits.

Fixes: 025dd3daed ("PCI: keystone: Add error IRQ handler")
Reported-by: Jiri Slaby <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]
Signed-off-by: Siddharth Vadapalli <[email protected]>
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Cc: [email protected]
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2025-10-29 13:59:54 +01:00
..
controller PCI: keystone: Use devm_request_irq() to free "ks-pcie-error-irq" on exit 2025-10-29 13:59:54 +01:00
endpoint PCI: endpoint: Fix configfs group removal on driver teardown 2025-08-28 16:21:31 +02:00
hotplug PCI: pnv_php: Work around switches with broken presence detection 2025-08-28 16:21:29 +02:00
pcie PCI/portdrv: Only disable pciehp interrupts early when needed 2025-04-10 14:29:40 +02:00
switch PCI: switchtec: Fix an error handling path in switchtec_pci_probe() 2024-03-26 18:22:20 -04:00
access.c
ats.c
bus.c
ecam.c
host-bridge.c
iov.c PCI/IOV: Add PCI rescan-remove locking when enabling/disabling SR-IOV 2025-10-29 13:59:54 +01:00
irq.c
Kconfig
Makefile
mmap.c
msi.c PCI/MSI: Prevent MSI hardware interrupt number truncation 2024-03-01 13:13:36 +01:00
of.c
p2pdma.c
pci-acpi.c PCI/ACPI: Fix runtime PM ref imbalance on Hot-Plug Capable ports 2025-08-28 16:21:33 +02:00
pci-bridge-emul.c
pci-bridge-emul.h
pci-driver.c PCI/AER: Fix missing uevent on recovery when a reset is requested 2025-10-29 13:59:54 +01:00
pci-label.c
pci-mid.c
pci-pf-stub.c
pci-stub.c
pci-sysfs.c PCI: Add 'reset_subordinate' to reset hierarchy below bridge 2024-12-14 19:44:54 +01:00
pci.c PCI/ACPI: Fix runtime PM ref imbalance on Hot-Plug Capable ports 2025-08-28 16:21:33 +02:00
pci.h PCI: Add 'reset_subordinate' to reset hierarchy below bridge 2024-12-14 19:44:54 +01:00
probe.c PCI/ACPI: Fix runtime PM ref imbalance on Hot-Plug Capable ports 2025-08-28 16:21:33 +02:00
proc.c
quirks.c PCI: Add ACS quirk for Loongson PCIe 2025-06-27 11:02:52 +01:00
remove.c
rom.c
search.c
setup-bus.c PCI: Fix old_size lower bound in calculate_iosize() too 2025-06-04 14:32:33 +02:00
setup-irq.c
setup-res.c
slot.c PCI: Fix use-after-free of slot->bus on hot remove 2024-12-14 19:44:36 +01:00
syscall.c
vc.c
vpd.c
xen-pcifront.c