mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] PCI/P2PDMA: Add Alibaba T-HEAD Yitian 710 to whitelist
@ 2026-09-18  8:24 Feng Tang
  2026-09-18 15:17 ` Logan Gunthorpe
  2026-09-18 17:33 ` Bjorn Helgaas
  0 siblings, 2 replies; 3+ messages in thread
From: Feng Tang @ 2026-09-18  8:24 UTC (permalink / raw)
  To: Bjorn Helgaas, Logan Gunthorpe
  Cc: Stephen Bates, linux-pci, linux-kernel, 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

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] PCI/P2PDMA: Add Alibaba T-HEAD Yitian 710 to whitelist
  2026-09-18  8:24 [PATCH] PCI/P2PDMA: Add Alibaba T-HEAD Yitian 710 to whitelist Feng Tang
@ 2026-09-18 15:17 ` Logan Gunthorpe
  2026-09-18 17:33 ` Bjorn Helgaas
  1 sibling, 0 replies; 3+ messages in thread
From: Logan Gunthorpe @ 2026-09-18 15:17 UTC (permalink / raw)
  To: Feng Tang, Bjorn Helgaas; +Cc: Stephen Bates, linux-pci, linux-kernel



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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] PCI/P2PDMA: Add Alibaba T-HEAD Yitian 710 to whitelist
  2026-09-18  8:24 [PATCH] PCI/P2PDMA: Add Alibaba T-HEAD Yitian 710 to whitelist Feng Tang
  2026-09-18 15:17 ` Logan Gunthorpe
@ 2026-09-18 17:33 ` Bjorn Helgaas
  1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Helgaas @ 2026-09-18 17:33 UTC (permalink / raw)
  To: Feng Tang
  Cc: Bjorn Helgaas, Logan Gunthorpe, Stephen Bates, linux-pci, linux-kernel

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
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-18 17:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-18  8:24 [PATCH] PCI/P2PDMA: Add Alibaba T-HEAD Yitian 710 to whitelist Feng Tang
2026-09-18 15:17 ` Logan Gunthorpe
2026-09-18 17:33 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®