[PATCH 1/1] arm64: dts: imx8mp: Disable dsp reserved memory by default

Alexander Stein alexander.stein at ew.tq-group.com
Wed Oct 25 00:28:32 PDT 2023


Even if the 'dsp' node is disabled the memory intended to be used by the
DSP is reserved. This limits the memory range suitable for CMA allocation.
Thus disable the dsp_reserved node. DSP users need to enable it in parallel
to the 'dsp' node.

Signed-off-by: Alexander Stein <alexander.stein at ew.tq-group.com>
---
Actually the location and size of DSP reserved memory is platform
specific. But to be less intrusive, just disable the node.

 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
index eb2b81f6302a3..b2b041604d2e4 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
@@ -264,6 +264,7 @@ reserved-memory {
 		dsp_reserved: dsp at 92400000 {
 			reg = <0 0x92400000 0 0x2000000>;
 			no-map;
+			status = "disabled";
 		};
 	};
 
-- 
2.34.1




More information about the linux-arm-kernel mailing list