From: Keith Busch Date: Mon, 20 Jun 2016 15:39:52 +0000 (-0600) Subject: x86/PCI: VMD: Use x86_vector_domain as parent domain X-Git-Tag: v4.8-rc1~56^2~1^6~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e382dffc904d14cb6e2c31e2eefebdca41343943;p=platform%2Fkernel%2Flinux-exynos.git x86/PCI: VMD: Use x86_vector_domain as parent domain Otherwise APIC code assumes VMD's IRQ domain can be managed by the APIC, resulting in an invalid cast of irq_data during irq_force_complete_move(). Signed-off-by: Jon Derrick Signed-off-by: Keith Busch Signed-off-by: Bjorn Helgaas --- diff --git a/arch/x86/pci/vmd.c b/arch/x86/pci/vmd.c index 7aa80dc..0f77cc1 100644 --- a/arch/x86/pci/vmd.c +++ b/arch/x86/pci/vmd.c @@ -599,7 +599,7 @@ static int vmd_enable_domain(struct vmd_dev *vmd) sd->node = pcibus_to_node(vmd->dev->bus); vmd->irq_domain = pci_msi_create_irq_domain(NULL, &vmd_msi_domain_info, - NULL); + x86_vector_domain); if (!vmd->irq_domain) return -ENODEV;