diff mbox series

arm64: dts: imx8qxp: shrink dsp reserved memory

Message ID 20250401155244.46239-1-laurentiumihalcea111@gmail.com (mailing list archive)
State New
Headers show
Series arm64: dts: imx8qxp: shrink dsp reserved memory | expand

Commit Message

Laurentiu Mihalcea April 1, 2025, 3:52 p.m. UTC
From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>

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.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Frank Li April 1, 2025, 9:17 p.m. UTC | #1
On Tue, Apr 01, 2025 at 11:52:44AM -0400, Laurentiu Mihalcea wrote:
> From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>

subject suggest because avoid overlap is critcal part.

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

>
> 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.

> reserved memory should be enough anyways.

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

>

Add fixes tag here and Cc stable.

Frank

> Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
> ---
>  arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> index 05138326f0a5..a65c5a2c4a81 100644
> --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> @@ -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
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
index 05138326f0a5..a65c5a2c4a81 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
@@ -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";
 		};