Skip to contentSkip to conversation

Switch MAIN R5F clusters to Split-mode for TI SoCs

PATCH Superseded Beleswar Padhi 2 participants 6 messages Aug 21, 2024 – Aug 24, 2024

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

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.

[ Commit message cleanup ]
---
 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
index 9386bf3ef9f6..a369fa35612d 100644
@@ -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
#2 lore raw

PATCH v2 2/4 arm64: dts: ti: k3-j721e-main: Switch MAIN R5F clusters to Split-mode

In reply to Beleswar Padhi

From: 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.

[ Commit message cleanup ]
---
 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
index 0da785be80ff..a11af617a566 100644
@@ -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
#3 lore raw

PATCH v2 3/4 arm64: dts: ti: k3-j721s2-main: Switch MAIN R5F clusters to Split-mode

In reply to Beleswar Padhi

J721S2 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
index 9ed6949b40e9..9bb0dc1c5791 100644
@@ -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
#4 lore raw

PATCH v2 4/4 arm64: dts: ti: k3-j784s4-main: Switch MAIN R5F clusters to Split-mode

In reply to Beleswar Padhi

From: 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.

[ Commit message cleanup ]
---
 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
index d4ac1c9872a5..2c1d0c41f476 100644
@@ -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
maintainer
#5 lore raw
In reply to Beleswar Padhi
Quoted 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-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

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