From patchwork Mon Apr 29 11:39:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Philippe Brucker X-Patchwork-Id: 13646680 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 A6BC5C4345F for ; Mon, 29 Apr 2024 11:43:48 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sd/7HN4/RJ2pc/sMLHN+lkjg/LdnjfZpz/MWZfs4a3k=; b=CyfPWo+H4lwsnE o18mk25At/EIzbZMqpqUljS++st/lDrPI9OCUAwGBl/VrfwSsKqkUg3f/W4p9MwIVMhRfOL8Ogtut Yf3x3TbnqnYVD6aTBPNYsWEj+LPGQwqCyV2vXFNP/RBDHgo7eVrZa7k4Vbs2UD6qfhPPWP81zafwJ Cud4MNdtIm+itS2z8+TZAL47BO+nftvLhHPP+fsZ4ugYYddITdDnYZSN+c5iKwzdk5syzuw1OPUFT YDIJ/tPCyb9D0O2uBIdj5+YJ0/p/IihxHCiEO+UUxM3hrPsZ/bMLto42Y8zg4bQ0eppUpZi4Ih5Jp 6C+hxQJrW6N/axpGyZ0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1PQ1-00000002VBv-0vGB; Mon, 29 Apr 2024 11:43:37 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1PPb-00000002Uzc-1snb for linux-arm-kernel@lists.infradead.org; Mon, 29 Apr 2024 11:43:15 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-41ba1ba55ffso14740915e9.1 for ; Mon, 29 Apr 2024 04:43:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714390989; x=1714995789; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=i14vi0uS6yalE2yHHE98+WWyzuINERvn0mRjSQcogLE=; b=gn6U3aAS4dO3fyXZyF91Fu6oXlqqBAXQ+ssw8/zkP+nV4qiHwOePeQQYa6vIehTN0M AvdzTvKOnhC8qKeHlCT+z7QW6bm4J9BgKxC4wqb+HAh8eiaw2GpBT5b4a0GvM+swYtx1 C5Heh1TBZWweKIZJSVlKClpnYqUsJduTSjOMgwCan01/+f9ITVK5UnB6B5RubvcmhbBE u34KIdZ8OS5idmL9az4v5xMlNO1vRsLf4mogUOd6turHB1zTxH4X67c2XQuOeUcLY1YX MZpuB0PZZxrQRF7X1T2ul23DKHQ+oaFHHYdYb1pWn3es4aySD7lEaOKLBYysPHbGIKSY CwNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714390989; x=1714995789; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=i14vi0uS6yalE2yHHE98+WWyzuINERvn0mRjSQcogLE=; b=DRKvWRu9ip7llbAm4yvf/slfi3JnNf5O0OflgKh4Ez40GpkqggxeHaW8sAbsKlNB7Q 7juxVjElc3AmUuJsSjEnDh+2q9XvbVumXEgpa+lYdklJoZYhux/8bO6GKIkvhU2l4rwr JBf2+D3jTO53S5E/S1TJgqmexDc26ov/OyvmIRLqOkElnxzJ9xh4EUGBINa+a/xd780P bUi7jw+iat+6I56RZmwZuqW4k5k2s47fXAJyIHAd2pv52FY3ZIN2qyaCxQO3TUpuzwUf lR2EXORJ0E2VShz9NlLASAChJ8lS96cMhiD3b+NCWHXx3y6wzyV4bNVASchuTY8nL8CC Ctsw== X-Forwarded-Encrypted: i=1; AJvYcCWNpErqhVCtSGMPXIBjBs3JWCKA5BzOBxcKfC01iyUt0WiL/1f6aW2bULMsaLUivfcVoHwrs2y0japHdzZjJ1+mhatUvwn/WPvJGsFpCh6jeFinLII= X-Gm-Message-State: AOJu0Ywwzt5/vEACLhEndc6/h6fG4eUmzEZOkK1KrCI8gkJri7PummF2 OfqWIsFPAAovkpPItGhpXghswRcIAL1gaCyYpbQuzgQptmDAoDgEZHM13S7+x4U= X-Google-Smtp-Source: AGHT+IEI1UVkZOMPYRMSz4HtjyDrrZTWNzj/RlriUs5QHmYdGK5xHJYWjf4nbA7zpSf33ACYcYdQ4A== X-Received: by 2002:a05:600c:3587:b0:41b:8c5c:31b9 with SMTP id p7-20020a05600c358700b0041b8c5c31b9mr7553097wmq.14.1714390989553; Mon, 29 Apr 2024 04:43:09 -0700 (PDT) Received: from localhost.localdomain ([2.221.137.100]) by smtp.gmail.com with ESMTPSA id j28-20020a05600c1c1c00b0041bfb176a87sm7006611wms.27.2024.04.29.04.43.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 04:43:09 -0700 (PDT) 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, Jean-Philippe Brucker Subject: [PATCH 3/3] arm64: dts: fvp: Enable PCIe ATS for Base RevC FVP Date: Mon, 29 Apr 2024 12:39:39 +0100 Message-ID: <20240429113938.192706-5-jean-philippe@linaro.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240429113938.192706-2-jean-philippe@linaro.org> References: <20240429113938.192706-2-jean-philippe@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240429_044311_522941_A73BB58D X-CRM114-Status: UNSURE ( 9.66 ) X-CRM114-Notice: Please train this message. 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 Declare that the host controller supports ATS, so the OS can enable it for ATS-capable PCIe endpoints. Signed-off-by: Jean-Philippe Brucker Acked-by: Sudeep Holla --- arch/arm64/boot/dts/arm/fvp-base-revc.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/arm/fvp-base-revc.dts b/arch/arm64/boot/dts/arm/fvp-base-revc.dts index 60472d65a3557..85f1c15cc65d0 100644 --- a/arch/arm64/boot/dts/arm/fvp-base-revc.dts +++ b/arch/arm64/boot/dts/arm/fvp-base-revc.dts @@ -243,6 +243,7 @@ pci: pci@40000000 { iommu-map = <0x0 &smmu 0x0 0x10000>; dma-coherent; + ats-supported; }; smmu: iommu@2b400000 {