Commit 7d5b10fc authored by Alex Deucher's avatar Alex Deucher Committed by Bjorn Helgaas
Browse files

PCI/P2PDMA: Add AMD Zen Raven and Renoir Root Ports to whitelist

According to the hardware architect, pre-Zen parts support p2p writes and
Zen parts support both p2p reads and writes.

Add entries for Zen parts Raven (0x15d0) and Renoir (0x1630).

Link: https://lore.kernel.org/r/20200406194201.846411-1-alexander.deucher@amd.com


Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Acked-by: default avatarChristian König <christian.koenig@amd.com>
Acked-by: default avatarHuang Rui <ray.huang@amd.com>
parent 8f3d9f35
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -282,6 +282,8 @@ static const struct pci_p2pdma_whitelist_entry {
} pci_p2pdma_whitelist[] = {
} pci_p2pdma_whitelist[] = {
	/* AMD ZEN */
	/* AMD ZEN */
	{PCI_VENDOR_ID_AMD,	0x1450,	0},
	{PCI_VENDOR_ID_AMD,	0x1450,	0},
	{PCI_VENDOR_ID_AMD,	0x15d0,	0},
	{PCI_VENDOR_ID_AMD,	0x1630,	0},


	/* Intel Xeon E5/Core i7 */
	/* Intel Xeon E5/Core i7 */
	{PCI_VENDOR_ID_INTEL,	0x3c00, REQ_SAME_HOST_BRIDGE},
	{PCI_VENDOR_ID_INTEL,	0x3c00, REQ_SAME_HOST_BRIDGE},