* [PATCH v2] arm64: dts: ti: k3-am64-main: Add SYSFW reserved ranges in OCRAM
@ 2021-06-11 19:17 Vignesh Raghavendra
0 siblings, 0 replies; only message in thread
From: Vignesh Raghavendra @ 2021-06-11 19:17 UTC (permalink / raw)
To: Nishanth Menon
Cc: Tero Kristo, Rob Herring, linux-arm-kernel, devicetree,
linux-kernel, Vignesh Raghavendra
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>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
---
v2:
Rebase onto latest ti-k3-next
Collect R-by
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 309826bf46b3..b731119f58ca 100644
--- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
@@ -27,6 +27,10 @@ oc_sram: sram@70000000 {
atf-sram@1a0000 {
reg = <0x1a0000 0x1c000>;
};
+
+ dmsc-sram@1c0000 {
+ reg = <0x1c0000 0x40000>;
+ };
};
main_conf: syscon@43000000 {
--
2.32.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-11 19:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-11 19:17 [PATCH v2] arm64: dts: ti: k3-am64-main: Add SYSFW reserved ranges in OCRAM Vignesh Raghavendra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).