Skip to contentSkip to conversation

PCI/P2PDMA: Add Alibaba T-HEAD Yitian 710 to whitelist

PATCH Applied Feng Tang 4 participants 4 messages Sep 18

Subsystems (2)
lore
Share & tools
lore

Feng Tang

author
#0 lore raw

PATCH 1/1 PCI/P2PDMA: Add Alibaba T-HEAD Yitian 710 to whitelist

Alibaba T-HEAD Yitian 710 surports PCI peer-to-peer transactions. Add it to the P2P whitelist.

2 NVME cards with CMB (Command Memory Buffer) have run p2pmem-test [1] fine, under same root complex and different root complexes.

[1]. https://github.com/sbates130272/p2pmem-test

---
 drivers/pci/p2pdma.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/pci/p2pdma.c +2 -0
index c8c414af7078..beb1fe20c9de 100644
@@ -576,6 +576,8 @@ static const struct pci_p2pdma_whitelist_entry {
 	{PCI_VENDOR_ID_ZHAOXIN, 0x1006, REQ_SAME_HOST_BRIDGE},
 	{PCI_VENDOR_ID_ZHAOXIN, 0x1007, REQ_SAME_HOST_BRIDGE},
 	{PCI_VENDOR_ID_ZHAOXIN, 0x1008, 0},
+	/* Alibaba T-HEAD Yitian 710 CPU */
+	{PCI_VENDOR_ID_ALIBABA, 0x8000, 0},
 	{}
 };
 

base-commit: 2ce4ced05cd7b16f3d3430eac021d6184752175f

Signature · 1 line
2.43.5
#1 lore raw
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 9 lines

Alibaba T-HEAD Yitian 710 surports PCI peer-to-peer transactions. Add it to the P2P whitelist.

2 NVME cards with CMB (Command Memory Buffer) have run p2pmem-test [1] fine, under same root complex and different root complexes.

[1]. https://github.com/sbates130272/p2pmem-test

Sashiko has reviewed this patch and found no issues. It looks great!

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
#3 lore raw
In reply to Feng Tang
Quoted 9 lines · Feng Tang

Alibaba T-HEAD Yitian 710 surports PCI peer-to-peer transactions. Add it to the P2P whitelist.

2 NVME cards with CMB (Command Memory Buffer) have run p2pmem-test [1] fine, under same root complex and different root complexes.

[1]. https://github.com/sbates130272/p2pmem-test

Applied to pci/p2pdma for v7.4, thank you!

Quoted 22 lines
---
 drivers/pci/p2pdma.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/pci/p2pdma.c +2 -0
index c8c414af7078..beb1fe20c9de 100644
@@ -576,6 +576,8 @@ static const struct pci_p2pdma_whitelist_entry {
 	{PCI_VENDOR_ID_ZHAOXIN, 0x1006, REQ_SAME_HOST_BRIDGE},
 	{PCI_VENDOR_ID_ZHAOXIN, 0x1007, REQ_SAME_HOST_BRIDGE},
 	{PCI_VENDOR_ID_ZHAOXIN, 0x1008, 0},
+	/* Alibaba T-HEAD Yitian 710 CPU */
+	{PCI_VENDOR_ID_ALIBABA, 0x8000, 0},
 	{}
 };
 

base-commit: 2ce4ced05cd7b16f3d3430eac021d6184752175f

Signature · 1 line
2.43.5