Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp469056rwl; Wed, 29 Mar 2023 04:41:32 -0700 (PDT) X-Google-Smtp-Source: AKy350YGp50YiT7Ygp6aapGnwRrPLVE+LWnMyB1e1hm5qrA5hB+ylVAaip0ifSIT7rFZXrzK1+Jo X-Received: by 2002:a17:907:7b9e:b0:8b1:fc:b06d with SMTP id ne30-20020a1709077b9e00b008b100fcb06dmr22324266ejc.77.1680090091914; Wed, 29 Mar 2023 04:41:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680090091; cv=none; d=google.com; s=arc-20160816; b=feHJTBDuP+W/zDFbBoret4uVdCCGepqTKZ797z5Q5X3/KNwxVutqk0sctXafEd+Tdg gElcahgNjaxcoPNH6NEqikkdLd2/Bv+3a3sfm3yFL330uB1G3Lp9kqUM69CoytfMDgML kuefq8vKs6Kmv+udD4EvCW5NMTR3iJ4PAyVgVnUaapNyEf+aTAG1T/SpCZJyCbDPQcme oh9cx4UwIQFZDbtYgILOE1imu3038LGAZ8Sa2sH/xFKWvDeJMhs1eXxNkYGkLSYUjrh5 IotFcu+dmIxhfVE+AGgPmF+0Bxj1i42SaidOOJHovOkYVcyFE/LXUVeP58yAyzVCQ/UH LUhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=sohlc8aRdt0ptQ3unHlw5QOmftyBVVlEC9VNICwLo1w=; b=BumUuf21E/AV/hXfwtJd1MTW43lId/52kpqU/XOxCZJCLN1TbQB/4Wj4ATrUTAdokA qxyn64z7xDZBW4pcztE8sK+Uh6bqeGP/Gkgj4nrrMa9k9Ga9HhkR3ui0n8RT6iJUSGgR cJaL7+7pMvls2g9Pzbcn7iuYluTvABDubOrPryZC0x6vumv+GS+mj5dcjlpOVVgsAWO0 LSuya0r68Ht05aRz5mhi3CW/0NOOJnd2pNzTIvvUO4Ch/wNm+oIU0kmzFBE9dE0n4jnE 4e2pdir7Jq9Llxsn0WVHoSFb6uPhM/OW0F5B3HXCi0D5M/FVOfPsgZLyvRWg0aeUdFkl zsmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RQ1HZFub; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id og42-20020a1709071dea00b009225220568esi29780412ejc.909.2023.03.29.04.41.06; Wed, 29 Mar 2023 04:41:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RQ1HZFub; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229865AbjC2LdR (ORCPT + 99 others); Wed, 29 Mar 2023 07:33:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229775AbjC2LdO (ORCPT ); Wed, 29 Mar 2023 07:33:14 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4CD740F1 for ; Wed, 29 Mar 2023 04:33:12 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id h25so19690375lfv.6 for ; Wed, 29 Mar 2023 04:33:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680089591; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=sohlc8aRdt0ptQ3unHlw5QOmftyBVVlEC9VNICwLo1w=; b=RQ1HZFubaw3Kwxfm/62gAa93r2wx/Vqmsa/0FzpPQNvdjH1lIynHB0C625AWRk/XYB o9gnX+QmtJ9YUjH2tkx8GgM5DwohBvDHfE7+psBcI7/LA4PKncHMGfd+TSHDVoWRJx8O CI+kuQ8odWQe4lk2Hlst0rDS6seABNQkmoqXlt3QBlbAg/Xdq8dGfbj8q7trmrQiCCrE kPt5w2ObOKUgD0HGk9T7VOY4gURn6FZFzVRQqnh6DTJCn0ylCnZkWfijC6pGs+Bj3HCr Y0kqamI7syOBe46m60O+uLtwsk4BYVEUvqmRoYdFXetRVfqSBAAnVhNO1CvnB7CfJEcW uN+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680089591; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=sohlc8aRdt0ptQ3unHlw5QOmftyBVVlEC9VNICwLo1w=; b=p6f/G6zlx5yTjjN0YqPyx0F6rOUdlFXVaFG8yo2+VvY/XA0t1E0IdHCv0O5S4huSBl vL57ASr2Gy5r0j0juB4OvUMwnCwXkpLsu3J7s7xEYIohk1EHsw0NfP1ha9HVbjTBzdPN M38yB63sx6U3ynPNaq28soK0Xs782LlVVmLqNzAMyLtOhJX8kzppkZ6ewYWEz9MiJpjF W3DbfBuTi4TJ+4ilKTOi5cC6mKsbjtP+xXSC0gDr2E/rX9+vzIeVLfKyzkGL9c6ycQj4 3LQPekWRs5urXv3NuDs5hII7Xr2ydRDsr25M+C5LCAxngBbQtX80Y6Rry+LUMGVw6VJ4 HEqg== X-Gm-Message-State: AAQBX9f1M7uH8hIwVtxxMWw0dM4zZriwEP4tssrNu6TGYAG5MnradOA6 ti2TPoHAm5gSdg+eMNJd8KBt1w== X-Received: by 2002:ac2:4c95:0:b0:4d7:58c8:5f44 with SMTP id d21-20020ac24c95000000b004d758c85f44mr6528158lfl.12.1680089591160; Wed, 29 Mar 2023 04:33:11 -0700 (PDT) Received: from [192.168.1.101] (abxj225.neoplus.adsl.tpnet.pl. [83.9.3.225]) by smtp.gmail.com with ESMTPSA id m18-20020a195212000000b004e95f53adc7sm5445662lfb.27.2023.03.29.04.33.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Mar 2023 04:33:10 -0700 (PDT) Message-ID: Date: Wed, 29 Mar 2023 13:33:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH 5/7] arm64: dts: qcom: sa8775p: add the pcie smmu node Content-Language: en-US To: Bartosz Golaszewski , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Dmitry Baryshkov Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Bartosz Golaszewski References: <20230328193632.226095-1-brgl@bgdev.pl> <20230328193632.226095-6-brgl@bgdev.pl> From: Konrad Dybcio In-Reply-To: <20230328193632.226095-6-brgl@bgdev.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,UPPERCASE_50_75 autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28.03.2023 21:36, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Add the PCIe SMMU node for sa8775p platforms. > > Signed-off-by: Bartosz Golaszewski > --- > arch/arm64/boot/dts/qcom/sa8775p.dtsi | 74 +++++++++++++++++++++++++++ > 1 file changed, 74 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi > index 2343df7e0ea4..9ab630c7d81b 100644 > --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi > +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi > @@ -809,6 +809,80 @@ apps_smmu: iommu@15000000 { > ; > }; > > + pcie_smmu: iommu@15200000 { > + compatible = "qcom,sa8775p-smmu-500", "qcom,smmu-500", "arm,mmu-500"; > + reg = <0x0 0x15200000 0x0 0x800000>; > + #iommu-cells = <2>; > + #global-interrupts = <2>; > + > + interrupts = , > + , That's a lot of interrupts! Reviewed-by: Konrad Dybcio Konrad > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + ; > + }; > + > intc: interrupt-controller@17a00000 { > compatible = "arm,gic-v3"; > reg = <0x0 0x17a00000 0x0 0x10000>, /* GICD */