Skip to contentSkip to conversation

arm64: dts: ti: k3-am64-phycore-som: Reserve RTOS IPC memory

PATCH Applied Wadim Egorov 2 participants 3 messages Jan 31, 2025 – Mar 3, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arm64: dts: ti: k3-am64-phycore-som: Reserve RTOS IPC memory

Reserve a portion of memory for inter-processor communication between all remote processors running RTOS or baremetal firmware.

---
 arch/arm64/boot/dts/ti/k3-am64-phycore-som.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/ti/k3-am64-phycore-som.dtsi +6 -0
index 99a6fdfaa7fb..e8d1b88651e7 100644
@@ -99,6 +99,12 @@ mcu_m4fss_memory_region: m4f-memory@a4100000 {
 			reg = <0x00 0xa4100000 0x00 0xf00000>;
 			no-map;
 		};
+
+		rtos_ipc_memory_region: ipc-memories@a5000000 {
+			reg = <0x00 0xa5000000 0x00 0x00800000>;
+			alignment = <0x1000>;
+			no-map;
+		};
 	};
 
 	leds {
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 arm64: dts: ti: k3-am62-phycore-som: Reserve RTOS IPC memory

Reserve a portion of memory for inter-processor communication between all remote processors running RTOS or baremetal firmware. Move ramoops to lower region so the IPC fits to the correct address.

---
 arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi +8 -2
index 2ef4cbaec789..4bffa8ce0410 100644
@@ -36,15 +36,21 @@ reserved_memory: reserved-memory {
 		#size-cells = <2>;
 		ranges;
 
-		ramoops@9ca00000 {
+		ramoops@9c700000 {
 			compatible = "ramoops";
-			reg = <0x00 0x9ca00000 0x00 0x00100000>;
+			reg = <0x00 0x9c700000 0x00 0x00100000>;
 			record-size = <0x8000>;
 			console-size = <0x8000>;
 			ftrace-size = <0x00>;
 			pmsg-size = <0x8000>;
 		};
 
+		rtos_ipc_memory_region: ipc-memories@9c800000 {
+			compatible = "shared-dma-pool";
+			reg = <0x00 0x9c800000 0x00 0x00300000>;
+			no-map;
+		};
+
 		mcu_m4fss_dma_memory_region: m4f-dma-memory@9cb00000 {
 			compatible = "shared-dma-pool";
 			reg = <0x00 0x9cb00000 0x00 0x100000>;
Signature · 1 line
2.34.1
maintainer Applied
#2 lore raw
In reply to Wadim Egorov

Hi Wadim Egorov,

Quoted 4 lines · Wadim Egorov

Reserve a portion of memory for inter-processor communication between all remote processors running RTOS or baremetal firmware.

I have applied the following to branch ti-next on [1]. Thank you!

[1/2] arm64: dts: ti: k3-am64-phycore-som: Reserve RTOS IPC memory

      commit: eeab4a777eb490b9eca670379720b938226b1c79
[2/2] arm64: dts: ti: k3-am62-phycore-som: Reserve RTOS IPC memory
      commit: 4ad59ca98c2764ee2a58e48c96338b6fb88ce85a

All 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
--
Vignesh