Skip to contentSkip to conversation

arm64: dts: imx8qxp: shrink dsp reserved memory

PATCH In review Laurentiu Mihalcea 2 participants 2 messages Apr 1, 2025

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

PATCH 1/1 arm64: dts: imx8qxp: shrink dsp reserved memory

From: Laurentiu Mihalcea <[email protected]>

Shrink the size of the memory reserved for the dsp to half of its original size to avoid an overlap with the 'dsp_vdev0vring0' memory region. 16MB of reserved memory should be enough anyways.

---
 arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8qxp.dtsi +1 -1
index 05138326f0a5..a65c5a2c4a81 100644
@@ -185,7 +185,7 @@ decoder_rpc: decoder-rpc@92000000 {
 		};
 
 		dsp_reserved: dsp@92400000 {
-			reg = <0 0x92400000 0 0x2000000>;
+			reg = <0 0x92400000 0 0x1000000>;
 			no-map;
 			status = "disabled";
 		};
Signature · 1 line
2.34.1
maintainer
#1 lore raw
Quoted 1 line · Laurentiu Mihalcea

From: Laurentiu Mihalcea <[email protected]>

subject suggest because avoid overlap is critcal part.

"shrink dsp reserved memory to avoid overlap with 'dsp_vdev0vring0'"

Quoted 3 lines

Shrink the size of the memory reserved for the dsp to half of its original size to avoid an overlap with the 'dsp_vdev0vring0' memory region. 16MB of

to fix overlap error...,

It'd better add a fail log here.

Quoted 1 line

reserved memory should be enough anyways.

I perfer provide reason why 16MB is enough or just remove it.

Quoted 1 line

Add fixes tag here and Cc stable.

Frank

Quoted 21 lines
---
 arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8qxp.dtsi +1 -2
index 05138326f0a5..a65c5a2c4a81 100644
@@ -185,7 +185,7 @@ decoder_rpc: decoder-rpc@92000000 {
 		};
 
 		dsp_reserved: dsp@92400000 {
-			reg = <0 0x92400000 0 0x2000000>;
+			reg = <0 0x92400000 0 0x1000000>;
 			no-map;
 			status = "disabled";
 		};
--

2.34.1