OSDN Git Service

PCI/MSI: Make arch_restore_msi_irqs() less horrible.
authorThomas Gleixner <tglx@linutronix.de>
Mon, 6 Dec 2021 22:27:42 +0000 (23:27 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 9 Dec 2021 10:52:21 +0000 (11:52 +0100)
commitae72f3156729541581f526b85883ca53a20df2fa
tree0e273426ab3fa800ee1ce2361f04366356b720a9
parent1982afd6c0582c523970f5426cc1f11ef8ead7bd
PCI/MSI: Make arch_restore_msi_irqs() less horrible.

Make arch_restore_msi_irqs() return a boolean which indicates whether the
core code should restore the MSI message or not. Get rid of the indirection
in x86.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com> # PCI
Link: https://lore.kernel.org/r/20211206210224.485668098@linutronix.de
arch/s390/pci/pci_irq.c
arch/x86/include/asm/x86_init.h
arch/x86/include/asm/xen/hypervisor.h
arch/x86/kernel/apic/msi.c
arch/x86/kernel/x86_init.c
arch/x86/pci/xen.c
drivers/pci/msi.c
include/linux/msi.h