2020-02-01 00:24:36

by Andrew Maier

[permalink] [raw]
Subject: [PATCH] PCI/P2PDMA: Add the Intel Sky Lake-E root ports to the whitelist

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

P2P has been tested and is working on this system.

Signed-off-by: Andrew Maier <[email protected]>
---
drivers/pci/p2pdma.c | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/drivers/pci/p2pdma.c b/drivers/pci/p2pdma.c
index 6d6c64415087..d7601a49eb3e 100644
--- a/drivers/pci/p2pdma.c
+++ b/drivers/pci/p2pdma.c
@@ -325,6 +325,11 @@ static const struct pci_p2pdma_whitelist_entry {
/* Intel Xeon E7 v3/Xeon E5 v3/Core i7 */
{PCI_VENDOR_ID_INTEL, 0x2f00, REQ_SAME_HOST_BRIDGE},
{PCI_VENDOR_ID_INTEL, 0x2f01, REQ_SAME_HOST_BRIDGE},
+ /* Intel Sky Lake-E */
+ {PCI_VENDOR_ID_INTEL, 0x2030, REQ_SAME_HOST_BRIDGE},
+ {PCI_VENDOR_ID_INTEL, 0x2031, REQ_SAME_HOST_BRIDGE},
+ {PCI_VENDOR_ID_INTEL, 0x2032, REQ_SAME_HOST_BRIDGE},
+ {PCI_VENDOR_ID_INTEL, 0x2033, REQ_SAME_HOST_BRIDGE},
{}
};

--
2.17.1


2020-02-01 00:26:31

by Logan Gunthorpe

[permalink] [raw]
Subject: Re: [PATCH] PCI/P2PDMA: Add the Intel Sky Lake-E root ports to the whitelist



On 2020-01-31 5:23 p.m., Andrew Maier wrote:
> Add the four Intel Sky Lake-E host root ports to the whitelist of
> p2pdma.
>
> P2P has been tested and is working on this system.
>
> Signed-off-by: Andrew Maier <[email protected]>

Looks good to me, Thanks!

Reviewed-by: Logan Gunthorpe <[email protected]>