diff mbox series

PCI/P2PDMA: Add the Intel Sky Lake-E root ports to the whitelist

Message ID 20200201002307.4520-1-andrew.maier@eideticom.com (mailing list archive)
State Accepted, archived
Delegated to: Bjorn Helgaas
Headers show
Series PCI/P2PDMA: Add the Intel Sky Lake-E root ports to the whitelist | expand

Commit Message

Andrew Maier Feb. 1, 2020, 12:23 a.m. UTC
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 <andrew.maier@eideticom.com>
---
 drivers/pci/p2pdma.c | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Logan Gunthorpe Feb. 1, 2020, 12:24 a.m. UTC | #1
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 <andrew.maier@eideticom.com>

Looks good to me, Thanks!

Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
diff mbox series

Patch

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},
 	{}
 };