Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp264017lqt; Thu, 6 Jun 2024 02:56:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVHhS3c/Wm2Pgyk1CDkFCsYN+cZjMzMTlyTmdeHYaDEf0VBgXaTa53awlwnxfUN380mq3Jz7Ap4vyNj7+DEvRdmt7pR4ili9sNTXDijEw== X-Google-Smtp-Source: AGHT+IGgu1dCogKO1/Zwzj53J8Be9L67hQKi3u1GwFJOA5rrueFc9mF7kELJFUyBJw8r9QE95Ab2 X-Received: by 2002:a05:620a:1712:b0:792:ea76:133c with SMTP id af79cd13be357-79523d4717cmr586730685a.24.1717667805561; Thu, 06 Jun 2024 02:56:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717667805; cv=pass; d=google.com; s=arc-20160816; b=oJi1ABDNLP148R7pqej/NviG/TmHpOXQp/CHXihv6Cq7ENcDSSUFU8wjwSK56mymnA kwul4+Y2nePWJJi700Q2pSUvgK9hrK7macSKOsOsc3Z0Im/55/wKy6ZcR+cAgq5nE4YM Up+Nyp3IGcbL9LUfzq/y8OfVzUGlHEGYhiqrWKoBHhwOpQc196jm3w5rJGlcz/Dd+kv7 tDyo05ihpfFuAjvJd4/rd3QBef1dDmRTsmMCP7Whdx6KX9BL8XAHVSi5dSa1t3JEVtNA 4oY1Bf+DwQOKNqNNO/0137kNCXf5cB3m5xy76T5xhzuh6pceXzCwga8LgKoZL4jhSXcI qbDg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=q6FdkmT4DFdyuA/nJhZdLMgbso+NmWKDxfZ7lWlQYA8=; fh=v70hRCoWXpbEYwulRt3UNi0x5cBnakpJVSYAFJzDf7A=; b=Ubj83nxqwLgZfGcF3X5vVq1Hc8c9BcjY0KDknpKrLoERDWOTkKJgSIvWNCHJm0m8mS rcLDjcCw8O333ZzP6kukg2qiDsoMDVkmzTAMA7MKV3Wltf1VpabSLK7/KZmXl2Df+piX IAjn7pv3HpYYmXtiN+IVGAYk8DsPzCkbFvKUlVBTS+geAtIzNiS9wHps0Lq1pIoHdCEW jTynINO3IKkgfuAYxZ3qOjBX/BwoV0n+Ui42I1v18xYddLQRmB6C5C2gl6Qyu5tK23Pj mSz1pxXq1QsvSaS4HjAEcsfwSbXAXNRusYsiyA3YQUBHcwosf4Ysy4Ho1Re8Tq4eGqRS 3aGQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bAY09Tb4; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-204071-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204071-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-795333a5a19si99456485a.766.2024.06.06.02.56.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 02:56:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-204071-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bAY09Tb4; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-204071-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204071-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 38E151C24ACC for ; Thu, 6 Jun 2024 09:56:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E708E17FAA3; Thu, 6 Jun 2024 09:56:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="bAY09Tb4" Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4B8FB17F37D for ; Thu, 6 Jun 2024 09:56:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717667796; cv=none; b=YZb9226Q2ChiDYmJ3kerIK1JrLQMqNTtvc6JnGkivo1lXx2ShxFR1jr0JG/U+b5L17D6eCoRTM4s+FPucxmZKUuIW3EJTH7GIHetoijH6T1/aIAI8DTWSlzHWFdFAlCZsD0M+wr+1reGHOVGrrvlFr8egVr0SlEOrzrsKH0hUiU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717667796; c=relaxed/simple; bh=sj8vzD7NOhy+claRmdekzWZavh/1G4/bMZrzTLq/nRQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=DOa0/1mcboM7rU8lUqDGon2IJ0rHN36PEcJXv+4/aS06gYlc9fEmpfkkbYW/MmM/BhhSVqLfFlrvcIurIbDfL9Qm9Fnb5TDQ9Hzxr1qd7EwSkuWsdtpt4qxVE8edbAFyT6dK0RgwSW0u21LoPJI2NBDbVUuuFLa3uKGEMWUPB2k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=bAY09Tb4; arc=none smtp.client-ip=209.85.218.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a68b54577aaso83094166b.3 for ; Thu, 06 Jun 2024 02:56:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717667793; x=1718272593; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=q6FdkmT4DFdyuA/nJhZdLMgbso+NmWKDxfZ7lWlQYA8=; b=bAY09Tb4NFhuSK+deRQVRqsm+e7trcE8jiD/ev5apDlyTFm/2LgLA6AXh6zMxktp17 wv5St14QakA9NfYAa8Ei6oxeT8hcTCIl2QmdsWYGE3t9fvaRWUEyOPOio4AKei5RAVoB N+RD9/134kmgz8drJvNTYQ1YDknZSdUfCaV6kxO7lFNyAb3CwIifPUTG0+c4fR50clfN spPHFHCDJrp5iURQwdyzmWWo7pylNfIEsZR4/9rW9KSaQvNguunOhKtV6qXG+taCLsTC 7FnMX+5KMsaKu5SnG67YhQKud4y9tqKvcXGeBd+t/WpbHFIMCkhLxyoaZIEQi96k2Pj9 9d8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717667793; x=1718272593; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=q6FdkmT4DFdyuA/nJhZdLMgbso+NmWKDxfZ7lWlQYA8=; b=dY3m8Az/1cCrlq3P2Te7hj8Vj3JHU4pT6ntsHEyNZjkdmqchnjz/ZUPuuAT+/tqbKm J0xQfV/j/+iERqhOn3J4X9YnAqB1yLsTLlWBWL7dwt/l72V/fqshI+gMZDPtqiSB/x+m LDF9jpcmwPHKaCx1Y9APMTYX3cwVdAdLN88iUxR16mT19zgCFJj3Hm0mFfgPW0jNtIUb mApoCZjZHMdBgjfOL0NdOt7s3ZustF/iL+5tTh3ocgzo7uuqIP6wPGupjW0n+ZnlTB9u 7XkGCLI8EeBPviKB7r3Ls1AS3/fhlcGO+SXLQitE2lnJcqulypP9IK1LZkExMP4o1mKT j+sg== X-Gm-Message-State: AOJu0YwL+HiyxYjtCLMCplfYCVwWYNWFQx6euWOCQAQfQaK/ejj6NMsB EQB1hzh4bcilkw41eeL8wj2ydVxEt0QhdRmK7wYOJ8/77zoQNSIMdMD29+saM40= X-Received: by 2002:a17:906:2a4e:b0:a68:a52b:7554 with SMTP id a640c23a62f3a-a699fdfef46mr274087166b.66.1717667792592; Thu, 06 Jun 2024 02:56:32 -0700 (PDT) Received: from [192.168.128.139] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6c8070e39bsm72204166b.162.2024.06.06.02.56.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Jun 2024 02:56:32 -0700 (PDT) Message-ID: <4ef1d9a9-6a0e-4324-b6d5-2ae225855b03@linaro.org> Date: Thu, 6 Jun 2024 11:56:29 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/4] arm64: dts: qcom: x1e80100: Add BWMONs To: Sibi Sankar , andersson@kernel.org, djakov@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, srinivas.kandagatla@linaro.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, quic_rgottimu@quicinc.com, quic_kshivnan@quicinc.com, conor+dt@kernel.org, dmitry.baryshkov@linaro.org, abel.vesa@linaro.org References: <20240604011157.2358019-1-quic_sibis@quicinc.com> <20240604011157.2358019-4-quic_sibis@quicinc.com> Content-Language: en-US From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5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nZvhhdfilEDLe0jKJY0RJErbdRHsalwQCrtq/1ewQpMpsRxXzAjgfRN jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20240604011157.2358019-4-quic_sibis@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 4.06.2024 3:11 AM, Sibi Sankar wrote: > Add the CPU and LLCC BWMONs on X1E80100 SoCs. > > Signed-off-by: Sibi Sankar > --- > arch/arm64/boot/dts/qcom/x1e80100.dtsi | 169 +++++++++++++++++++++++++ > 1 file changed, 169 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi > index 1929c34ae70a..d86c4d3be126 100644 > --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi > +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi > @@ -5329,6 +5329,175 @@ cpu_scp_lpri1: scp-sram-section@200 { > }; > }; > > + pmu@24091000 { > + compatible = "qcom,x1e80100-llcc-bwmon", "qcom,sc7280-llcc-bwmon"; > + reg = <0 0x24091000 0 0x1000>; > + > + interrupts = ; > + > + interconnects = <&mc_virt MASTER_LLCC 3 &mc_virt SLAVE_EBI1 3>; QCOM_ICC_TAG_ACTIVE_ONLY [...] > + > + cpu0_bwmon_opp_table: opp-table { > + compatible = "operating-points-v2"; I *think* if you add opp-shared here, you can reference the same OPP table from all 3 BWMONs without anything exploding. Konrad