]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita334eb5ee7fcfcf9edb6533317740afbbc6ece20
tree0e273426ab3fa800ee1ce2361f04366356b720a9
parent996ee8ea54b1947b4cf74c9bed7fcdb75e0b8bc6
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