From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7982DC25B75 for ; Wed, 15 May 2024 18:53:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Owner; bh=AGyqD4RVvgCUf5X6mUghxOxGq56AB1jc71o+9KP+Et0=; b=gL3Tc/xhUUbYI+ IGJVAw//ExdNiA4m0gskjmVI33Qfa0cKGRdAKDP/+AqSz0JolW3eidr1t0RiNskqa6zpUjMdXI1Bp rVfGIZ53pSTUajAPjoTTQVfZgkMROOG+bTeAO3EBlKR/oPr2CAT5drKWsEVE8bG9Ixnhpfj9c0vPi P/hSMBfsn8VtQYTULl2SaeHMc2vFYhxL9ii6ejpfq41Iui4irshHIkkIHJmVt6sQGlvRLacBhfsYu Y5gdwdOA3loLwoYNJnDmMONEh6IbEZcAiypW3lkhFHpkWwAb5ZoTxnCYbKZegsjGwN1nQnjLOnjtV TDYzSK2/XQyxQhEfP4bw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7JkI-00000002cWf-2Sk7; Wed, 15 May 2024 18:52:58 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7Jk5-00000002cQY-2kpY for linux-arm-kernel@lists.infradead.org; Wed, 15 May 2024 18:52:56 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 38A686065D; Wed, 15 May 2024 18:52:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A21DFC116B1; Wed, 15 May 2024 18:52:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715799163; bh=oXhqMtB1Q9CCQXQJ3USVFEUF5oXFqNdWxV7yheTzfmE=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=Gdtro8IGeuHC3mbYxSLKA/eOoXeVh3Pl94ZwCw5Fy55FkfL614rRhNtB4fWjrNolB 8YVaQRmpK855pYgzJmHA8biFzXZOpdgVnWl61xSGwAnq9Y+1k8AHZwWl1my8g4We6E jql3CJ6jIGnTNgMgDFVTcosMDmaCkDmimEj2ZItZ12vKc1XGKp+jZmhOHFaG3lmio4 KtIQsxUzrBwD8//aYNeYVXkeLla0qHtSKP+GnT+zwKTMcnf18sXfW+Ir6AydDwI9aD IgFu07RZLuTo5GmzXDXgMDUmHnWOFikXSpwD9vyOFF7caPRbf0WNZBR5i2QO95qsM6 widVINxqKxP4w== Date: Wed, 15 May 2024 13:52:41 -0500 From: Bjorn Helgaas To: Vidya Sagar Cc: Jean-Philippe Brucker , "will@kernel.org" , "lpieralisi@kernel.org" , "kw@linux.com" , "robh@kernel.org" , "bhelgaas@google.com" , "krzk+dt@kernel.org" , "conor+dt@kernel.org" , "liviu.dudau@arm.com" , "sudeep.holla@arm.com" , "joro@8bytes.org" , "robin.murphy@arm.com" , Nicolin Chen , Ketan Patil , "linux-pci@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "iommu@lists.linux.dev" , "devicetree@vger.kernel.org" Subject: Re: [PATCH 0/3] Enable PCIe ATS for devicetree boot Message-ID: <20240515185241.GA2131384@bhelgaas> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240515_115246_026063_76722C9E X-CRM114-Status: GOOD ( 24.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, May 15, 2024 at 06:28:15PM +0000, Vidya Sagar wrote: > Thanks, Jean for this series. > May I know the current status of it? > Although it was actively reviewed, I see that its current status is set to > 'Handled Elsewhere' in https://patchwork.kernel.org/project/linux-pci/list/?series=848836&state=* > What is the plan to get this series accepted? I probably marked it "handled elsewhere" in the PCI patchwork because it doesn't touch PCI files (the binding has already been reviewed by Rob and Liviu), so I assumed the iommu folks would take the series. I don't know how they track patches. The merge window is open now, so likely they would wait until the next cycle so it would have some time in linux-next, but that's up to them. > > -----Original Message----- > > From: Jean-Philippe Brucker > > Sent: Monday, April 29, 2024 5:10 PM > > To: will@kernel.org; lpieralisi@kernel.org; kw@linux.com; robh@kernel.org; > > bhelgaas@google.com; krzk+dt@kernel.org; conor+dt@kernel.org; > > liviu.dudau@arm.com; sudeep.holla@arm.com; joro@8bytes.org > > Cc: robin.murphy@arm.com; Nicolin Chen ; Ketan Patil > > ; linux-pci@vger.kernel.org; linux-arm- > > kernel@lists.infradead.org; iommu@lists.linux.dev; devicetree@vger.kernel.org; > > Jean-Philippe Brucker > > Subject: [PATCH 0/3] Enable PCIe ATS for devicetree boot > > > > External email: Use caution opening links or attachments > > > > > > Before enabling Address Translation Support (ATS) in endpoints, the OS needs to > > confirm that the Root Complex supports it. Obtain this information from the > > firmware description since there is no architected method. ACPI provides a bit via > > IORT tables, so add the devicetree equivalent. > > > > It was discussed a while ago [1], but at the time only a software model supported > > it. Respin it now that hardware is available [2]. > > > > To test this with the Arm RevC model, enable ATS in the endpoint and note that > > ATS is enabled. Address translation is transparent to the OS. > > > > -C pci.pcie_rc.ahci0.endpoint.ats_supported=1 > > > > $ lspci -s 00:1f.0 -vv > > Capabilities: [100 v1] Address Translation Service (ATS) > > ATSCap: Invalidate Queue Depth: 00 > > ATSCtl: Enable+, Smallest Translation Unit: 00 > > > > > > [1] https://lore.kernel.org/linux-iommu/20200213165049.508908-1-jean- > > philippe@linaro.org/ > > [2] https://lore.kernel.org/linux-arm-kernel/ZeJP6CwrZ2FSbTYm@Asurada- > > Nvidia/ > > > > Jean-Philippe Brucker (3): > > dt-bindings: PCI: generic: Add ats-supported property > > iommu/of: Support ats-supported device-tree property > > arm64: dts: fvp: Enable PCIe ATS for Base RevC FVP > > > > .../devicetree/bindings/pci/host-generic-pci.yaml | 6 ++++++ > > drivers/iommu/of_iommu.c | 9 +++++++++ > > arch/arm64/boot/dts/arm/fvp-base-revc.dts | 1 + > > 3 files changed, 16 insertions(+) > > > > -- > > 2.44.0 > > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel