Re: [PATCH 4.14 1/2] PCI: aardvark: Clear all MSIs at setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 10 May 2022 13:58:06 Greg Kroah-Hartman wrote:
> On Tue, May 03, 2022 at 10:54:33PM +0200, Marek Behún wrote:
> > From: Pali Rohár <pali@xxxxxxxxxx>
> > 
> > [ Upstream commit 7d8dc1f7cd007a7ce94c5b4c20d63a8b8d6d7751 ]
> > 
> > We already clear all the other interrupts (ISR0, ISR1, HOST_CTRL_INT).
> > 
> > Define a new macro PCIE_MSI_ALL_MASK and do the same clearing for MSIs,
> > to ensure that we don't start receiving spurious interrupts.
> > 
> > Use this new mask in advk_pcie_handle_msi();
> > 
> > Link: https://lore.kernel.org/r/20211130172913.9727-5-kabel@xxxxxxxxxx
> > Signed-off-by: Pali Rohár <pali@xxxxxxxxxx>
> > Signed-off-by: Marek Behún <kabel@xxxxxxxxxx>
> > Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@xxxxxxx>
> > Signed-off-by: Marek Behún <kabel@xxxxxxxxxx>
> > ---
> >  drivers/pci/host/pci-aardvark.c | 6 ++++--
> >  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> What about 4.19 and 5.4 for this and patch 2/2?  I can't apply this to
> 4.14 without the newer kernels also having it, right?

Do you mean these patches which Marek prepared? Or something else?
https://lore.kernel.org/stable/20220504140719.11066-1-kabel@xxxxxxxxxx/
https://lore.kernel.org/stable/20220504140826.11094-1-kabel@xxxxxxxxxx/

> thanks,
> 
> greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux