* [PATCH 0/2] arm64: dts: qcom: sm8750: Introduce BWMONs
@ 2025-01-13 21:08 Melody Olvera
2025-01-13 21:08 ` [PATCH 1/2] dt-bindings: interconnect: qcom,msm8998-bwmon: Add SM8750 CPU BWMONs Melody Olvera
2025-01-13 21:08 ` [PATCH 2/2] arm64: dts: qcom: sm8750: Add BWMONs Melody Olvera
0 siblings, 2 replies; 7+ messages in thread
From: Melody Olvera @ 2025-01-13 21:08 UTC (permalink / raw)
To: Krzysztof Kozlowski, Georgi Djakov, Rob Herring, Conor Dooley,
Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski,
Satya Durga Srinivasu Prabhala, Trilok Soni
Cc: linux-arm-msm, linux-pm, devicetree, linux-kernel, Melody Olvera,
Shivnandan Kumar
Document and describe the BWMONs in the SM8750 SoC.
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
---
Shivnandan Kumar (2):
dt-bindings: interconnect: qcom,msm8998-bwmon: Add SM8750 CPU BWMONs
arm64: dts: qcom: sm8750: Add BWMONs
.../bindings/interconnect/qcom,msm8998-bwmon.yaml | 1 +
arch/arm64/boot/dts/qcom/sm8750.dtsi | 74 ++++++++++++++++++++++
2 files changed, 75 insertions(+)
---
base-commit: 37136bf5c3a6f6b686d74f41837a6406bec6b7bc
change-id: 20250107-sm8750_bwmon_master-cd4b8e1080c9
Best regards,
--
Melody Olvera <quic_molvera@quicinc.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/2] dt-bindings: interconnect: qcom,msm8998-bwmon: Add SM8750 CPU BWMONs
2025-01-13 21:08 [PATCH 0/2] arm64: dts: qcom: sm8750: Introduce BWMONs Melody Olvera
@ 2025-01-13 21:08 ` Melody Olvera
2025-01-14 7:16 ` Krzysztof Kozlowski
2025-01-13 21:08 ` [PATCH 2/2] arm64: dts: qcom: sm8750: Add BWMONs Melody Olvera
1 sibling, 1 reply; 7+ messages in thread
From: Melody Olvera @ 2025-01-13 21:08 UTC (permalink / raw)
To: Krzysztof Kozlowski, Georgi Djakov, Rob Herring, Conor Dooley,
Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski,
Satya Durga Srinivasu Prabhala, Trilok Soni
Cc: linux-arm-msm, linux-pm, devicetree, linux-kernel, Melody Olvera,
Shivnandan Kumar
From: Shivnandan Kumar <quic_kshivnan@quicinc.com>
Document the SM8750 BWMONs, which has one instance per cluster of
BWMONv4.
Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
---
Documentation/devicetree/bindings/interconnect/qcom,msm8998-bwmon.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/interconnect/qcom,msm8998-bwmon.yaml b/Documentation/devicetree/bindings/interconnect/qcom,msm8998-bwmon.yaml
index ff24b5ee2c6613ba71f8c5f840e77226131edc3e..83bcf0575cd372926102e2764055c3576822c915 100644
--- a/Documentation/devicetree/bindings/interconnect/qcom,msm8998-bwmon.yaml
+++ b/Documentation/devicetree/bindings/interconnect/qcom,msm8998-bwmon.yaml
@@ -38,6 +38,7 @@ properties:
- qcom,sm8250-cpu-bwmon
- qcom,sm8550-cpu-bwmon
- qcom,sm8650-cpu-bwmon
+ - qcom,sm8750-cpu-bwmon
- qcom,x1e80100-cpu-bwmon
- const: qcom,sdm845-bwmon # BWMON v4, unified register space
- items:
--
2.46.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/2] arm64: dts: qcom: sm8750: Add BWMONs
2025-01-13 21:08 [PATCH 0/2] arm64: dts: qcom: sm8750: Introduce BWMONs Melody Olvera
2025-01-13 21:08 ` [PATCH 1/2] dt-bindings: interconnect: qcom,msm8998-bwmon: Add SM8750 CPU BWMONs Melody Olvera
@ 2025-01-13 21:08 ` Melody Olvera
2025-01-16 17:05 ` Stephan Gerhold
1 sibling, 1 reply; 7+ messages in thread
From: Melody Olvera @ 2025-01-13 21:08 UTC (permalink / raw)
To: Krzysztof Kozlowski, Georgi Djakov, Rob Herring, Conor Dooley,
Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski,
Satya Durga Srinivasu Prabhala, Trilok Soni
Cc: linux-arm-msm, linux-pm, devicetree, linux-kernel, Melody Olvera,
Shivnandan Kumar
From: Shivnandan Kumar <quic_kshivnan@quicinc.com>
Add the CPU BWMONs for SM8750 SoCs.
Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
---
arch/arm64/boot/dts/qcom/sm8750.dtsi | 74 ++++++++++++++++++++++++++++++++++++
1 file changed, 74 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qcom/sm8750.dtsi
index 3bbd7d18598ee0a3a0d5130c03a3166e1fc14d82..09fe3149da1926b74a98280fe209ae7f423db864 100644
--- a/arch/arm64/boot/dts/qcom/sm8750.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi
@@ -2802,6 +2802,80 @@ rpmhpd_opp_super_turbo_no_cpr: opp-480 {
};
};
+ /* cluster0 */
+ pmu@240b3400 {
+ compatible = "qcom,sm8750-cpu-bwmon", "qcom,sdm845-bwmon";
+ reg = <0x0 0x240b3400 0x0 0x600>;
+
+ interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
+
+ interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
+ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
+
+ operating-points-v2 = <&cpu_bwmon_opp_table>;
+
+ cpu_bwmon_opp_table: opp-table {
+ compatible = "operating-points-v2";
+
+ opp-0 {
+ opp-peak-kBps = <800000>;
+ };
+
+ opp-1 {
+ opp-peak-kBps = <2188000>;
+ };
+
+ opp-2 {
+ opp-peak-kBps = <5414400>;
+ };
+
+ opp-3 {
+ opp-peak-kBps = <6220800>;
+ };
+
+ opp-4 {
+ opp-peak-kBps = <6835200>;
+ };
+
+ opp-5 {
+ opp-peak-kBps = <8371200>;
+ };
+
+ opp-6 {
+ opp-peak-kBps = <10944000>;
+ };
+
+ opp-7 {
+ opp-peak-kBps = <12748800>;
+ };
+
+ opp-8 {
+ opp-peak-kBps = <14745600>;
+ };
+
+ opp-9 {
+ opp-peak-kBps = <16896000>;
+ };
+
+ opp-10 {
+ opp-peak-kBps = <19046400>;
+ };
+ };
+ };
+
+ /* cluster1 */
+ pmu@240b7400 {
+ compatible = "qcom,sm8750-cpu-bwmon", "qcom,sdm845-bwmon";
+ reg = <0x0 0x240b7400 0x0 0x600>;
+
+ interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
+
+ interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
+ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
+
+ operating-points-v2 = <&cpu_bwmon_opp_table>;
+ };
+
timer@16800000 {
compatible = "arm,armv7-timer-mem";
reg = <0x0 0x16800000 0x0 0x1000>;
--
2.46.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] dt-bindings: interconnect: qcom,msm8998-bwmon: Add SM8750 CPU BWMONs
2025-01-13 21:08 ` [PATCH 1/2] dt-bindings: interconnect: qcom,msm8998-bwmon: Add SM8750 CPU BWMONs Melody Olvera
@ 2025-01-14 7:16 ` Krzysztof Kozlowski
0 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2025-01-14 7:16 UTC (permalink / raw)
To: Melody Olvera, Georgi Djakov, Rob Herring, Conor Dooley,
Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski,
Satya Durga Srinivasu Prabhala, Trilok Soni
Cc: linux-arm-msm, linux-pm, devicetree, linux-kernel,
Shivnandan Kumar
On 13/01/2025 22:08, Melody Olvera wrote:
> From: Shivnandan Kumar <quic_kshivnan@quicinc.com>
>
> Document the SM8750 BWMONs, which has one instance per cluster of
> BWMONv4.
>
> Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
> Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: sm8750: Add BWMONs
2025-01-13 21:08 ` [PATCH 2/2] arm64: dts: qcom: sm8750: Add BWMONs Melody Olvera
@ 2025-01-16 17:05 ` Stephan Gerhold
2025-02-08 1:48 ` Konrad Dybcio
0 siblings, 1 reply; 7+ messages in thread
From: Stephan Gerhold @ 2025-01-16 17:05 UTC (permalink / raw)
To: Melody Olvera
Cc: Krzysztof Kozlowski, Georgi Djakov, Rob Herring, Conor Dooley,
Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski,
Satya Durga Srinivasu Prabhala, Trilok Soni, linux-arm-msm,
linux-pm, devicetree, linux-kernel, Shivnandan Kumar
On Mon, Jan 13, 2025 at 01:08:18PM -0800, Melody Olvera wrote:
> From: Shivnandan Kumar <quic_kshivnan@quicinc.com>
>
> Add the CPU BWMONs for SM8750 SoCs.
>
> Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
> Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
> ---
> arch/arm64/boot/dts/qcom/sm8750.dtsi | 74 ++++++++++++++++++++++++++++++++++++
> 1 file changed, 74 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qcom/sm8750.dtsi
> index 3bbd7d18598ee0a3a0d5130c03a3166e1fc14d82..09fe3149da1926b74a98280fe209ae7f423db864 100644
> --- a/arch/arm64/boot/dts/qcom/sm8750.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi
> @@ -2802,6 +2802,80 @@ rpmhpd_opp_super_turbo_no_cpr: opp-480 {
> };
> };
>
> + /* cluster0 */
> + pmu@240b3400 {
> + compatible = "qcom,sm8750-cpu-bwmon", "qcom,sdm845-bwmon";
> + reg = <0x0 0x240b3400 0x0 0x600>;
> +
> + interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
> +
> + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
> + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
The start of the interconnect path is QCOM_ICC_TAG_ACTIVE_ONLY, but the
destination is QCOM_ICC_TAG_ALWAYS? This is strange. Interconnect used
by the CPU should be QCOM_ICC_TAG_ACTIVE_ONLY.
Stephan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: sm8750: Add BWMONs
2025-01-16 17:05 ` Stephan Gerhold
@ 2025-02-08 1:48 ` Konrad Dybcio
2025-03-04 23:58 ` Melody Olvera
0 siblings, 1 reply; 7+ messages in thread
From: Konrad Dybcio @ 2025-02-08 1:48 UTC (permalink / raw)
To: Stephan Gerhold, Melody Olvera
Cc: Krzysztof Kozlowski, Georgi Djakov, Rob Herring, Conor Dooley,
Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski,
Satya Durga Srinivasu Prabhala, Trilok Soni, linux-arm-msm,
linux-pm, devicetree, linux-kernel, Shivnandan Kumar
On 16.01.2025 6:05 PM, Stephan Gerhold wrote:
> On Mon, Jan 13, 2025 at 01:08:18PM -0800, Melody Olvera wrote:
>> From: Shivnandan Kumar <quic_kshivnan@quicinc.com>
>>
>> Add the CPU BWMONs for SM8750 SoCs.
>>
>> Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
>> Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
>> ---
>> arch/arm64/boot/dts/qcom/sm8750.dtsi | 74 ++++++++++++++++++++++++++++++++++++
>> 1 file changed, 74 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qcom/sm8750.dtsi
>> index 3bbd7d18598ee0a3a0d5130c03a3166e1fc14d82..09fe3149da1926b74a98280fe209ae7f423db864 100644
>> --- a/arch/arm64/boot/dts/qcom/sm8750.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi
>> @@ -2802,6 +2802,80 @@ rpmhpd_opp_super_turbo_no_cpr: opp-480 {
>> };
>> };
>>
>> + /* cluster0 */
>> + pmu@240b3400 {
>> + compatible = "qcom,sm8750-cpu-bwmon", "qcom,sdm845-bwmon";
>> + reg = <0x0 0x240b3400 0x0 0x600>;
>> +
>> + interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
>> +
>> + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
>> + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
>
> The start of the interconnect path is QCOM_ICC_TAG_ACTIVE_ONLY, but the
> destination is QCOM_ICC_TAG_ALWAYS? This is strange. Interconnect used
> by the CPU should be QCOM_ICC_TAG_ACTIVE_ONLY.
I'm not sure if this is a question, but I second, both should be ACTIVE_ONLY
Konrad
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: sm8750: Add BWMONs
2025-02-08 1:48 ` Konrad Dybcio
@ 2025-03-04 23:58 ` Melody Olvera
0 siblings, 0 replies; 7+ messages in thread
From: Melody Olvera @ 2025-03-04 23:58 UTC (permalink / raw)
To: Konrad Dybcio, Stephan Gerhold
Cc: Krzysztof Kozlowski, Georgi Djakov, Rob Herring, Conor Dooley,
Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski,
Satya Durga Srinivasu Prabhala, Trilok Soni, linux-arm-msm,
linux-pm, devicetree, linux-kernel, Shivnandan Kumar
On 2/7/2025 5:48 PM, Konrad Dybcio wrote:
> On 16.01.2025 6:05 PM, Stephan Gerhold wrote:
>> On Mon, Jan 13, 2025 at 01:08:18PM -0800, Melody Olvera wrote:
>>> From: Shivnandan Kumar <quic_kshivnan@quicinc.com>
>>>
>>> Add the CPU BWMONs for SM8750 SoCs.
>>>
>>> Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
>>> Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
>>> ---
>>> arch/arm64/boot/dts/qcom/sm8750.dtsi | 74 ++++++++++++++++++++++++++++++++++++
>>> 1 file changed, 74 insertions(+)
>>>
>>> diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qcom/sm8750.dtsi
>>> index 3bbd7d18598ee0a3a0d5130c03a3166e1fc14d82..09fe3149da1926b74a98280fe209ae7f423db864 100644
>>> --- a/arch/arm64/boot/dts/qcom/sm8750.dtsi
>>> +++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi
>>> @@ -2802,6 +2802,80 @@ rpmhpd_opp_super_turbo_no_cpr: opp-480 {
>>> };
>>> };
>>>
>>> + /* cluster0 */
>>> + pmu@240b3400 {
>>> + compatible = "qcom,sm8750-cpu-bwmon", "qcom,sdm845-bwmon";
>>> + reg = <0x0 0x240b3400 0x0 0x600>;
>>> +
>>> + interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
>>> +
>>> + interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
>>> + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
>> The start of the interconnect path is QCOM_ICC_TAG_ACTIVE_ONLY, but the
>> destination is QCOM_ICC_TAG_ALWAYS? This is strange. Interconnect used
>> by the CPU should be QCOM_ICC_TAG_ACTIVE_ONLY.
> I'm not sure if this is a question, but I second, both should be ACTIVE_ONLY
Apologies for not getting back to this for a while, but I spoke w some
folks and y'all are right. Will correct.
Thanks,
Melody
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-03-04 23:58 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-13 21:08 [PATCH 0/2] arm64: dts: qcom: sm8750: Introduce BWMONs Melody Olvera
2025-01-13 21:08 ` [PATCH 1/2] dt-bindings: interconnect: qcom,msm8998-bwmon: Add SM8750 CPU BWMONs Melody Olvera
2025-01-14 7:16 ` Krzysztof Kozlowski
2025-01-13 21:08 ` [PATCH 2/2] arm64: dts: qcom: sm8750: Add BWMONs Melody Olvera
2025-01-16 17:05 ` Stephan Gerhold
2025-02-08 1:48 ` Konrad Dybcio
2025-03-04 23:58 ` Melody Olvera
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).