Skip to contentSkip to conversation

PCI/P2PDMA: Add additional AMD ZEN root ports to the whitelist

PATCH In review Alex Deucher 2 participants 2 messages Apr 3, 2020 – Apr 6, 2020

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

PATCH 1/1 PCI/P2PDMA: Add additional AMD ZEN root ports to the whitelist

According to the hw architect, pre-ZEN parts support p2p writes and ZEN parts support both p2p reads and writes.

Add entries for Zen parts Raven (0x15d0) and Renoir (0x1630).

Cc Christian König <[email protected]>
---
 drivers/pci/p2pdma.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/pci/p2pdma.c +2 -0
index 9a8a38384121..91a4c987399d 100644
@@ -282,6 +282,8 @@ static const struct pci_p2pdma_whitelist_entry {
 } pci_p2pdma_whitelist[] = {
 	/* AMD ZEN */
 	{PCI_VENDOR_ID_AMD,	0x1450,	0},
+	{PCI_VENDOR_ID_AMD,	0x15d0,	0},
+	{PCI_VENDOR_ID_AMD,	0x1630,	0},
 
 	/* Intel Xeon E5/Core i7 */
 	{PCI_VENDOR_ID_INTEL,	0x3c00, REQ_SAME_HOST_BRIDGE},
Signature · 6 lines
2.25.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Acked-by on v1 1/1
#1 lore raw

Am 03.04.20 um 21:38 schrieb Alex Deucher:

Quoted 7 lines

According to the hw architect, pre-ZEN parts support p2p writes and ZEN parts support both p2p reads and writes.

Add entries for Zen parts Raven (0x15d0) and Renoir (0x1630).

Cc Christian König <[email protected]>
Quoted 9 lines
---
  drivers/pci/p2pdma.c | 2 ++
  1 file changed, 2 insertions(+)
drivers/pci/p2pdma.c +0 -0
index 9a8a38384121..91a4c987399d 100644

drivers/pci/p2pdma.c static const struct pci_p2pdma_whitelist_entry { · line 289

Quoted 8 lines
drivers/pci/p2pdma.c +2 -0
@@ -282,6 +282,8 @@ static const struct pci_p2pdma_whitelist_entry {
  } pci_p2pdma_whitelist[] = {
  	/* AMD ZEN */
  	{PCI_VENDOR_ID_AMD,	0x1450,	0},
+	{PCI_VENDOR_ID_AMD,	0x15d0,	0},
+	{PCI_VENDOR_ID_AMD,	0x1630,	0},
 
  	/* Intel Xeon E5/Core i7 */
  	{PCI_VENDOR_ID_INTEL,	0x3c00, REQ_SAME_HOST_BRIDGE},

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx