diff options
author | Keith Busch <keith.busch@intel.com> | 2016-06-20 17:39:52 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-06-20 21:32:07 +0200 |
commit | e382dffc904d14cb6e2c31e2eefebdca41343943 (patch) | |
tree | 48d5f5cfd40581d2b40e859802950fc2ccfe7661 /arch/x86/pci/vmd.c | |
parent | x86/PCI: VMD: Use lock save/restore in interrupt enable path (diff) | |
download | linux-e382dffc904d14cb6e2c31e2eefebdca41343943.tar.xz linux-e382dffc904d14cb6e2c31e2eefebdca41343943.zip |
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 <jonathan.derrick@intel.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/x86/pci/vmd.c')
-rw-r--r-- | arch/x86/pci/vmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/pci/vmd.c b/arch/x86/pci/vmd.c index 7aa80dc21445..0f77cc1dbb4e 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; |