2024-05-03 06:24:50

by Beleswar Padhi

[permalink] [raw]
Subject: [PATCH 0/4] 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. The MCU R5F cluster continues to be
in the preferred LockStep mode.

Note that this configuration is the default for remoteproc mode (kernel
driver boots the R5F processors). These will be overridden for
early-booted remoteprocs through the corresponding IPC-only support in
the K3 R5F remoteproc driver.

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(-)

--
2.34.1



2024-05-03 06:25:00

by Beleswar Padhi

[permalink] [raw]
Subject: [PATCH 1/4] arm64: dts: ti: k3-j7200-main: Switch MAIN R5F cluster to Split-mode

From: Suman Anna <[email protected]>

J7200 SoCs has a R5F cluster in each of the MAIN and MCU domains, and both
of these are configured for LockStep mode at the moment. Switch the MAIN
R5F cluster to Split mode by default to maximize the number of R5F cores.
The MCU R5F cluster continues to be in the preferred LockStep mode.

Note that this configuration is the default for remoteproc mode (kernel
driver boots the R5F processors). These will be overridden for early-booted
remoteprocs through the corresponding IPC-only support in the K3 R5F
remoteproc driver.

Signed-off-by: Suman Anna <[email protected]>
Signed-off-by: Apurva Nandan <[email protected]>
---
arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
index 9386bf3ef9f6..a369fa35612d 100644
--- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
@@ -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>,
--
2.34.1


2024-05-03 06:25:17

by Beleswar Padhi

[permalink] [raw]
Subject: [PATCH 2/4] arm64: dts: ti: k3-j721e-main: Switch MAIN R5F clusters to Split-mode

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.
The MCU R5F cluster continues to be in the preferred LockStep mode.

Note that this configuration is the default for remoteproc mode (kernel
driver boots the R5F processors). These will be overridden for early-booted
remoteprocs through the corresponding IPC-only support in the K3 R5F
remoteproc driver.

Signed-off-by: Suman Anna <[email protected]>
Signed-off-by: Apurva Nandan <[email protected]>
---
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
index 0da785be80ff..a11af617a566 100644
--- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
@@ -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>,
--
2.34.1


2024-05-03 06:25:30

by Beleswar Padhi

[permalink] [raw]
Subject: [PATCH 3/4] arm64: dts: ti: k3-j721s2-main: Switch MAIN R5F clusters to Split-mode

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.
The MCU R5F cluster continues to be in the preferred LockStep mode.

Note that this configuration is the default for remoteproc mode (kernel
driver boots the R5F processors). These will be overridden for
early-booted remoteprocs through the corresponding IPC-only support in
the K3 R5F remoteproc driver.

Signed-off-by: Beleswar Padhi <[email protected]>
---
arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
index 9ed6949b40e9..9bb0dc1c5791 100644
--- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
@@ -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>,
--
2.34.1


2024-05-03 06:25:45

by Beleswar Padhi

[permalink] [raw]
Subject: [PATCH 4/4] arm64: dts: ti: k3-j784s4-main: Switch MAIN R5F clusters to Split-mode

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. The MCU R5F cluster continues to be in the preferred
LockStep mode.

Note that this configuration is the default for remoteproc mode (kernel
driver boots the R5F processors). These will be overridden for early-booted
remoteprocs through the corresponding IPC-only support in the K3 R5F
remoteproc driver.

Signed-off-by: Apurva Nandan <[email protected]>
---
arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
index 6a4554c6c9c1..fa4a1008a587 100644
--- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
@@ -1811,7 +1811,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>,
@@ -1851,7 +1851,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>,
@@ -1891,7 +1891,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>,
--
2.34.1