diff options
author | Jon Derrick <jonathan.derrick@intel.com> | 2017-08-17 12:10:13 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-08-30 16:41:49 -0500 |
commit | c37f23d44e866d079d30399cb358dd19617562a1 (patch) | |
tree | 846d576d97cb4c9b66017f56a478df011307c6da /arch/x86/pci/fixup.c | |
parent | f1b0e54e16b3db7882b4158ab4a26b87841753fd (diff) | |
download | linux-c37f23d44e866d079d30399cb358dd19617562a1.tar.bz2 |
x86/PCI: Use is_vmd() rather than relying on the domain number
Use the is_vmd() predicate to identify devices below a VMD host rather than
relying on the domain number.
Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/x86/pci/fixup.c')
-rw-r--r-- | arch/x86/pci/fixup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/pci/fixup.c b/arch/x86/pci/fixup.c index 4c2e318845ba..f2228b150faa 100644 --- a/arch/x86/pci/fixup.c +++ b/arch/x86/pci/fixup.c @@ -628,7 +628,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x8c10, quirk_apple_mbp_poweroff); static void quirk_no_aersid(struct pci_dev *pdev) { /* VMD Domain */ - if (pdev->bus->sysdata && pci_domain_nr(pdev->bus) >= 0x10000) + if (is_vmd(pdev->bus)) pdev->bus->bus_flags |= PCI_BUS_FLAGS_NO_AERSID; } DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x2030, quirk_no_aersid); |