]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
parisc: Fix warning at drivers/pci/msi/msi.h:121
authorJohn David Anglin <dave@mx3210.local>
Mon, 1 Jul 2024 13:42:41 +0000 (09:42 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Aug 2024 07:00:43 +0000 (09:00 +0200)
commit 4c29ab84cfec17081aae7a7a28f8d2c93c42dcae upstream.

Fix warning at drivers/pci/msi/msi.h:121.

Recently, I added a PCI to PCIe bridge adaptor and a PCIe NVME card
to my rp3440. Then, I noticed this warning at boot:

 WARNING: CPU: 0 PID: 10 at drivers/pci/msi/msi.h:121 pci_msi_setup_msi_irqs+0x68/0x90
 CPU: 0 PID: 10 Comm: kworker/u32:0 Not tainted 6.9.7-parisc64 #1  Debian 6.9.7-1
 Hardware name: 9000/800/rp3440
 Workqueue: async async_run_entry_fn

We need to select PCI_MSI_ARCH_FALLBACKS when PCI_MSI is selected.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Cc: stable@vger.kernel.org # v6.0+
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/Kconfig

index dc9b902de8ea980203e3254aa870edffecf2b62f..9656e956ed13538f052d14cb020029fb3559ba47 100644 (file)
@@ -86,6 +86,7 @@ config PARISC
        select HAVE_SOFTIRQ_ON_OWN_STACK if IRQSTACKS
        select TRACE_IRQFLAGS_SUPPORT
        select HAVE_FUNCTION_DESCRIPTORS if 64BIT
+       select PCI_MSI_ARCH_FALLBACKS if PCI_MSI
 
        help
          The PA-RISC microprocessor is designed by Hewlett-Packard and used