Re: [PATCH v2] PCI: mediatek: Clear interrupt status before dispatching handler

From: Greg KH
Date: Thu Feb 10 2022 - 01:51:21 EST


On Thu, Feb 10, 2022 at 09:21:25AM +0800, qizhong cheng wrote:
> We found a failure when used iperf tool for wifi performance testing,
> there are some MSIs received while clearing the interrupt status,
> these MSIs cannot be serviced.
>
> The interrupt status can be cleared even the MSI status still remaining,
> as an edge-triggered interrupts, its interrupt status should be cleared
> before dispatching to the handler of device.
>
> Signed-off-by: qizhong cheng <qizhong.cheng@xxxxxxxxxxxx>
> ---
> v2:
> - Update the subject line.
> - Improve the commit log and code comments.
>
> drivers/pci/controller/pcie-mediatek.c | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
>

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.

</formletter>