summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2022-11-25 00:26:08 +0100
committerThomas Gleixner <tglx@linutronix.de>2022-12-05 22:22:33 +0100
commit9a945234abea27d45f8d89e1a1b35ab5bf41dd01 (patch)
treee77923cb2d09a411da113a4612618d6a02d7ce24 /arch/x86/kernel/apic
parent45c0402457c1ed2f07ee32dc129ae710e0dc288c (diff)
downloadlinux-stable-9a945234abea27d45f8d89e1a1b35ab5bf41dd01.tar.gz
linux-stable-9a945234abea27d45f8d89e1a1b35ab5bf41dd01.tar.bz2
linux-stable-9a945234abea27d45f8d89e1a1b35ab5bf41dd01.zip
iommu/vt-d: Switch to MSI parent domains
Remove the global PCI/MSI irqdomain implementation and provide the required MSI parent ops so the PCI/MSI code can detect the new parent and setup per device domains. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Kevin Tian <kevin.tian@intel.com> Acked-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20221124232326.151226317@linutronix.de
Diffstat (limited to 'arch/x86/kernel/apic')
-rw-r--r--arch/x86/kernel/apic/msi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/apic/msi.c b/arch/x86/kernel/apic/msi.c
index db96bfcf61a3..a8dccb0f8c74 100644
--- a/arch/x86/kernel/apic/msi.c
+++ b/arch/x86/kernel/apic/msi.c
@@ -217,6 +217,8 @@ static bool x86_init_dev_msi_info(struct device *dev, struct irq_domain *domain,
/* See msi_set_affinity() for the gory details */
info->flags |= MSI_FLAG_NOMASK_QUIRK;
break;
+ case DOMAIN_BUS_DMAR:
+ break;
default:
WARN_ON_ONCE(1);
return false;