Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1516701ybh; Thu, 23 Jul 2020 10:46:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqrxkByKQB+G1GkddIUWL8Yxa6JrJ3Jx9unwGMzWnHySKKq9uy8/mdZ3IkuhCK6hAkY7Vk X-Received: by 2002:a17:906:7857:: with SMTP id p23mr4460193ejm.260.1595526415848; Thu, 23 Jul 2020 10:46:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595526415; cv=none; d=google.com; s=arc-20160816; b=iWfT90CwqfrUYmlUWBseHmsM/B6OMG/eYd/gJ0YdYS3FfQdvOB3Zs3F8H6uAvvqyA+ kl4oNNsBiq2l+UJjm9xXaOUruW59PDmCWmwdcPuaVC8MUouGX1l2gKh0Wo+ipUnyFGX/ SQ65S191rAoGBTjljqdqTbgVLhEpunuDpnXA5GM2h7TvRyPdLPya/uHdk8KnMRBoAXoj 3G4ic0tAb/CoJjCQa6CacOeOQH3Qee5Mv8MD3GiMEWI7jHoDkQ88NLMGljtOwYai/ZsJ FKM5plAbfHdnp6cKgnkzXXwWNU8cY8SV6hB4GT5W11Szo5gHKaM3ijAORa+zI3tGat3g TX9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :mime-version:message-id:date:cc:to:from:dkim-signature; bh=WYB90zp+5qCLQyIuM5+N5//x7Syxs5n6QTMugsNXCVY=; b=mH33kH4KLLkP5AiY2mTPCkx6a4e/KV7snBiZrAzceFVLv5tbInPKnanKSFm5oQk6z5 AKk1HWWa5kjJglH2hQ0pVDg6MdY4LqNCaBcF3lXHP3Is/BZkGjjvt5jLUNJ1HFcc4WKB SLkkrENe8OL7C1kjX7oC677//ZDR0D0xvd+mJMrSt6SG+LrOL8Tv98lPZTJpzLGan5B+ /s8v2xVXmXsehg1G7fGtDWBirZiZkZKMYxtNdAQQbbK88uldGRe4fgo0Wc1Hw5RvlKXG 2qAWWAZoDuwXdyRjuIaSoTm3OYc2Mszb1f3nQBxOL9zMnTTr0Tzd+cCt8p+swYgWAVaT wmsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@deltatee.com header.s=20200525 header.b=mejkwrLJ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k20si2215384ejq.621.2020.07.23.10.46.31; Thu, 23 Jul 2020 10:46:55 -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=fail header.i=@deltatee.com header.s=20200525 header.b=mejkwrLJ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730211AbgGWRnV (ORCPT + 99 others); Thu, 23 Jul 2020 13:43:21 -0400 Received: from ale.deltatee.com ([204.191.154.188]:40720 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726650AbgGWRnV (ORCPT ); Thu, 23 Jul 2020 13:43:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=deltatee.com; s=20200525; h=Subject:Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=WYB90zp+5qCLQyIuM5+N5//x7Syxs5n6QTMugsNXCVY=; b=mejkwrLJr/cA/wcxqQfUnMvJ1N XfQWZVphHajP2ssHNIitBvy6szpeJdGhPOtmOp3mDoXbYGINfRmg3S/8nluReyZp7nLos3qPJeDM/ F4BVorrQrKZ4++32EKHNRPOaX+IiEeIreKcfbyfucSR/GQwStOAs0Ep64+Mcv1tEszRgUnMYa/V5Y TfP7F4tW5drgsHzWpp4cQKyZbI4wn9hKDsnsmgr9p9hZpCd/X13VFCHpWDmCqV2dxyvu003UQwmSb GyNTEfKqHDYZSowGy5wDTfKn9gnKzOBFJJw40rBh4/I44J6F3Gmi5mTDAbxAEOAqhZpEGUx1x5iYH WWjRVtuQ==; Received: from cgy1-donard.priv.deltatee.com ([172.16.1.31]) by ale.deltatee.com with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jyfFW-00087e-SG; Thu, 23 Jul 2020 11:43:20 -0600 Received: from gunthorp by cgy1-donard.priv.deltatee.com with local (Exim 4.92) (envelope-from ) id 1jyfFW-0000jd-9X; Thu, 23 Jul 2020 11:43:18 -0600 From: Logan Gunthorpe To: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Cc: Logan Gunthorpe , Bjorn Helgaas , =?UTF-8?q?Christian=20K=C3=B6nig?= , Huang Rui , Alex Deucher Date: Thu, 23 Jul 2020 11:43:17 -0600 Message-Id: <20200723174317.2783-1-logang@deltatee.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 172.16.1.31 X-SA-Exim-Rcpt-To: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, logang@deltatee.com, bhelgaas@google.com, christian.koenig@amd.com, ray.huang@amd.com, alexdeucher@gmail.com X-SA-Exim-Mail-From: gunthorp@deltatee.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ale.deltatee.com X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.2 Subject: [PATCH] PCI/P2PDMA: Add AMD Zen 2 root complex to the list of allowed bridges X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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önig Cc: Huang Rui Cc: 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