Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1527662ybh; Thu, 23 Jul 2020 11:04:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwh1zC3ewr+2VOTKNxxPI6GupdtLMW+zFEHJND4QRtynKm8qp5diROKG8nNSYZ8vCUPJhi4 X-Received: by 2002:a17:906:7005:: with SMTP id n5mr5283606ejj.130.1595527458157; Thu, 23 Jul 2020 11:04:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595527458; cv=none; d=google.com; s=arc-20160816; b=zLVjr/clGqmVlKscwGg2moJ0ja4ApFJmSMbLKHIqpWUd/JFIZXgO+if2P3COgpSZao zSNeiKfsciXaaDctjM7J0431OjiiL4bfFfqlPdWllHZSWUZ6PhWuIx7QN/A+YL017MdH aksc9o99e9pGtw+j4QU+injAAfPHePWwKOGmKV0EXFVTtiq88fi3vgOMfA8hs/OjSErp r2o4f0XlvCv4oS1YD3Uwe20H9aBjjMcyxP1r1ezvL4E/AwqEu3DNEhuu4UXY3WMmGnVW AAn7jzrrYHAS9GCABliK6sB2sbOFAo1yIHlEdxCPRKJYJAJEGrIzyHDSmYIai6OumUmD 0dZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=8yHbSVV5kzutzuIpNX/wTS1enK7udX/4bh4EfG9Sut4=; b=GADMy16HoX9rRtnnl+JYnSDLfqny5hj/cPh0NPb7qikbj4qmK1H9ZhXUCdjNuk0DRI L52rt9WgZDFSdgJ2OmqsL9ysTWIWaw4ZGKoNkwTcRwWj6Ui+nrv5dDgDqR/pAlgFUhWR i9/wfJ1k4tHs4W3ne2dnZ0zRcSZlI3ldoIoz/IgBBJDEOzS0rr93C9AkTMJanQ7bmlKZ bKfmrjH4vbtK9w7sdsgsiJu5ygLgVXIdDsrVkYbENa551tDgvpFjB7gHh4xFsQmOvcjW 9Cy2qqgGBS+N6EQYYRvOEZf4ZAueQp3lq3GhZWZHxb1Dxy2gpFEw/oqISoHHbpkclXc+ 7+Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qikiG1vX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v26si2387354edq.507.2020.07.23.11.03.54; Thu, 23 Jul 2020 11:04:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qikiG1vX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726643AbgGWSBa (ORCPT + 99 others); Thu, 23 Jul 2020 14:01:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726349AbgGWSBa (ORCPT ); Thu, 23 Jul 2020 14:01:30 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25682C0619DC; Thu, 23 Jul 2020 11:01:30 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id p14so5392346wmg.1; Thu, 23 Jul 2020 11:01:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=8yHbSVV5kzutzuIpNX/wTS1enK7udX/4bh4EfG9Sut4=; b=qikiG1vXxNsfhotdqn+vee940yZAFWkoaiDPuWO+dupmQ7FbHKHSEDI/OJjbJuFjrl xvRdRI+otw8U7Lr9Fa56KMQ303aXdNWqDxX9G0Ol366hSfcLMirSWAmnaQ1nNaRYM4nr JTMhGM8mhSCxReyiBEXfGRPYWiGqAb5C9EtLNoGXd5HNS+Ff9deTg3+HZ75NZq1AlVBM 3A2zJ7MtUXep6ALlEyS8r26cD3o8DIVFcfQYAMoKvlIUkF89s3q1gOJ78HmNCGs1zgDn LmGGBC+bBqTbxRaIiBjzG0MyFdhv+VWHL/1pTcFcLwZEYsD5sf1yr9kgQHzAltUjeQxy OI3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=8yHbSVV5kzutzuIpNX/wTS1enK7udX/4bh4EfG9Sut4=; b=mtl7wPqdB3yivLgzyKpm1oKxBTbXLzmiJc/7CUydGDX6yeKq1G02WqrobrmzQdxDrc cC875LikYzzmAx6yDc+l/nqpKIpDjmireNfzAR/cSntf9DRhBVxlhUAqjRFeeszisfkH YibIDW8jmVOi+Nic1/oSdBAOJRhowhFQoPNlP4fUEWFd/MpMyuE+h4qINh3RXGUBdVNB 9vbAJhFXFslAIK0WTovehCRkXK2qibce/81tqqJExTs5+Y+EYneVpk1w7rMjDH3y09TY cnx2J2203uRBCfDW2BXWaJJ6Vim82VShM+qcu11l+CHqd9J/xo2YamiRu79aI0E8Hnk9 KuLQ== X-Gm-Message-State: AOAM532Kx7KtAWFQbUoe21xSG2VFbfF9L4gRvmZBKzws55MZoRfJJv/H RjYIWE933QobW2WvJoiX7o53sRSiiAf1Wngz//A= X-Received: by 2002:a7b:c05a:: with SMTP id u26mr5148911wmc.73.1595527288929; Thu, 23 Jul 2020 11:01:28 -0700 (PDT) MIME-Version: 1.0 References: <20200723174317.2783-1-logang@deltatee.com> In-Reply-To: <20200723174317.2783-1-logang@deltatee.com> From: Alex Deucher Date: Thu, 23 Jul 2020 14:01:17 -0400 Message-ID: Subject: Re: [PATCH] PCI/P2PDMA: Add AMD Zen 2 root complex to the list of allowed bridges To: Logan Gunthorpe Cc: LKML , Linux PCI , Bjorn Helgaas , =?UTF-8?Q?Christian_K=C3=B6nig?= , Huang Rui Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 23, 2020 at 1:43 PM Logan Gunthorpe wrote= : > > The AMD Zen 2 root complex (Starship/Matisse) was tested for P2PDMA > transactions between root ports and found to work. Therefore add it > to the list. > > Signed-off-by: Logan Gunthorpe > Cc: Bjorn Helgaas > Cc: Christian K=C3=B6nig > Cc: Huang Rui > Cc: Alex Deucher Starting with Zen, all AMD platforms support P2P for reads and writes. Reviewed-by: Alex Deucher > --- > drivers/pci/p2pdma.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/pci/p2pdma.c b/drivers/pci/p2pdma.c > index e8e444eeb1cd..3d67a1ee083e 100644 > --- a/drivers/pci/p2pdma.c > +++ b/drivers/pci/p2pdma.c > @@ -284,6 +284,8 @@ static const struct pci_p2pdma_whitelist_entry { > {PCI_VENDOR_ID_AMD, 0x1450, 0}, > {PCI_VENDOR_ID_AMD, 0x15d0, 0}, > {PCI_VENDOR_ID_AMD, 0x1630, 0}, > + /* AMD ZEN 2 */ > + {PCI_VENDOR_ID_AMD, 0x1480, 0}, > > /* Intel Xeon E5/Core i7 */ > {PCI_VENDOR_ID_INTEL, 0x3c00, REQ_SAME_HOST_BRIDGE}, > > base-commit: ba47d845d715a010f7b51f6f89bae32845e6acb7 > -- > 2.20.1 >