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

Feng Tang posted 1 patch 6 days, 15 hours ago
drivers/pci/p2pdma.c | 2 ++
1 file changed, 2 insertions(+)
[PATCH] PCI/P2PDMA: Add Alibaba T-HEAD Yitian 710 to whitelist
Posted by Feng Tang 6 days, 15 hours ago
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

Signed-off-by: Feng Tang <feng.tang@linux.alibaba.com>
---
 drivers/pci/p2pdma.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/pci/p2pdma.c b/drivers/pci/p2pdma.c
index c8c414af7078..beb1fe20c9de 100644
--- a/drivers/pci/p2pdma.c
+++ b/drivers/pci/p2pdma.c
@@ -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
-- 
2.43.5
Re: [PATCH] PCI/P2PDMA: Add Alibaba T-HEAD Yitian 710 to whitelist
Posted by Bjorn Helgaas 6 days, 6 hours ago
On Fri, Sep 18, 2026 at 04:24:12PM +0800, Feng Tang wrote:
> 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
> 
> Signed-off-by: Feng Tang <feng.tang@linux.alibaba.com>

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

> ---
>  drivers/pci/p2pdma.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/pci/p2pdma.c b/drivers/pci/p2pdma.c
> index c8c414af7078..beb1fe20c9de 100644
> --- a/drivers/pci/p2pdma.c
> +++ b/drivers/pci/p2pdma.c
> @@ -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
> -- 
> 2.43.5
>
Re: [PATCH] PCI/P2PDMA: Add Alibaba T-HEAD Yitian 710 to whitelist
Posted by Logan Gunthorpe 6 days, 8 hours ago

On 2026-09-18 02:24, Feng Tang wrote:
> 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
> 
> Signed-off-by: Feng Tang <feng.tang@linux.alibaba.com>

Acked-by: Logan Gunthorpe <logang@deltatee.com>