Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1714271 > unrolled thread

[PATCH v2 3/4] x86/PCI: Use is_vmd rather than relying on the domain number

Started byJon Derrick <jonathan.derrick@intel.com>
First post2017-08-17 20:20 +0200
Last post2017-08-17 20:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 3/4] x86/PCI: Use is_vmd rather than relying on the domain number Jon Derrick <jonathan.derrick@intel.com> - 2017-08-17 20:20 +0200

#1714271 — [PATCH v2 3/4] x86/PCI: Use is_vmd rather than relying on the domain number

FromJon Derrick <jonathan.derrick@intel.com>
Date2017-08-17 20:20 +0200
Subject[PATCH v2 3/4] x86/PCI: Use is_vmd rather than relying on the domain number
Message-ID<ufxyF-7o-1@gated-at.bofh.it>
Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
---
 arch/x86/pci/fixup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/pci/fixup.c b/arch/x86/pci/fixup.c
index ca4b02e5..1ed2fbf 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);
-- 
2.9.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web