iommu/irq_remapping: Consolidate irq domain lookup
authorThomas Gleixner <tglx@linutronix.de>
Wed, 26 Aug 2020 11:16:39 +0000 (13:16 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 16 Sep 2020 14:52:30 +0000 (16:52 +0200)
commit6b6256e616f7e10c4434cfcd32371fc33ca94e48
treef3a99fb618ee2ae110538c81b039c420b1b2d2c3
parent192a99f4bd9d1d546ca276e058761a79af575744
iommu/irq_remapping: Consolidate irq domain lookup

Now that the iommu implementations handle the X86_*_GET_PARENT_DOMAIN
types, consolidate the two getter functions.

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