From 50a6d6be110a990ec83c189d8ea0b0c4eda1683d Mon Sep 17 00:00:00 2001 From: Jon Derrick Date: Thu, 16 Apr 2020 16:56:59 +0800 Subject: [PATCH] PCI: vmd: Add device id for VMD device 8086:9A0B BugLink: https://bugs.launchpad.net/bugs/1855954 This patch adds support for this VMD device which supports the bus restriction mode. Signed-off-by: Jon Derrick Signed-off-by: Lorenzo Pieralisi (cherry picked from commit ec11e5c213cc20cac5e8310728b06793448b9f6d) Signed-off-by: You-Sheng Yang Acked-by: Anthony Wong Acked-by: Po-Hsu Lin Signed-off-by: Seth Forshee --- drivers/pci/controller/vmd.c | 2 ++ include/linux/pci_ids.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/pci/controller/vmd.c b/drivers/pci/controller/vmd.c index 15302a17ee3f..6bff95115d28 100644 --- a/drivers/pci/controller/vmd.c +++ b/drivers/pci/controller/vmd.c @@ -868,6 +868,8 @@ static const struct pci_device_id vmd_ids[] = { {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VMD_28C0), .driver_data = VMD_FEAT_HAS_MEMBAR_SHADOW | VMD_FEAT_HAS_BUS_RESTRICTIONS,}, + {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VMD_9A0B), + .driver_data = VMD_FEAT_HAS_BUS_RESTRICTIONS,}, {0,} }; MODULE_DEVICE_TABLE(pci, vmd_ids); diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 2952c48a49a8..bbf936a83c90 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -3007,6 +3007,7 @@ #define PCI_DEVICE_ID_INTEL_84460GX 0x84ea #define PCI_DEVICE_ID_INTEL_IXP4XX 0x8500 #define PCI_DEVICE_ID_INTEL_IXP2800 0x9004 +#define PCI_DEVICE_ID_INTEL_VMD_9A0B 0x9a0b #define PCI_DEVICE_ID_INTEL_S21152BB 0xb152 #define PCI_VENDOR_ID_SCALEMP 0x8686 -- 2.39.5