Switch MAIN R5F clusters to Split-mode for TI K3 Platforms
Subsystems (2)
v3 cover Switch MAIN R5F clusters to Split-mode for TI K3 Platforms
TI's K3 Platforms (J7200-EVM, J721E-EVM, J721E-SK, J721S2-EVM, AM68-SK, J784S4-EVM, AM69-SK) 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.
v3: Changelog:
* Nishanth
1) Refactored changes to board level DTS files instead of SoC level dtsi files.
Link to v2:
https://lore.kernel.org/all/[email protected]/
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]/
Beleswar Padhi (7):
arm64: dts: ti: k3-j7200-som-p0: Switch MAIN R5F cluster to Split-mode
arm64: dts: ti: k3-j721e-som-p0: Switch MAIN R5F clusters to
Split-mode
arm64: dts: ti: k3-j721e-sk: Switch MAIN R5F clusters to Split-mode
arm64: dts: ti: k3-j721s2-som-p0: Switch MAIN R5F clusters to
Split-mode
arm64: dts: ti: k3-am68-sk-som: Switch MAIN R5F clusters to Split-mode
arm64: dts: ti: k3-j784s4-evm: Switch MAIN R5F clusters to Split-mode
arm64: dts: ti: k3-am69-sk: Switch MAIN R5F clusters to Split-mode
arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi | 8 ++++++++ arch/arm64/boot/dts/ti/k3-am69-sk.dts | 12 ++++++++++++ arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 4 ++++ arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 8 ++++++++ arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi | 8 ++++++++ arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi | 8 ++++++++ arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 12 ++++++++++++ 7 files changed, 60 insertions(+)
Signature · 1 line
2.34.1
PATCH v3 1/7 arm64: dts: ti: k3-j7200-som-p0: Switch MAIN R5F cluster to Split-mode
The TI J7200 EVM board has 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-som-p0.dtsi | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi +4 -0
@@ -262,6 +262,10 @@ &mcu_r5fss0_core1 { <&mcu_r5fss0_core1_memory_region>; }; +&main_r5fss0 { + ti,cluster-mode = <0>; +}; + &main_r5fss0_core0 { mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>; memory-region = <&main_r5fss0_core0_dma_memory_region>,
Signature · 1 line
2.34.1
PATCH v3 2/7 arm64: dts: ti: k3-j721e-som-p0: Switch MAIN R5F clusters to Split-mode
In reply to Beleswar PadhiThe TI J721E EVM board has 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-som-p0.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi +8 -0
@@ -561,6 +561,14 @@ &mcu_r5fss0_core1 { <&mcu_r5fss0_core1_memory_region>; }; +&main_r5fss0 { + ti,cluster-mode = <0>; +}; + +&main_r5fss1 { + ti,cluster-mode = <0>; +}; + &main_r5fss0_core0 { mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>; memory-region = <&main_r5fss0_core0_dma_memory_region>,
Signature · 1 line
2.34.1
PATCH v3 3/7 arm64: dts: ti: k3-j721e-sk: Switch MAIN R5F clusters to Split-mode
In reply to Beleswar PadhiThe TI J721E SK board has 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-sk.dts | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/ti/k3-j721e-sk.dts +8 -0
@@ -1311,6 +1311,14 @@ &mcu_r5fss0_core1 { <&mcu_r5fss0_core1_memory_region>; }; +&main_r5fss0 { + ti,cluster-mode = <0>; +}; + +&main_r5fss1 { + ti,cluster-mode = <0>; +}; + &main_r5fss0_core0 { mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>; memory-region = <&main_r5fss0_core0_dma_memory_region>,
Signature · 1 line
2.34.1
PATCH v3 4/7 arm64: dts: ti: k3-j721s2-som-p0: Switch MAIN R5F clusters to Split-mode
In reply to Beleswar PadhiThe TI J721S2 EVM board has 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-som-p0.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi +8 -0
@@ -516,6 +516,14 @@ &mcu_r5fss0_core1 { <&mcu_r5fss0_core1_memory_region>; }; +&main_r5fss0 { + ti,cluster-mode = <0>; +}; + +&main_r5fss1 { + ti,cluster-mode = <0>; +}; + &main_r5fss0_core0 { mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>; memory-region = <&main_r5fss0_core0_dma_memory_region>,
Signature · 1 line
2.34.1
PATCH v3 5/7 arm64: dts: ti: k3-am68-sk-som: Switch MAIN R5F clusters to Split-mode
In reply to Beleswar PadhiThe TI AM68 SK board has 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-am68-sk-som.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi +8 -0
@@ -302,6 +302,14 @@ &mcu_r5fss0_core1 { <&mcu_r5fss0_core1_memory_region>; }; +&main_r5fss0 { + ti,cluster-mode = <0>; +}; + +&main_r5fss1 { + ti,cluster-mode = <0>; +}; + &main_r5fss0_core0 { mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>; memory-region = <&main_r5fss0_core0_dma_memory_region>,
Signature · 1 line
2.34.1
PATCH v3 6/7 arm64: dts: ti: k3-j784s4-evm: Switch MAIN R5F clusters to Split-mode
In reply to Beleswar PadhiThe TI J784S4 EVM board has three R5F clusters in the MAIN domain, and all of these 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.
--- arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/ti/k3-j784s4-evm.dts +12 -0
@@ -1154,6 +1154,18 @@ &mcu_r5fss0_core1 { <&mcu_r5fss0_core1_memory_region>; }; +&main_r5fss0 { + ti,cluster-mode = <0>; +}; + +&main_r5fss1 { + ti,cluster-mode = <0>; +}; + +&main_r5fss2 { + ti,cluster-mode = <0>; +}; + &main_r5fss0_core0 { status = "okay"; mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>;
Signature · 1 line
2.34.1
PATCH v3 7/7 arm64: dts: ti: k3-am69-sk: Switch MAIN R5F clusters to Split-mode
In reply to Beleswar PadhiThe TI AM69 SK board has three R5F clusters in the MAIN domain, and all of these 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.
--- arch/arm64/boot/dts/ti/k3-am69-sk.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/ti/k3-am69-sk.dts +12 -0
@@ -979,6 +979,18 @@ &mcu_r5fss0_core1 { <&mcu_r5fss0_core1_memory_region>; }; +&main_r5fss0 { + ti,cluster-mode = <0>; +}; + +&main_r5fss1 { + ti,cluster-mode = <0>; +}; + +&main_r5fss2 { + ti,cluster-mode = <0>; +}; + &main_r5fss0_core0 { mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>; memory-region = <&main_r5fss0_core0_dma_memory_region>,
Signature · 1 line
2.34.1
Hi Beleswar Padhi,
Quoted 11 lines · Beleswar Padhi
TI's K3 Platforms (J7200-EVM, J721E-EVM, J721E-SK, J721S2-EVM, AM68-SK, J784S4-EVM, AM69-SK) 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.
v3: Changelog:
* Nishanth
1) Refactored changes to board level DTS files instead of SoC level dtsi files.[...]
I have applied the following to branch ti-k3-dts-next on [1]. Thank you!
[1/7] arm64: dts: ti: k3-j7200-som-p0: Switch MAIN R5F cluster to Split-mode
commit: 936fa8b91abac356b8c8afd70959dba8420ddc18
[2/7] arm64: dts: ti: k3-j721e-som-p0: Switch MAIN R5F clusters to Split-mode
commit: 956d1f88a7df31cd7264b07d9ff7fe886aa96ae5
[3/7] arm64: dts: ti: k3-j721e-sk: Switch MAIN R5F clusters to Split-mode
commit: 17613194f8f765c5559c2a1aab56b76ffbc4a2ee
[4/7] arm64: dts: ti: k3-j721s2-som-p0: Switch MAIN R5F clusters to Split-mode
commit: ab630a7f429195a02185faec448603d2ae4b12d5
[5/7] arm64: dts: ti: k3-am68-sk-som: Switch MAIN R5F clusters to Split-mode
commit: e1f2bf759c533fb86380ded089a16fba24222832
[6/7] arm64: dts: ti: k3-j784s4-evm: Switch MAIN R5F clusters to Split-mode
commit: 10ef034f94ef7916c89f40e3b3844bcd066a7a58
[7/7] arm64: dts: ti: k3-am69-sk: Switch MAIN R5F clusters to Split-mode
commit: 34d0e51ad34b0b1f8d6020020bf7e4e8e4f5cbe1All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
Signature · 3 lines
Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D