Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2024437rdb; Thu, 21 Sep 2023 06:41:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGFHFsT+/xuHzF+F+NgJCsokBZdogV7ZDnOUyDj0HdqnxT9wp6l2vWHgrriwqao/61qMIml X-Received: by 2002:a05:6a20:5614:b0:14c:d494:77c3 with SMTP id ir20-20020a056a20561400b0014cd49477c3mr4991027pzc.33.1695303701330; Thu, 21 Sep 2023 06:41:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695303701; cv=none; d=google.com; s=arc-20160816; b=Ov+uKrS1K2O9oxCu4S4/kF75SFDRnOZsQ1I33GAbORpszS99gqeU/BqVXZ7XjtPmth Dw/HJ8YHnCSuW7lXrHjdlOxFLfh/Ou70z/QCqSmIRAkMJFNelIPhZGYU000VsvGtiu8O rrWU3677ds09sCiCPmO2NReWrpp6IBlTS31CMXA1W7B9wdNy6ipOT6J2/eCW8VSfZZ21 Q3+suyZiuEfg1ESsUfJyPDCGo/9TwvyiQFq2XpkV7zFpbgLa3A0XkYKNYAx/8g9T5nUF OpsmTBZFQjm7LIW520JXtLc5gIjA+wMusmgf1qCf70l4FDzYW3l5JVRhrAFcMqSRR4Z0 Alkg== 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=9mZqf86pDWOD/601uuBDOEbjatLYGf0C2OZfOrIlKtE=; fh=qWWCpTFvgBH6A/ILdRC0dllDyUfc2lT1JesF8Rp55CE=; b=hsehS8KD4OvrGXShbZdZnq1j9jr8w3FYlvYigMIAmb1HhpDKbWkb30eL1a8vmpg+Mg +Xeuxj+HhY4c311cLn5Lli31PhnSIok6Zm5emnVVultsMv0tLyq89NLfToplM5A2fl2O 2jgmDQvHmrfRkEEMzN0ps2ViFenZ6lNTr7vf69rMrdEehRQcuVaT387CgEfDeBku4htB v5skv+pUWHgK0oCaVOkwZVt75NdWhtNnoI74XAKvdlpSTqSs/Y+ij2tYiMrrr2X6PZ7N jMdkPmVC1aJq6P+O/oogx6I29oG2Sru/Af7QeKh+Z3TEKHPfyZ/dK6Da3cTpZbm7PYiB fTeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kmXu4C8k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id i9-20020a17090ad34900b00276571c0d34si1558111pjx.6.2023.09.21.06.41.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 06:41:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kmXu4C8k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 927B481972D7; Wed, 20 Sep 2023 03:15:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234061AbjITKPJ (ORCPT + 99 others); Wed, 20 Sep 2023 06:15:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233999AbjITKPH (ORCPT ); Wed, 20 Sep 2023 06:15:07 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C2F4AD for ; Wed, 20 Sep 2023 03:15:00 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-986d8332f50so918927266b.0 for ; Wed, 20 Sep 2023 03:15:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695204899; x=1695809699; darn=vger.kernel.org; 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=9mZqf86pDWOD/601uuBDOEbjatLYGf0C2OZfOrIlKtE=; b=kmXu4C8kZ0hGAg1DeVAt7O2XiyWjG3Z16TRyluuSySQJ0sxmuLRTdOJAdK4BRBevyc gNLxDRSGpe1I7ERvpHUzNMVEbsNiKM0qPb8Ut4MNdHp+bZEpFas9FvGpGLqBmcYoetmm DrZom8VzBqvSWRTMxf0iJgTfaj0vQ1oEc9HmJ3d1FB1rbQKz6Oz7adGx5iSJF9SCd67H tkYKRLN+XdPL+BKkNvkzWr4GExQiluuBItwNmocJaIxHQis2vn3oxtSK/lHRvfe0g2BJ XV2NrCpEWa3gQwfMU12DO5Mb5yHATdwk+TvW5C4/T2dWWRh0i5sPYkBiVmK5sXvLpjwJ gw+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695204899; x=1695809699; 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=9mZqf86pDWOD/601uuBDOEbjatLYGf0C2OZfOrIlKtE=; b=Zew98ofaRcjF73UHV1KZilRSePpAVe9tpXiodQY5EPdsUvz+6wHBjWMje+7muCPA/r T2VC0crTnkRIDFa9+rrAFdLUPsec8qaq76cU0rBq6tdCpw0eRTED5zFVOtZxq3VUB7SS z54NkJi0e1w62V3Krw0mr1pkNLF2sxkXbLlc7NxVnE1Tv10s9++2bJ4MJnrAinddDbjT j/rVphzKBGWq2j0M5rhDR9pdhBL1ap24I2yIlf9XuEhxPkHqceW8fq7ED83mWwU4DfA0 ZkBWhS6Iy8eh/7nzGrSJXfEDy9QlCRDAGy423d6bj2yR44Ci8T+2XEPACRA3cxVNCj+O VVaA== X-Gm-Message-State: AOJu0YzYdYWQgJfXOTGAJH5Vo8RO1XDTzXAuMF8T+o4QMz1WUhjD9dnO jgTl274Z2Vd+Eyf0HcN6bqTeNg== X-Received: by 2002:a17:907:a0c6:b0:9a1:688f:cf2d with SMTP id hw6-20020a170907a0c600b009a1688fcf2dmr1475764ejc.39.1695204898449; Wed, 20 Sep 2023 03:14:58 -0700 (PDT) Received: from [172.20.86.172] (static-212-193-78-212.thenetworkfactory.nl. [212.78.193.212]) by smtp.gmail.com with ESMTPSA id re20-20020a170906d8d400b0099bc8bd9066sm9199112ejb.150.2023.09.20.03.14.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Sep 2023 03:14:58 -0700 (PDT) Message-ID: <479ce1da-10e5-589d-cb98-e7fef98c5543@linaro.org> Date: Wed, 20 Sep 2023 12:14:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v3 2/5] arm64: dts: qcom: sm4450: Add apps_rsc and cmd_db node Content-Language: en-US To: Tengfei Fan , agross@kernel.org, andersson@kernel.org, tglx@linutronix.de, maz@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, catalin.marinas@arm.com, will@kernel.org Cc: geert+renesas@glider.be, arnd@arndb.de, neil.armstrong@linaro.org, nfraprado@collabora.com, rafal@milecki.pl, peng.fan@nxp.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, quic_tsoni@quicinc.com, quic_shashim@quicinc.com, quic_kaushalk@quicinc.com, quic_tdas@quicinc.com, quic_tingweiz@quicinc.com, quic_aiquny@quicinc.com, quic_ajipan@quicinc.com, kernel@quicinc.com References: <20230920065459.12738-1-quic_tengfan@quicinc.com> <20230920065459.12738-3-quic_tengfan@quicinc.com> From: Konrad Dybcio In-Reply-To: <20230920065459.12738-3-quic_tengfan@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 20 Sep 2023 03:15:16 -0700 (PDT) On 9/20/23 08:54, Tengfei Fan wrote: > From: Ajit Pandey > > Add apps_rsc node and cmd_db memory region for sm4450. > > Signed-off-by: Ajit Pandey > Signed-off-by: Tengfei Fan > --- > arch/arm64/boot/dts/qcom/sm4450.dtsi | 35 ++++++++++++++++++++++++++++ > 1 file changed, 35 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm4450.dtsi b/arch/arm64/boot/dts/qcom/sm4450.dtsi > index c4e5b33f5169..3d9d3b5e9510 100644 > --- a/arch/arm64/boot/dts/qcom/sm4450.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm4450.dtsi > @@ -5,6 +5,7 @@ > > #include > #include > +#include > > / { > interrupt-parent = <&intc>; > @@ -328,6 +329,18 @@ > }; > }; > > + reserved_memory: reserved-memory { > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + > + aop_cmd_db_mem: cmd-db@80860000 { > + compatible = "qcom,cmd-db"; > + reg = <0x0 0x80860000 0x0 0x20000>; > + no-map; > + }; > + }; > + > soc: soc@0 { > #address-cells = <2>; > #size-cells = <2>; > @@ -419,6 +432,28 @@ > status = "disabled"; > }; > }; > + > + apps_rsc: rsc@17a00000 { > + compatible = "qcom,rpmh-rsc"; > + reg = <0 0x17a00000 0 0x10000>, > + <0 0x17a10000 0 0x10000>, > + <0 0x17a20000 0 0x10000>; 0x0 for consistency > + reg-names = "drv-0", "drv-1", "drv-2"; > + interrupts = , > + , > + ; > + label = "apps_rsc"; > + qcom,tcs-offset = <0xd00>; > + qcom,drv-id = <2>; > + qcom,tcs-config = , , > + , ; You haven't addressed Bjorn's comment about the number of CONTROL_TCSes, are you sure 0 is correct? Konrad