Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2250147ybh; Fri, 24 Jul 2020 08:07:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2M0xYAap6vF9AJaHiayHgV4rQfNu79+G50gruyeLN00PPmNP2UcZCdI6Q8feklF6rYQ3/ X-Received: by 2002:a17:906:36da:: with SMTP id b26mr835535ejc.45.1595603241579; Fri, 24 Jul 2020 08:07:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595603241; cv=none; d=google.com; s=arc-20160816; b=RY+Xirt7BsmxiVfWAAN5hm9CjtrnBTyx9aHn/ZmOsJmlAdzCZ9R2r4r8H0Gf3V6IJi SEpjwIgo358lXfQX+ZXssPCsYX4XaQ4tjIYYxeRMVE7YJds5fKg293rdRio204FeB4yn pM69aUJVH+eftEIKPcAkjXq3O2mbSadZsERNWYL+rF0eFcsVl6Uk1HSlr5/gJ41iQwoC 1BHdv+rc7/B/CEaYaCOSbbX2GeYs5BF7sQXAhuICXXNXzsi50aGdb0nYlrq5J/yuS0Oe WcDF15BTzUda6AiayFpG8E3sN55/3hq/BKPT182EPW06/SNLpjdMI7tDmY9qU7UOCAEF JXyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=Q7ydMYtzy6XOkUtXldbE3+MfayorPB0/1fE96I9vmb4=; b=rv/cUj8SU6iVVs1fp3w6NeX3e4OLVSB9K28I7VUMPlGI6JYTz2DJVYNItTmMY+Czt2 nmJbE7o/SScSJycj+dbFYQHcLEC4ze6FW7kshvc/TStOAaMwr9/AWUZzHmjp7fZNa4EC z4bOQhf7p+SCz+bxGfM9pthjDs21rG9Qqw252AzcqaVeQPQP5AEtVEAIhggFVzSMc2kr B1Xxwsiil2kZ6Lwbn719pjcXmF2QuhmFzzfoTmFfcIr5GrdLby9KU0rKcpho7v0zovO3 Re0xgzGQvOLfk/xMIO94itiGOpDLS/jqJgMEtkOQuAUQl0gRieoSEMfXWsCbjOawrrC2 XFUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YsjxJOVk; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yd22si764891ejb.458.2020.07.24.08.06.53; Fri, 24 Jul 2020 08:07:21 -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=@kernel.org header.s=default header.b=YsjxJOVk; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726704AbgGXPGn (ORCPT + 99 others); Fri, 24 Jul 2020 11:06:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:40388 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726424AbgGXPGn (ORCPT ); Fri, 24 Jul 2020 11:06:43 -0400 Received: from localhost (mobile-166-175-191-139.mycingular.net [166.175.191.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7B81120714; Fri, 24 Jul 2020 15:06:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595603202; bh=d/lHftCugyAGXbmWZxAljFlvx4t6XIizbWGk9XJGek8=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=YsjxJOVkT3utZoAopAiM9AzCy9/gsq8e90vIYnS8HCmi3TKoHyfjf4ovxvridIluu oK0BfZXwVAPelnhcd/bQh4flU8Kxyvq1XaJ5KmGJEvPaAPjLA+qA8kgJPKYnLQdIfr rDiTawY8yno4O21e5vcgirMSF5vKuAezym4//HAk= Date: Fri, 24 Jul 2020 10:06:41 -0500 From: Bjorn Helgaas To: Logan Gunthorpe Cc: Alex Deucher , LKML , Linux PCI , Bjorn Helgaas , Christian =?iso-8859-1?Q?K=F6nig?= , Huang Rui , Andrew Maier , "H. Peter Anvin" Subject: Re: [PATCH] PCI/P2PDMA: Add AMD Zen 2 root complex to the list of allowed bridges Message-ID: <20200724150641.GA1518875@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <89d853d1-9e45-1ba5-5be7-4bbce79c7fb8@deltatee.com> 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 02:10:52PM -0600, Logan Gunthorpe wrote: > On 2020-07-23 1:57 p.m., Bjorn Helgaas wrote: > > On Thu, Jul 23, 2020 at 02:01:17PM -0400, Alex Deucher wrote: > >> 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?nig > >>> Cc: Huang Rui > >>> Cc: Alex Deucher > >> > >> Starting with Zen, all AMD platforms support P2P for reads and writes. > > > > What's the plan for getting out of the cycle of "update this list for > > every new chip"? Any new _DSMs planned, for instance? > > Well there was an effort to add capabilities in the PCI spec to describe > this but, as far as I know, they never got anywhere, and hardware still > doesn't self describe with this. Any idea what happened? Is there hope for the future? I'm really not happy about signing up for open-ended device-specific patches like this. It's certainly not in the plug and play spirit that has made PCI successful. I know, preaching to the choir here. Bjorn