diff options
author | qizhong cheng <[email protected]> | 2023-12-11 17:49:23 +0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2024-01-09 16:41:23 -0600 |
commit | 4e11c29873a8a296a20f99b3e03095e65ebf897d (patch) | |
tree | f23661404feacf15bb12bf1656d867cb30e4d898 /drivers/fpga/altera-fpga2sdram.c | |
parent | b85ea95d086471afb4ad062012a4d73cd328fa86 (diff) |
PCI: mediatek: Clear interrupt status before dispatching handler
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: 43e6409db64d ("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]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions