Message ID | 20231025072832.2277609-1-alexander.stein@ew.tq-group.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/1] arm64: dts: imx8mp: Disable dsp reserved memory by default | expand |
On Wed, Oct 25, 2023 at 09:28:32AM +0200, Alexander Stein wrote: > 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@ew.tq-group.com> Applied, thanks!
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@92400000 { reg = <0 0x92400000 0 0x2000000>; no-map; + status = "disabled"; }; };
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@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(+)