Switch MAIN R5F clusters to Split-mode for TI SoCs
Subsystems (2)
v2 cover Switch MAIN R5F clusters to Split-mode for TI SoCs
TI SoCs (J7200, J721E, J721S2 & J784S4) have multiple R5F clusters in the MAIN domain. All of these clusters are configured for LockStep mode at the moment. Switch all of these R5F clusters to Split mode by default to maximize the number of R5F cores.
v2: Changelog:
1) Update commit messages to drop "Lockstep-mode" as default mode for early booted remoteprocs.
Link to v1:
https://lore.kernel.org/all/[email protected]/
Apurva Nandan (1):
arm64: dts: ti: k3-j784s4-main: Switch MAIN R5F clusters to Split-mode
Beleswar Padhi (1):
arm64: dts: ti: k3-j721s2-main: Switch MAIN R5F clusters to Split-mode
Suman Anna (2):
arm64: dts: ti: k3-j7200-main: Switch MAIN R5F cluster to Split-mode
arm64: dts: ti: k3-j721e-main: Switch MAIN R5F clusters to Split-mode
arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 2 +- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 4 ++-- arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 4 ++-- arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-)
Signature · 1 line
2.34.1
PATCH v2 1/4 arm64: dts: ti: k3-j7200-main: Switch MAIN R5F cluster to Split-mode
From: Suman Anna <[email protected]>
J7200 SoCs have one R5F cluster in the MAIN domain, and it is configured for LockStep mode at the moment. Switch the MAIN R5F cluster to Split mode by default to maximize the number of R5F cores.
--- arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/ti/k3-j7200-main.dtsi +1 -1
@@ -1486,7 +1486,7 @@ main_timer19: timer@2530000 { main_r5fss0: r5fss@5c00000 { compatible = "ti,j7200-r5fss"; - ti,cluster-mode = <1>; + ti,cluster-mode = <0>; #address-cells = <1>; #size-cells = <1>; ranges = <0x5c00000 0x00 0x5c00000 0x20000>,
Signature · 1 line
2.34.1
PATCH v2 2/4 arm64: dts: ti: k3-j721e-main: Switch MAIN R5F clusters to Split-mode
In reply to Beleswar PadhiFrom: Suman Anna <[email protected]>
J721E SoCs have two R5F clusters in the MAIN domain, and both of these are configured for LockStep mode at the moment. Switch both of these R5F clusters to Split mode by default to maximize the number of R5F cores.
--- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi +2 -2
@@ -2149,7 +2149,7 @@ watchdog1: watchdog@2210000 { main_r5fss0: r5fss@5c00000 { compatible = "ti,j721e-r5fss"; - ti,cluster-mode = <1>; + ti,cluster-mode = <0>; #address-cells = <1>; #size-cells = <1>; ranges = <0x5c00000 0x00 0x5c00000 0x20000>,
@@ -2189,7 +2189,7 @@ main_r5fss0_core1: r5f@5d00000 { main_r5fss1: r5fss@5e00000 { compatible = "ti,j721e-r5fss"; - ti,cluster-mode = <1>; + ti,cluster-mode = <0>; #address-cells = <1>; #size-cells = <1>; ranges = <0x5e00000 0x00 0x5e00000 0x20000>,
Signature · 1 line
2.34.1
PATCH v2 3/4 arm64: dts: ti: k3-j721s2-main: Switch MAIN R5F clusters to Split-mode
In reply to Beleswar PadhiJ721S2 SoCs have two R5F clusters in the MAIN domain, and both of these are configured for LockStep mode at the moment. Switch both of these R5F clusters to Split mode by default to maximize the number of R5F cores.
--- arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi +2 -2
@@ -1837,7 +1837,7 @@ dss_ports: ports { main_r5fss0: r5fss@5c00000 { compatible = "ti,j721s2-r5fss"; - ti,cluster-mode = <1>; + ti,cluster-mode = <0>; #address-cells = <1>; #size-cells = <1>; ranges = <0x5c00000 0x00 0x5c00000 0x20000>,
@@ -1877,7 +1877,7 @@ main_r5fss0_core1: r5f@5d00000 { main_r5fss1: r5fss@5e00000 { compatible = "ti,j721s2-r5fss"; - ti,cluster-mode = <1>; + ti,cluster-mode = <0>; #address-cells = <1>; #size-cells = <1>; ranges = <0x5e00000 0x00 0x5e00000 0x20000>,
Signature · 1 line
2.34.1
PATCH v2 4/4 arm64: dts: ti: k3-j784s4-main: Switch MAIN R5F clusters to Split-mode
In reply to Beleswar PadhiFrom: Apurva Nandan <[email protected]>
J784S4 SoCs have three R5F clusters in the MAIN domain, and all of these are configured for LockStep mode at the moment. Switch both of these R5F clusters to Split mode by default to maximize the number of R5F cores.
--- arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi +3 -3
@@ -2248,7 +2248,7 @@ ufs@4e84000 { main_r5fss0: r5fss@5c00000 { compatible = "ti,j721s2-r5fss"; - ti,cluster-mode = <1>; + ti,cluster-mode = <0>; #address-cells = <1>; #size-cells = <1>; ranges = <0x5c00000 0x00 0x5c00000 0x20000>,
@@ -2288,7 +2288,7 @@ main_r5fss0_core1: r5f@5d00000 { main_r5fss1: r5fss@5e00000 { compatible = "ti,j721s2-r5fss"; - ti,cluster-mode = <1>; + ti,cluster-mode = <0>; #address-cells = <1>; #size-cells = <1>; ranges = <0x5e00000 0x00 0x5e00000 0x20000>,
@@ -2328,7 +2328,7 @@ main_r5fss1_core1: r5f@5f00000 { main_r5fss2: r5fss@5900000 { compatible = "ti,j721s2-r5fss"; - ti,cluster-mode = <1>; + ti,cluster-mode = <0>; #address-cells = <1>; #size-cells = <1>; ranges = <0x5900000 0x00 0x5900000 0x20000>,
Signature · 1 line
2.34.1
Nishanth Menon
maintainerQuoted 14 lines · Beleswar Padhi
TI SoCs (J7200, J721E, J721S2 & J784S4) have multiple R5F clusters in the MAIN domain. All of these clusters are configured for LockStep mode at the moment. Switch all of these R5F clusters to Split mode by default to maximize the number of R5F cores.
v2: Changelog:
1) Update commit messages to drop "Lockstep-mode" as default mode for early booted remoteprocs.Link to v1:
https://lore.kernel.org/all/[email protected]/Apurva Nandan (1):
arm64: dts: ti: k3-j784s4-main: Switch MAIN R5F clusters to Split-mode
Quoted 6 lines
Beleswar Padhi (1):
arm64: dts: ti: k3-j721s2-main: Switch MAIN R5F clusters to Split-modeSuman Anna (2):
arm64: dts: ti: k3-j7200-main: Switch MAIN R5F cluster to Split-mode
arm64: dts: ti: k3-j721e-main: Switch MAIN R5F clusters to Split-mode
Why are you doing this for all boards? if it is a specific firmware behavior, handle that in the board dts? leave the defaults alone. don't create surprises for downstream users.
Signature · 3 lines
Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D