All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: ti: k3-am64-main: Add SYSFW reserved ranges in OCRAM
@ 2021-06-09 14:06 ` Vignesh Raghavendra
  0 siblings, 0 replies; 16+ messages in thread
From: Vignesh Raghavendra @ 2021-06-09 14:06 UTC (permalink / raw)
  To: Nishanth Menon
  Cc: Rob Herring, Vignesh Raghavendra, devicetree, linux-kernel,
	Linux ARM Mailing List

Last 256K of OCRAM (256K@0x701c0000) is reserved for SYSFW usage. Hence
add an entry in DT so that its not used for generic pool memory
allocation.

Without this certain drivers using SRAM as generic shared memory pool
may end up being allocated memory from this range and will lead to boot
time crash when the reserved range is accessed (due to firewall
violation).

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
---
 arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
index f1c42ef05e52..77b88e536534 100644
--- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
@@ -16,6 +16,10 @@ oc_sram: sram@70000000 {
 		atf-sram@0 {
 			reg = <0x0 0x1a000>;
 		};
+
+		dmsc-sram@1c0000 {
+			reg = <0x1c0000 0x40000>;
+		};
 	};
 
 	gic500: interrupt-controller@1800000 {
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-06-14 14:30 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-09 14:06 [PATCH] arm64: dts: ti: k3-am64-main: Add SYSFW reserved ranges in OCRAM Vignesh Raghavendra
2021-06-09 14:06 ` Vignesh Raghavendra
2021-06-09 15:26 ` Lokesh Vutla
2021-06-09 15:26   ` Lokesh Vutla
2021-06-11 18:29   ` Vignesh Raghavendra
2021-06-11 18:29     ` Vignesh Raghavendra
2021-06-11 19:03     ` Nishanth Menon
2021-06-11 19:03       ` Nishanth Menon
2021-06-11 19:16 ` Nishanth Menon
2021-06-11 19:16   ` Nishanth Menon
2021-06-12  7:21   ` Vignesh Raghavendra
2021-06-12  7:21     ` Vignesh Raghavendra
2021-06-14  4:48     ` Aswath Govindraju
2021-06-14  4:48       ` Aswath Govindraju
2021-06-14 14:28       ` Nishanth Menon
2021-06-14 14:28         ` Nishanth Menon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.