Skip to contentSkip to conversation

New VMD Device ids

PATCH In review Sushma Kalakota 3 participants 5 messages Jan 6, 2020 – Jan 7, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover New VMD Device ids

This set adds new VMD device ids

Sushma Kalakota (2):
PCI: vmd: Add device id for VMD device 8086:4C3D
PCI: vmd: Add device id for VMD device 8086:467F

 drivers/pci/controller/vmd.c | 4 ++++
 include/linux/pci_ids.h      | 2 ++
 2 files changed, 6 insertions(+)
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/2 PCI: vmd: Add device id for VMD device 8086:4C3D

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

---
 drivers/pci/controller/vmd.c | 2 ++
 include/linux/pci_ids.h      | 1 +
 2 files changed, 3 insertions(+)
drivers/pci/controller/vmd.c +2 -0
index 212842263f55..2b192e72f550 100644
@@ -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_4C3D),
+		.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,}
include/linux/pci_ids.h +1 -0
index 2302d133af6f..8b3bc4b545b9 100644
@@ -2957,6 +2957,7 @@
 #define PCI_DEVICE_ID_INTEL_SBRIDGE_BR		0x3cf5	/* 13.6 */
 #define PCI_DEVICE_ID_INTEL_SBRIDGE_SAD1	0x3cf6	/* 12.7 */
 #define PCI_DEVICE_ID_INTEL_IOAT_SNB	0x402f
+#define PCI_DEVICE_ID_INTEL_VMD_4C3D	0x4c3d
 #define PCI_DEVICE_ID_INTEL_5100_16	0x65f0
 #define PCI_DEVICE_ID_INTEL_5100_19	0x65f3
 #define PCI_DEVICE_ID_INTEL_5100_21	0x65f5
Signature · 1 line
2.17.1
#2 lore raw

PATCH 2/2 PCI: vmd: Add device id for VMD device 8086:467F

In reply to Sushma Kalakota

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

---
 drivers/pci/controller/vmd.c | 2 ++
 include/linux/pci_ids.h      | 1 +
 2 files changed, 3 insertions(+)
drivers/pci/controller/vmd.c +2 -0
index 2b192e72f550..9433bd387fdd 100644
@@ -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_467F),
+		.driver_data = VMD_FEAT_HAS_BUS_RESTRICTIONS,},
 	{PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VMD_4C3D),
 		.driver_data = VMD_FEAT_HAS_BUS_RESTRICTIONS,},
 	{PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VMD_9A0B),
include/linux/pci_ids.h +1 -0
index 8b3bc4b545b9..aac007c60f87 100644
@@ -2957,6 +2957,7 @@
 #define PCI_DEVICE_ID_INTEL_SBRIDGE_BR		0x3cf5	/* 13.6 */
 #define PCI_DEVICE_ID_INTEL_SBRIDGE_SAD1	0x3cf6	/* 12.7 */
 #define PCI_DEVICE_ID_INTEL_IOAT_SNB	0x402f
+#define PCI_DEVICE_ID_INTEL_VMD_467F	0x467f
 #define PCI_DEVICE_ID_INTEL_VMD_4C3D	0x4c3d
 #define PCI_DEVICE_ID_INTEL_5100_16	0x65f0
 #define PCI_DEVICE_ID_INTEL_5100_19	0x65f3
Signature · 1 line
2.17.1
#3 lore raw

Re: [PATCH 2/2] PCI: vmd: Add device id for VMD device 8086:467F

Quoted 2 lines · Sushma Kalakota

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

Suggested rephrasing to an imperative voice:

Add new VMD device IDs that require the bus restriction mode.

Quoted 2 lines

The first sign-off should be the author, but there's no "From:" header line for Jon. Is the attribution correct?

drivers/pci/controller/vmd.c static const struct pci_device_id vmd_ids[] = { · line 874

Quoted 8 lines
drivers/pci/controller/vmd.c +2 -0
@@ -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_467F),
+		.driver_data = VMD_FEAT_HAS_BUS_RESTRICTIONS,},
 	{PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VMD_4C3D),
 		.driver_data = VMD_FEAT_HAS_BUS_RESTRICTIONS,},

Since you know all the new device ids, might as well collapse this patch with the first one from this series.

#4 lore raw

Re: [PATCH 2/2] PCI: vmd: Add device id for VMD device 8086:467F

Thanks Keith,

Quoted 8 lines · Keith Busch
Quoted 2 lines · Sushma Kalakota

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

Suggested rephrasing to an imperative voice:

Add new VMD device IDs that require the bus restriction mode.

Sure

Quoted 5 lines
Quoted 2 lines

The first sign-off should be the author, but there's no "From:" header line for Jon. Is the attribution correct?

We both worked on this, though it was primarily Sushma. We'll switch the attribution order per
https://www.kernel.org/doc/html/v4.17/process/submitting-patches.html#sign-your-work-the-developer-s-certificate-of-origin

Quoted 12 lines

drivers/pci/controller/vmd.c static const struct pci_device_id vmd_ids[] = { · line 874

Quoted 9 lines
drivers/pci/controller/vmd.c +2 -0
@@ -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_467F),
+		.driver_data = VMD_FEAT_HAS_BUS_RESTRICTIONS,},
 	{PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VMD_4C3D),
 		.driver_data = VMD_FEAT_HAS_BUS_RESTRICTIONS,},

Since you know all the new device ids, might as well collapse this patch with the first one from this series.

Sure