From patchwork Fri Jun 7 10:54:16 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: 13689687 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 DE422C27C55 for ; Fri, 7 Jun 2024 10:58:38 +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=gR5mZJ4ZOHQRA4gK9HCeVdo3+52IpOafAyWjmDdszkA=; b=Zv42W31rhUrN7p F+e7W4Dz6T8m95KWx+zKzTG0FzkZagXQGoY1gC5QpxizUGlLWWcWHdBMKXlDme/vL6GR/xdOWDDFl exEzTjZ2jxVcZBlIaaZSAp8gAQ6cX7g4+Orml2NqWLWFruH+4A80PWDC/CVtVLM5YnNJlcT8KmL0A 6Pd4NOns+1ikatzedDu6xljohN8tm3wm7PkD3IvKar4y1fC5KwjTIgfznW8LOGB/PrkmvJB1GTPku VcYOlfr6zoXg9wHr5WdI+8m37hn73dGdx9AaW/+7LtAV0rdLDxBtnRdkLnDu/PlZtvyv87znAZgYQ LmoZEj2r+mJbsbfcgtPA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sFXIg-0000000DcZ1-2BvB; Fri, 07 Jun 2024 10:58:27 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sFXIa-0000000DcU8-0Agj for linux-arm-kernel@lists.infradead.org; Fri, 07 Jun 2024 10:58:21 +0000 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-35e5604abdcso1950096f8f.0 for ; Fri, 07 Jun 2024 03:58:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717757896; x=1718362696; 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=bjEqBh5QuB3m0cSYJF5Sevhh+bm02dLUsdiKcr4Stbk=; b=c9h9nfjZFBsLm7D2bG4mn5NdTv20ydjf7YfD/SA61F0mvVgUon6sYGz7rpZ0/tOzJj 6MBiA2qOX0uy6CUE6upNQgowEYDRXNBtDQzGAfGRBZAKOi4LRjZ5ZaXCTg0te2J3TSRZ Xvr9kfq9/c/sXTy2NMSlJqEJMytSv6/kyHBGI1Df8/c3G2+YD6i5k2uQhoJwjVzeiu4y lxjBaS/Bb4mWKNxXJwCE29qUe2t2BYfDXR3+FI021ANbaWLC2A6YIyBJXnlbgPywDPRv 5JHFAo42YeHt8ckEv3M2ePVpiSPX5io7oFFGu58xdQylaxzoT3ka43Nbv9J+cOILnqh5 nQQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717757896; x=1718362696; 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=bjEqBh5QuB3m0cSYJF5Sevhh+bm02dLUsdiKcr4Stbk=; b=VzmIiZJf60LP/wvYkmu1Nbl4tsgaIWitV1ocEkEuAcRMIdFIxdTaAbEpft8X1/9P9N swQ0Urp8dEHpBWvXoyhTjJ7OT47hbEkiMwzWFFzpqkTam5bLvffwBki4HHu0jqJQd1Zq K9m6coKG+p8eZgZhWpqcfj8yvCI/4/f4iVVnOaZC43qPrbC3wC9FcrR+qK/2u6I+wSbZ OSa+t/5xm+GhCJlfcKdprZl0G1TbsdSSEgcarEBtwT3BlkaSVoOEbGvPNxkak7YW51Od 0uyRZpa5IoValKtTutZVSfAN7Pzmt876w098SDQPqgU2itjzmoufUuD700dlUM45/xTE T+sg== X-Forwarded-Encrypted: i=1; AJvYcCVlzFRIE1CmHM2u2rP7J8ykTlLR81n5RJ8vbXkSQQxgM8lElsLgMavJ5wtzsOMBzA+nzOVLIhZP6MMb1cQleOG2bhhElEChbi6PJOHcq/m7oalMWWw= X-Gm-Message-State: AOJu0YyU3Vcz5jl3tSR5PG6wSkqZKNv0w6wmWWvjYAlMNhgKwVaKZNvj 61uLhlk5YtES/PD1obu86ITggCKqa1UnsrnpiOoun8imMl/minvbGHUMBX7uYOs= X-Google-Smtp-Source: AGHT+IFX4FLgpNJ8GaYxoZxGPgBzPu85Hq8iJpZp9pD83eICpSj6uwNOOa6+5UgHkLP9J9gGJbKS8w== X-Received: by 2002:a5d:5090:0:b0:35e:ec8f:cb3d with SMTP id ffacd0b85a97d-35ef0926828mr4809560f8f.0.1717757896329; Fri, 07 Jun 2024 03:58:16 -0700 (PDT) Received: from localhost.localdomain ([2.221.137.100]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35ef5fd1c5fsm3739485f8f.113.2024.06.07.03.58.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 03:58:16 -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 v2 3/3] arm64: dts: fvp: Enable PCIe ATS for Base RevC FVP Date: Fri, 7 Jun 2024 11:54:16 +0100 Message-ID: <20240607105415.2501934-5-jean-philippe@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240607105415.2501934-2-jean-philippe@linaro.org> References: <20240607105415.2501934-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-20240607_035820_106313_2DAF3B9D X-CRM114-Status: UNSURE ( 9.71 ) 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. Acked-by: Sudeep Holla Signed-off-by: Jean-Philippe Brucker --- 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 {