Skip to contentSkip to conversation

PCI/P2PDMA: Add the remaining Intel Sky Lake-E root ports to the whitelist

PATCH In review Andrew Maier 3 participants 3 messages Feb 7, 2020 – Mar 18, 2020

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

PATCH v2 1/1 PCI/P2PDMA: Add the remaining Intel Sky Lake-E root ports to the whitelist

Add the three remaining Intel Sky Lake-E host root ports to the whitelist of p2pdma.

P2P has been tested and is working on this system.

---
Resending this as I rebased it onto the latest patches.

 drivers/pci/p2pdma.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/pci/p2pdma.c +3 -0
index 9a8a38384121..b73b10bce0df 100644
@@ -291,6 +291,9 @@ static const struct pci_p2pdma_whitelist_entry {
 	{PCI_VENDOR_ID_INTEL,	0x2f01, REQ_SAME_HOST_BRIDGE},
 	/* Intel SkyLake-E */
 	{PCI_VENDOR_ID_INTEL,	0x2030, 0},
+	{PCI_VENDOR_ID_INTEL,	0x2031, 0},
+	{PCI_VENDOR_ID_INTEL,	0x2032, 0},
+	{PCI_VENDOR_ID_INTEL,	0x2033, 0},
 	{PCI_VENDOR_ID_INTEL,	0x2020, 0},
 	{}
 };
Signature · 1 line
2.17.1
maintainer Reviewed-by on v2 1/1
#1 lore raw

+cc Armen

Quoted 8 lines · Andrew Maier

Add the three remaining Intel Sky Lake-E host root ports to the whitelist of p2pdma.

P2P has been tested and is working on this system.

---
Resending this as I rebased it onto the latest patches.

Right, this is the same machine Armen already sent, so I've CC'd him.

Looks like we're just adding the extra possible root ports from the PCI IDs database:

2031 Sky Lake-E PCI Express Root Port B
2032 Sky Lake-E PCI Express Root Port C
2033 Sky Lake-E PCI Express Root Port D

Makes sense to me, thanks,

Quoted 18 lines
 drivers/pci/p2pdma.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/pci/p2pdma.c +3 -0
index 9a8a38384121..b73b10bce0df 100644
@@ -291,6 +291,9 @@ static const struct pci_p2pdma_whitelist_entry {
 	{PCI_VENDOR_ID_INTEL,	0x2f01, REQ_SAME_HOST_BRIDGE},
 	/* Intel SkyLake-E */
 	{PCI_VENDOR_ID_INTEL,	0x2030, 0},
+	{PCI_VENDOR_ID_INTEL,	0x2031, 0},
+	{PCI_VENDOR_ID_INTEL,	0x2032, 0},
+	{PCI_VENDOR_ID_INTEL,	0x2033, 0},
 	{PCI_VENDOR_ID_INTEL,	0x2020, 0},
 	{}
 };
#2 lore raw
In reply to Andrew Maier
Quoted 6 lines · Andrew Maier

Add the three remaining Intel Sky Lake-E host root ports to the whitelist of p2pdma.

P2P has been tested and is working on this system.

Applied with Logan's reviewed-by to pci/p2pdma for v5.7, thanks!

Quoted 22 lines

---
Resending this as I rebased it onto the latest patches.

 drivers/pci/p2pdma.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/pci/p2pdma.c +3 -0
index 9a8a38384121..b73b10bce0df 100644
@@ -291,6 +291,9 @@ static const struct pci_p2pdma_whitelist_entry {
 	{PCI_VENDOR_ID_INTEL,	0x2f01, REQ_SAME_HOST_BRIDGE},
 	/* Intel SkyLake-E */
 	{PCI_VENDOR_ID_INTEL,	0x2030, 0},
+	{PCI_VENDOR_ID_INTEL,	0x2031, 0},
+	{PCI_VENDOR_ID_INTEL,	0x2032, 0},
+	{PCI_VENDOR_ID_INTEL,	0x2033, 0},
 	{PCI_VENDOR_ID_INTEL,	0x2020, 0},
 	{}
 };
Signature · 1 line
2.17.1