x86/msi: Consolidate MSI allocation
authorThomas Gleixner <tglx@linutronix.de>
Wed, 26 Aug 2020 11:16:46 +0000 (13:16 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 16 Sep 2020 14:52:35 +0000 (16:52 +0200)
commit3b9c1d377d67072d1d8a2373b4969103cca00dab
treebf9aa6dbe439906e75149bc7ccf30938a6771fc2
parentdfb9eb7cf6cd0c0b0f2a1111fcc47b0a297b097d
x86/msi: Consolidate MSI allocation

Convert the interrupt remap drivers to retrieve the pci device from the msi
descriptor and use info::hwirq.

This is the first step to prepare x86 for using the generic MSI domain ops.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Wei Liu <wei.liu@kernel.org>
Acked-by: Joerg Roedel <jroedel@suse.de>
Link: https://lore.kernel.org/r/20200826112332.466405395@linutronix.de
arch/x86/include/asm/hw_irq.h
arch/x86/kernel/apic/msi.c
drivers/iommu/amd/iommu.c
drivers/iommu/intel/irq_remapping.c
drivers/pci/controller/pci-hyperv.c