[v3] PCI: vmd: Add two VMD Device IDs
diff mbox series

Message ID 20200108220510.12063-1-sushmax.kalakota@intel.com
State New
Headers show
Series
  • [v3] PCI: vmd: Add two VMD Device IDs
Related show

Commit Message

Sushma Kalakota Jan. 8, 2020, 10:05 p.m. UTC
Add new VMD device IDs that require the bus restriction mode.

Signed-off-by: Sushma Kalakota <sushmax.kalakota@intel.com>
Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
---
v2->v3 Removed from pci_ids.h
v1->v2 Squashed

 drivers/pci/controller/vmd.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Derrick, Jonathan Jan. 28, 2020, 4:50 p.m. UTC | #1
Gentle reminder this one's good to go

On Wed, 2020-01-08 at 15:05 -0700, Sushma Kalakota wrote:
> Add new VMD device IDs that require the bus restriction mode.
> 
> Signed-off-by: Sushma Kalakota <sushmax.kalakota@intel.com>
> Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
> ---
> v2->v3 Removed from pci_ids.h
> v1->v2 Squashed
> 
>  drivers/pci/controller/vmd.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/pci/controller/vmd.c b/drivers/pci/controller/vmd.c
> index 212842263f55..c502b6c0daf5 100644
> --- a/drivers/pci/controller/vmd.c
> +++ b/drivers/pci/controller/vmd.c
> @@ -868,6 +868,10 @@ 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, 0x467f),
> +		.driver_data = VMD_FEAT_HAS_BUS_RESTRICTIONS,},
> +	{PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x4c3d),
> +		.driver_data = 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,}
Lorenzo Pieralisi Jan. 28, 2020, 5:41 p.m. UTC | #2
On Tue, Jan 28, 2020 at 04:50:36PM +0000, Derrick, Jonathan wrote:
> Gentle reminder this one's good to go

Applied to pci/vmd, we should be able to squeeze this in v5.6.

Apologies for the delay.

Lorenzo

> On Wed, 2020-01-08 at 15:05 -0700, Sushma Kalakota wrote:
> > Add new VMD device IDs that require the bus restriction mode.
> > 
> > Signed-off-by: Sushma Kalakota <sushmax.kalakota@intel.com>
> > Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
> > ---
> > v2->v3 Removed from pci_ids.h
> > v1->v2 Squashed
> > 
> >  drivers/pci/controller/vmd.c | 4 ++++
> >  1 file changed, 4 insertions(+)
> > 
> > diff --git a/drivers/pci/controller/vmd.c b/drivers/pci/controller/vmd.c
> > index 212842263f55..c502b6c0daf5 100644
> > --- a/drivers/pci/controller/vmd.c
> > +++ b/drivers/pci/controller/vmd.c
> > @@ -868,6 +868,10 @@ 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, 0x467f),
> > +		.driver_data = VMD_FEAT_HAS_BUS_RESTRICTIONS,},
> > +	{PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x4c3d),
> > +		.driver_data = 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,}

Patch
diff mbox series

diff --git a/drivers/pci/controller/vmd.c b/drivers/pci/controller/vmd.c
index 212842263f55..c502b6c0daf5 100644
--- a/drivers/pci/controller/vmd.c
+++ b/drivers/pci/controller/vmd.c
@@ -868,6 +868,10 @@  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, 0x467f),
+		.driver_data = VMD_FEAT_HAS_BUS_RESTRICTIONS,},
+	{PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x4c3d),
+		.driver_data = 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,}