android_kernel_motorola_sm6375/drivers/pci
Repository files (latest commit first)
Filename Latest commit message Latest commit date
qizhong cheng 2ed05a8cc9 PCI: mediatek: Clear interrupt status before dispatching handler
[ Upstream commit 4e11c29873a8a296a20f99b3e03095e65ebf897d ]

We found a failure when using the iperf tool during WiFi performance
testing, where some MSIs were received while clearing the interrupt
status, and these MSIs cannot be serviced.

The interrupt status can be cleared even if the MSI status remains pending.
As such, given the edge-triggered interrupt type, its status should be
cleared before being dispatched to the handler of the underling device.

[kwilczynski: commit log, code comment wording]
Link: https://lore.kernel.org/linux-pci/[email protected]
Fixes: 43e6409db6 ("PCI: mediatek: Add MSI support for MT2712 and MT7622")
Signed-off-by: qizhong cheng <[email protected]>
Signed-off-by: Jianjun Wang <[email protected]>
Signed-off-by: Krzysztof Wilczyński <[email protected]>
[bhelgaas: rewrap comment]
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Cc:  <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2024-02-23 08:24:47 +01:00
..
controller PCI: mediatek: Clear interrupt status before dispatching handler 2024-02-23 08:24:47 +01:00
endpoint
hotplug Revert "PCI: acpiphp: Reassign resources on bridge if necessary" 2023-12-20 15:41:19 +01:00
pcie PCI/ASPM: Use RMW accessors for changing LNKCTL 2023-09-23 10:59:47 +02:00
switch
access.c
ats.c
bus.c
ecam.c
host-bridge.c
iov.c
irq.c
Kconfig
Makefile
mmap.c
msi.c of/irq: Make of_msi_map_rid() PCI bus agnostic 2023-12-13 18:18:11 +01:00
of.c
p2pdma.c
pci-acpi.c PCI/sysfs: Protect driver's D3cold preference from user space 2023-11-28 16:50:18 +00:00
pci-bridge-emul.c
pci-bridge-emul.h
pci-driver.c PCI: Unify delay handling for reset and resume 2023-03-22 13:28:09 +01:00
pci-label.c
pci-mid.c
pci-pf-stub.c
pci-stub.c
pci-sysfs.c PCI/sysfs: Protect driver's D3cold preference from user space 2023-11-28 16:50:18 +00:00
pci.c PCI/PM: Avoid putting EloPOS E2/S2/H2 PCIe Ports in D3cold 2023-07-27 08:37:35 +02:00
pci.h PCI: Unify delay handling for reset and resume 2023-03-22 13:28:09 +01:00
probe.c
proc.c
quirks.c PCI: Disable ATS for specific Intel IPU E2000 devices 2024-01-15 18:25:29 +01:00
remove.c
rom.c
search.c
setup-bus.c
setup-irq.c
setup-res.c
slot.c
syscall.c
vc.c
vpd.c
xen-pcifront.c