[PATCH] PCI/P2PDMA: Add additional AMD ZEN root ports to the whitelist

Alex Deucher alexdeucher at gmail.com
Thu Apr 23 19:48:00 UTC 2020


+ Bjorn

Can chance I can get this picked up for -next?

Thanks,

Alex

On Mon, Apr 6, 2020 at 3:42 PM Alex Deucher <alexdeucher at gmail.com> wrote:
>
> According to the hw 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).
>
> Cc: Christian König <christian.koenig at amd.com>
> Acked-by: Christian König <christian.koenig at amd.com>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> ---
>  drivers/pci/p2pdma.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/pci/p2pdma.c b/drivers/pci/p2pdma.c
> index 9a8a38384121..91a4c987399d 100644
> --- a/drivers/pci/p2pdma.c
> +++ b/drivers/pci/p2pdma.c
> @@ -282,6 +282,8 @@ static const struct pci_p2pdma_whitelist_entry {
>  } pci_p2pdma_whitelist[] = {
>         /* AMD ZEN */
>         {PCI_VENDOR_ID_AMD,     0x1450, 0},
> +       {PCI_VENDOR_ID_AMD,     0x15d0, 0},
> +       {PCI_VENDOR_ID_AMD,     0x1630, 0},
>
>         /* Intel Xeon E5/Core i7 */
>         {PCI_VENDOR_ID_INTEL,   0x3c00, REQ_SAME_HOST_BRIDGE},
> --
> 2.25.1
>


More information about the amd-gfx mailing list