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 D3990C2BD09 for ; Mon, 1 Jul 2024 10:24:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xY8d+HAkWfCBetfPMhE7Q4IYxdRfyfvsMH6WlImrlIc=; b=S/KYRqJu/uW7PrZG+jPvTO1jTI KfvJY56obqdPNHh4PdkCDrPKGstFA2Wi0yfyUhIAHLQVVXYVUtIBoGa3CWbcLjehRp3xaVLMNa4og G55gd/5zn90oKyyFGwhqHONEsGwPGNB3bN6k7gtsAHdYIgu4ZDwXIL2kyd17SV2oMVd16eGi4vaSi r5/x2r2M1XcCvvRvlp4zk2Sy7EV1inn5z//P2QCbfqJGUqHeqTOasZZVh5m5tdcgDckxEfw96oSrP FljzyGaB6EYwfkBbXlfSdlhvPsnzS396VmUAChMWzayqzOtPgwb+m5NmlUGIJN8yuXgnJPqI8/Vl6 t7KYlD2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOECT-00000002eWk-1Ew9; Mon, 01 Jul 2024 10:23:57 +0000 Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOECH-00000002ePD-3SCu for linux-arm-kernel@lists.infradead.org; Mon, 01 Jul 2024 10:23:47 +0000 Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2ec58040f39so27253661fa.2 for ; Mon, 01 Jul 2024 03:23:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719829423; x=1720434223; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=xY8d+HAkWfCBetfPMhE7Q4IYxdRfyfvsMH6WlImrlIc=; b=tsF1vNWwkl5fHbJq73aHTG3RB0xMKB6aSpZ30kNdQEEKlz2oL8rIePA+4gMuslXJCb 4UFYTYJyGQ+ZOyANzTvpnmtC4JNZSdzigmuJrCYjTo1NKzkmxIhnWQ6yxgmicfdPr6l1 bl61acW/AtCpJlcwA68ynKYSq4qZfjZYy29xlorpY7p+djStETjjg/z0qo9lOtEFbGng OaZB4fME7VYCgtVDzY5LK0cTtj2a5UemmxXLk4ezmZyZj3Sz0z4U8lf7pC+AsfOXhxdQ F799hnJiAFDIrYDJLGz1wj0TK0arGY46qnQRau6ZBIhd3fyDq5xnsqdvqLz7jLWLy5Ce /jMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719829423; x=1720434223; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=xY8d+HAkWfCBetfPMhE7Q4IYxdRfyfvsMH6WlImrlIc=; b=piERgsg1qca8hgu8X4EOJPjArhSS3EM79/nLhtK02E77mt5LfZoxgBl7vlij4jKaRe 52mIsah6rmgVi8n5ZLj0u0fi8htivqlXVhDNUq/wnZznxDBUiDDP9YEtqkROcBPwICEA /9MXpX3A04JwVhI6P+kYkXReACZAF9Oeso2J9l8juANZzHtG1IVIZGnbvPknUTP18AI6 XNCGPTjB2gAjrdd++omKkETrsCH61NbSMI4oDPONiHIF+XDQcevgXJY3Izqq8aOygF4N K/ifEodzw/uP1Mk45o2zACTlZ1MG/YXpIniBfA2Ro6PNhNNgQ+RfgZr8vdEGjTqxn0n1 WSqw== X-Forwarded-Encrypted: i=1; AJvYcCV5toMX94AIS4XcBslZhp9Lg38BVOMyzEZy/zhMMVPklaUDX9aO7BAEHyT3nOX6uTLgEKntRKAs1uNI3mGS73hVF4pEFPJd6u56xuoC9DrOH7b6VLE= X-Gm-Message-State: AOJu0YzVmUihrjWRMUmYKLVqeEP98PAHjAbo/ZAToEFrBCVdALl9hK3a ikUzQftkl+ZgmwSNyI7oLvVTntCWAVehcfflvF15rik7MDBSlQmo4yBkDTeWEAg= X-Google-Smtp-Source: AGHT+IHn1x4/AXOS/KKlqIEGbYUZOI8dBCLD27ZLb+p6WIUGXcMNUx34kmR1UcblCSl1Pa/mlV2OGg== X-Received: by 2002:a2e:a912:0:b0:2ec:4d8d:375f with SMTP id 38308e7fff4ca-2ee5e3767fdmr37486211fa.16.1719829423583; Mon, 01 Jul 2024 03:23:43 -0700 (PDT) Received: from myrica ([2.221.137.100]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4256b0621fesm146262315e9.24.2024.07.01.03.23.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jul 2024 03:23:42 -0700 (PDT) Date: Mon, 1 Jul 2024 11:24:00 +0100 From: Jean-Philippe Brucker 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, nicolinc@nvidia.com, ketanp@nvidia.com, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org Subject: Re: [PATCH v2 0/3] Enable PCIe ATS for devicetree boot Message-ID: <20240701102400.GA2414@myrica> References: <20240607105415.2501934-2-jean-philippe@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240607105415.2501934-2-jean-philippe@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240701_032345_888032_8FE1A28B X-CRM114-Status: GOOD ( 15.40 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Joerg, On Fri, Jun 07, 2024 at 11:54:13AM +0100, Jean-Philippe Brucker wrote: > 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. > > Since v1 [1] I added the review and ack tags, thanks all. This should be > ready to go via the IOMMU tree. This series enables ATS for devicetree boot, and is needed on an Nvidia system: https://lore.kernel.org/linux-arm-kernel/ZeJP6CwrZ2FSbTYm@Asurada-Nvidia/ Would you mind picking it up for v6.11? Thanks, Jean > > [1] https://lore.kernel.org/all/20240429113938.192706-2-jean-philippe@linaro.org/ > > 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.45.2 >