lkml.org 
[lkml]   [2020]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.19 221/267] PCI: vmd: Add device id for VMD device 8086:9A0B
    Date
    From: Jon Derrick <jonathan.derrick@intel.com>

    [ Upstream commit ec11e5c213cc20cac5e8310728b06793448b9f6d ]

    This patch adds support for this VMD device which supports the bus
    restriction mode.

    Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
    Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    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 ab36e5ca1aca..b52885020c85 100644
    --- a/drivers/pci/controller/vmd.c
    +++ b/drivers/pci/controller/vmd.c
    @@ -866,6 +866,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 b047b0af530d..8d3b39028968 100644
    --- a/include/linux/pci_ids.h
    +++ b/include/linux/pci_ids.h
    @@ -3003,6 +3003,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.25.1


    \
     
     \ /
      Last update: 2020-06-19 18:14    [W:7.380 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site