dt-bindings: arm: cpus: Extend Qualcomm Oryon compatibles
cover dt-bindings: arm: cpus: Extend Qualcomm Oryon compatibles
The generic Qualcomm Oryon CPU compatible documented in the binding doesn't account for differences between core types and has been deprecated. Introduce core-specific compatibles, based on MIDR part and variant numbers.
Glymur:
MIDR_EL1[PART_NUM] - 0x2
MIDR_EL1[VARIANT] - 0x1/0x2
Kaanapali:
MIDR_EL1[PART_NUM] - 0x2
MIDR_EL1[VARIANT] - 0x2/0x3
Sibi Sankar (3):
dt-bindings: arm: cpus: Extend Qualcomm Oryon compatibles
arm64: dts: qcom: glymur: Fix deprecated cpu compatibles
arm64: dts: qcom: kaanapali: Fix deprecated cpu compatibles
.../devicetree/bindings/arm/cpus.yaml | 7 ++++ arch/arm64/boot/dts/qcom/glymur.dtsi | 36 +++++++++---------- arch/arm64/boot/dts/qcom/kaanapali.dtsi | 16 ++++----- 3 files changed, 33 insertions(+), 26 deletions(-)
base-commit: a0ae2a256046c0c5d3778d1a194ff2e171f16e5f
Signature · 1 line
2.34.1
PATCH 1/3 dt-bindings: arm: cpus: Extend Qualcomm Oryon compatibles
The generic Qualcomm Oryon CPU compatible documented in the binding doesn't account for differences between core types and has been deprecated. Introduce core-specific compatibles, based on MIDR part and variant numbers.
--- Documentation/devicetree/bindings/arm/cpus.yaml | 7 +++++++ 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/arm/cpus.yaml +7 -0
@@ -218,6 +218,13 @@ properties: - qcom,kryo685 - qcom,kryo780 - qcom,scorpion + - qcom,oryon-1-1 + - qcom,oryon-1-2 + - qcom,oryon-1-3 + - qcom,oryon-1-4 + - qcom,oryon-2-1 + - qcom,oryon-2-2 + - qcom,oryon-2-3 - samsung,mongoose-m2 - samsung,mongoose-m3 - samsung,mongoose-m5
Signature · 1 line
2.34.1
PATCH 2/3 arm64: dts: qcom: glymur: Fix deprecated cpu compatibles
In reply to Sibi SankarThe generic Qualcomm Oryon CPU compatible used by the Glymur SoC is deprecated and incorrect since it uses a single compatible to describe two different core variants. It is now replaced with two different core-specific compatibles based on MIDR part and variant number.
CPUS 0-5:
MIDR_EL1[PART_NUM] - 0x2
MIDR_EL1[VARIANT] - 0x2
CPUS 6-17:
MIDR_EL1[PART_NUM] - 0x2
MIDR_EL1[VARIANT] - 0x1
--- arch/arm64/boot/dts/qcom/glymur.dtsi | 36 ++++++++++++++-------------- 1 file changed, 18 insertions(+), 18 deletions(-)
arch/arm64/boot/dts/qcom/glymur.dtsi +18 -18
@@ -33,7 +33,7 @@ cpus { cpu0: cpu@0 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-2"; reg = <0x0 0x0>; enable-method = "psci"; power-domains = <&cpu_pd0>, <&scmi_perf 0>;
@@ -49,7 +49,7 @@ l2_0: l2-cache { cpu1: cpu@100 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-2"; reg = <0x0 0x100>; enable-method = "psci"; power-domains = <&cpu_pd1>, <&scmi_perf 0>;
@@ -59,7 +59,7 @@ cpu1: cpu@100 { cpu2: cpu@200 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-2"; reg = <0x0 0x200>; enable-method = "psci"; power-domains = <&cpu_pd2>, <&scmi_perf 0>;
@@ -69,7 +69,7 @@ cpu2: cpu@200 { cpu3: cpu@300 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-2"; reg = <0x0 0x300>; enable-method = "psci"; power-domains = <&cpu_pd3>, <&scmi_perf 0>;
@@ -79,7 +79,7 @@ cpu3: cpu@300 { cpu4: cpu@400 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-2"; reg = <0x0 0x400>; enable-method = "psci"; power-domains = <&cpu_pd4>, <&scmi_perf 0>;
@@ -89,7 +89,7 @@ cpu4: cpu@400 { cpu5: cpu@500 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-2"; reg = <0x0 0x500>; enable-method = "psci"; power-domains = <&cpu_pd5>, <&scmi_perf 0>;
@@ -99,7 +99,7 @@ cpu5: cpu@500 { cpu6: cpu@10000 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-1"; reg = <0x0 0x10000>; enable-method = "psci"; power-domains = <&cpu_pd6>, <&scmi_perf 1>;
@@ -115,7 +115,7 @@ l2_1: l2-cache { cpu7: cpu@10100 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-1"; reg = <0x0 0x10100>; enable-method = "psci"; power-domains = <&cpu_pd7>, <&scmi_perf 1>;
@@ -125,7 +125,7 @@ cpu7: cpu@10100 { cpu8: cpu@10200 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-1"; reg = <0x0 0x10200>; enable-method = "psci"; power-domains = <&cpu_pd8>, <&scmi_perf 1>;
@@ -135,7 +135,7 @@ cpu8: cpu@10200 { cpu9: cpu@10300 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-1"; reg = <0x0 0x10300>; enable-method = "psci"; power-domains = <&cpu_pd9>, <&scmi_perf 1>;
@@ -145,7 +145,7 @@ cpu9: cpu@10300 { cpu10: cpu@10400 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-1"; reg = <0x0 0x10400>; enable-method = "psci"; power-domains = <&cpu_pd10>, <&scmi_perf 1>;
@@ -155,7 +155,7 @@ cpu10: cpu@10400 { cpu11: cpu@10500 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-1"; reg = <0x0 0x10500>; enable-method = "psci"; power-domains = <&cpu_pd11>, <&scmi_perf 1>;
@@ -165,7 +165,7 @@ cpu11: cpu@10500 { cpu12: cpu@20000 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-1"; reg = <0x0 0x20000>; enable-method = "psci"; power-domains = <&cpu_pd12>, <&scmi_perf 2>;
@@ -181,7 +181,7 @@ l2_2: l2-cache { cpu13: cpu@20100 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-1"; reg = <0x0 0x20100>; enable-method = "psci"; power-domains = <&cpu_pd13>, <&scmi_perf 2>;
@@ -191,7 +191,7 @@ cpu13: cpu@20100 { cpu14: cpu@20200 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-1"; reg = <0x0 0x20200>; enable-method = "psci"; power-domains = <&cpu_pd14>, <&scmi_perf 2>;
@@ -201,7 +201,7 @@ cpu14: cpu@20200 { cpu15: cpu@20300 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-1"; reg = <0x0 0x20300>; enable-method = "psci"; power-domains = <&cpu_pd15>, <&scmi_perf 2>;
@@ -211,7 +211,7 @@ cpu15: cpu@20300 { cpu16: cpu@20400 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-1"; reg = <0x0 0x20400>; enable-method = "psci"; power-domains = <&cpu_pd16>, <&scmi_perf 2>;
@@ -221,7 +221,7 @@ cpu16: cpu@20400 { cpu17: cpu@20500 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-1"; reg = <0x0 0x20500>; enable-method = "psci"; power-domains = <&cpu_pd17>, <&scmi_perf 2>;
Signature · 1 line
2.34.1
PATCH 3/3 arm64: dts: qcom: kaanapali: Fix deprecated cpu compatibles
In reply to Sibi SankarThe generic Qualcomm Oryon CPU compatible used by the Kaanapali SoC is deprecated and incorrect since it uses a single compatible to describe two different core variants. It is now replaced with two different core-specific compatibles based on MIDR part and variant number.
CPUS 0-5:
MIDR_EL1[PART_NUM] - 0x2
MIDR_EL1[VARIANT] - 0x2
CPUS 6-7:
MIDR_EL1[PART_NUM] - 0x2
MIDR_EL1[VARIANT] - 0x3
--- arch/arm64/boot/dts/qcom/kaanapali.dtsi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
arch/arm64/boot/dts/qcom/kaanapali.dtsi +8 -8
@@ -31,7 +31,7 @@ cpus { cpu0: cpu@0 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-2"; reg = <0x0 0x0>; enable-method = "psci"; next-level-cache = <&l2_0>;
@@ -48,7 +48,7 @@ l2_0: l2-cache { cpu1: cpu@100 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-2"; reg = <0x0 0x100>; enable-method = "psci"; next-level-cache = <&l2_0>;
@@ -59,7 +59,7 @@ cpu1: cpu@100 { cpu2: cpu@200 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-2"; reg = <0x0 0x200>; enable-method = "psci"; next-level-cache = <&l2_0>;
@@ -70,7 +70,7 @@ cpu2: cpu@200 { cpu3: cpu@300 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-2"; reg = <0x0 0x300>; enable-method = "psci"; next-level-cache = <&l2_0>;
@@ -81,7 +81,7 @@ cpu3: cpu@300 { cpu4: cpu@400 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-2"; reg = <0x0 0x400>; enable-method = "psci"; next-level-cache = <&l2_0>;
@@ -92,7 +92,7 @@ cpu4: cpu@400 { cpu5: cpu@500 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-2"; reg = <0x0 0x500>; enable-method = "psci"; next-level-cache = <&l2_0>;
@@ -103,7 +103,7 @@ cpu5: cpu@500 { cpu6: cpu@10000 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-3"; reg = <0x0 0x10000>; enable-method = "psci"; next-level-cache = <&l2_1>;
@@ -120,7 +120,7 @@ l2_1: l2-cache { cpu7: cpu@10100 { device_type = "cpu"; - compatible = "qcom,oryon"; + compatible = "qcom,oryon-2-3"; reg = <0x0 0x10100>; enable-method = "psci"; next-level-cache = <&l2_1>;
Signature · 1 line
2.34.1
Quoted 4 lines · Sibi Sankar
The generic Qualcomm Oryon CPU compatible documented in the binding doesn't account for differences between core types and has been deprecated. Introduce core-specific compatibles, based on MIDR part and variant numbers.
What do the "-x-y" stand for? What are their meanings? Your commit msg or comment in the file should explain that briefly.
Quoted 11 lines
Signed-off-by Sibi Sankar <[email protected]>--- Documentation/devicetree/bindings/arm/cpus.yaml | 7 +++++++ 1 file changed, 7 insertions(+)Documentation/devicetree/bindings/arm/cpus.yaml +0
-0
Documentation/devicetree/bindings/arm/cpus.yaml properties: · line 225
Quoted 8 lines
Documentation/devicetree/bindings/arm/cpus.yaml +5
-0@@ -218,6 +218,13 @@ properties: - qcom,kryo685 - qcom,kryo780 - qcom,scorpion + - qcom,oryon-1-1 + - qcom,oryon-1-2 + - qcom,oryon-1-3 + - qcom,oryon-1-4 + - qcom,oryon-2-1
Best regards,
Krzysztof
Re: [PATCH 3/3] arm64: dts: qcom: kaanapali: Fix deprecated cpu compatibles
In reply to Sibi SankarQuoted 10 lines · Sibi Sankar
The generic Qualcomm Oryon CPU compatible used by the Kaanapali SoC is deprecated and incorrect since it uses a single compatible to describe two different core variants. It is now replaced with two different core-specific compatibles based on MIDR part and variant number.
CPUS 0-5:
MIDR_EL1[PART_NUM] -0x2
MIDR_EL1[VARIANT] -0x2
Quoted 7 lines
CPUS 6-7:
MIDR_EL1[PART_NUM] -0x2
MIDR_EL1[VARIANT] -0x3Fixes 2eeb5767d53f ("arm64: dts: qcom: Introduce Kaanapali SoC")Signed-off-by Sibi Sankar <[email protected]>Reviewed-by Konrad Dybcio <[email protected]>
I explained you in off-list communication what you have to do - this MUST go via fixes and you MUST annotate that.
Where did you describe that? Nothing in cover letter, nothing here.
Best regards,
Krzysztof
Re: [PATCH 3/3] arm64: dts: qcom: kaanapali: Fix deprecated cpu compatibles
Quoted 15 lines · Krzysztof Kozlowski
Quoted 14 lines · Sibi Sankar
The generic Qualcomm Oryon CPU compatible used by the Kaanapali SoC is deprecated and incorrect since it uses a single compatible to describe two different core variants. It is now replaced with two different core-specific compatibles based on MIDR part and variant number.
CPUS 0-5:
MIDR_EL1[PART_NUM] -0x2
MIDR_EL1[VARIANT] -0x2CPUS 6-7:
MIDR_EL1[PART_NUM] -0x2
MIDR_EL1[VARIANT] -0x3
Quoted 8 lines
Quoted 3 lines
Fixes 2eeb5767d53f ("arm64: dts: qcom: Introduce Kaanapali SoC")Signed-off-by Sibi Sankar <[email protected]>Reviewed-by Konrad Dybcio <[email protected]>I explained you in off-list communication what you have to do - this MUST go via fixes and you MUST annotate that.
Where did you describe that? Nothing in cover letter, nothing here.
Although then binding should go via fixes but it depends on patch in next branch, so it cannot be done. Sorry, this waited way tooooo long, so you cannot make this change anymore.
Please drop it and you are stuck with the compatible you sent earlier, which reviewers requested multiple times to change.
Best regards,
Krzysztof
Quoted 7 lines · Krzysztof Kozlowski
Quoted 4 lines · Sibi Sankar
The generic Qualcomm Oryon CPU compatible documented in the binding doesn't account for differences between core types and has been deprecated. Introduce core-specific compatibles, based on MIDR part and variant numbers.
What do the "-x-y" stand for? What are their meanings? Your commit msg or comment in the file should explain that briefly.
Thanks for taking time to review the series :)
-x-y stand for -MIDR_EL1[PART_NUM]-MIDR_EL1[VARIANT]. Will add it to the commit message.
Quoted 21 lines
Quoted 10 lines
Signed-off-by Sibi Sankar <[email protected]>--- Documentation/devicetree/bindings/arm/cpus.yaml | 7 +++++++ 1 file changed, 7 insertions(+)Documentation/devicetree/bindings/arm/cpus.yaml +0
-0Documentation/devicetree/bindings/arm/cpus.yaml properties: · line 225
Quoted 8 lines
Documentation/devicetree/bindings/arm/cpus.yaml +5
-0@@ -218,6 +218,13 @@ properties: - qcom,kryo685 - qcom,kryo780 - qcom,scorpion + - qcom,oryon-1-1 + - qcom,oryon-1-2 + - qcom,oryon-1-3 + - qcom,oryon-1-4 + - qcom,oryon-2-1Best regards,
Krzysztof
Re: [PATCH 3/3] arm64: dts: qcom: kaanapali: Fix deprecated cpu compatibles
In reply to Krzysztof KozlowskiQuoted 16 lines · Krzysztof Kozlowski
Quoted 15 lines · Krzysztof Kozlowski
Quoted 14 lines · Sibi Sankar
The generic Qualcomm Oryon CPU compatible used by the Kaanapali SoC is deprecated and incorrect since it uses a single compatible to describe two different core variants. It is now replaced with two different core-specific compatibles based on MIDR part and variant number.
CPUS 0-5:
MIDR_EL1[PART_NUM] -0x2
MIDR_EL1[VARIANT] -0x2CPUS 6-7:
MIDR_EL1[PART_NUM] -0x2
MIDR_EL1[VARIANT] -0x3
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Fixes 2eeb5767d53f ("arm64: dts: qcom: Introduce Kaanapali SoC")Signed-off-by Sibi Sankar <[email protected]>Reviewed-by Konrad Dybcio <[email protected]>I explained you in off-list communication what you have to do - this MUST go via fixes and you MUST annotate that.
Where did you describe that? Nothing in cover letter, nothing here.
IIRC, you said this can't go in and later remembered that it's still only in a rc and said it can go in. You then asked me to make sure the commit message described the fix. Anyway it looks like I missed your comment on funneling it through the current rc.
Quoted 2 lines
Although then binding should go via fixes but it depends on patch in next branch, so it cannot be done. Sorry, this waited way tooooo long,
By depends on linux-next, are you referring to the glymur device tree change part of the series? I can always drop that in the next re-spin though.
Quoted 7 lines
so you cannot make this change anymore.
Please drop it and you are stuck with the compatible you sent earlier, which reviewers requested multiple times to change.
Best regards,
Krzysztof
Re: [PATCH 3/3] arm64: dts: qcom: kaanapali: Fix deprecated cpu compatibles
Quoted 34 lines · Sibi Sankar
Quoted 16 lines · Krzysztof Kozlowski
Quoted 15 lines · Krzysztof Kozlowski
Quoted 14 lines · Sibi Sankar
The generic Qualcomm Oryon CPU compatible used by the Kaanapali SoC is deprecated and incorrect since it uses a single compatible to describe two different core variants. It is now replaced with two different core-specific compatibles based on MIDR part and variant number.
CPUS 0-5:
MIDR_EL1[PART_NUM] -0x2
MIDR_EL1[VARIANT] -0x2CPUS 6-7:
MIDR_EL1[PART_NUM] -0x2
MIDR_EL1[VARIANT] -0x3Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Fixes 2eeb5767d53f ("arm64: dts: qcom: Introduce Kaanapali SoC")Signed-off-by Sibi Sankar <[email protected]>Reviewed-by Konrad Dybcio <[email protected]>I explained you in off-list communication what you have to do - this MUST go via fixes and you MUST annotate that.
Where did you describe that? Nothing in cover letter, nothing here.
IIRC, you said this can't go in and later remembered that it's still only in a rc and said it can go in. You then asked me to make sure the commit message described the fix. Anyway it looks like I missed your comment on funneling it through the current rc.
Quoted 7 lines
Quoted 2 lines
Although then binding should go via fixes but it depends on patch in next branch, so it cannot be done. Sorry, this waited way tooooo long,
By depends on linux-next, are you referring to the glymur device tree change part of the series? I can always drop that in the next re-spin though.
No, I meant the patch deprecating Oryon compatible.
Best regards,
Krzysztof
Re: [PATCH 3/3] arm64: dts: qcom: kaanapali: Fix deprecated cpu compatibles
Quoted 33 lines · Krzysztof Kozlowski
Quoted 32 lines · Sibi Sankar
Quoted 16 lines · Krzysztof Kozlowski
Quoted 15 lines · Krzysztof Kozlowski
Quoted 14 lines · Sibi Sankar
The generic Qualcomm Oryon CPU compatible used by the Kaanapali SoC is deprecated and incorrect since it uses a single compatible to describe two different core variants. It is now replaced with two different core-specific compatibles based on MIDR part and variant number.
CPUS 0-5:
MIDR_EL1[PART_NUM] -0x2
MIDR_EL1[VARIANT] -0x2CPUS 6-7:
MIDR_EL1[PART_NUM] -0x2
MIDR_EL1[VARIANT] -0x3Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Fixes 2eeb5767d53f ("arm64: dts: qcom: Introduce Kaanapali SoC")Signed-off-by Sibi Sankar <[email protected]>Reviewed-by Konrad Dybcio <[email protected]>I explained you in off-list communication what you have to do - this MUST go via fixes and you MUST annotate that.
Where did you describe that? Nothing in cover letter, nothing here.
IIRC, you said this can't go in and later remembered that it's still only in a rc and said it can go in. You then asked me to make sure the commit message described the fix. Anyway it looks like I missed your comment on funneling it through the current rc.
Quoted 7 lines
Quoted 6 lines
Quoted 2 lines
Although then binding should go via fixes but it depends on patch in next branch, so it cannot be done. Sorry, this waited way tooooo long,
By depends on linux-next, are you referring to the glymur device tree change part of the series? I can always drop that in the next re-spin though.
No, I meant the patch deprecating Oryon compatible.
Thanks for the clarification, will drop kaanapali in the next re-spin.
Quoted 3 lines
Best regards,
Krzysztof