Re: [PATCH 1/3] arm64: dts: qcom: sdm630: Add modem metadata mem

From: Dmitry Baryshkov
Date: Sun May 04 2025 - 10:48:57 EST


On Sun, May 04, 2025 at 02:51:18PM +0300, Alexey Minnekhanov wrote:
> Similarly to MSM8998, add and use modem metadata memory region.
> This does not seemingly affect device functionality. But it fixes
> DTBs check warning:
>
> remoteproc@4080000: memory-region: [[45], [46]] is too short

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>

>
> Signed-off-by: Alexey Minnekhanov <alexeymin@xxxxxxxxxxxxxxxx>
> ---
> arch/arm64/boot/dts/qcom/sdm630.dtsi | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi
> index 2d3820536ddf4..8b1a45a4e56ed 100644
> --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi
> @@ -509,6 +509,12 @@ zap_shader_region: gpu@fed00000 {
> reg = <0x0 0xfed00000 0x0 0xa00000>;
> no-map;
> };
> +
> + mdata_mem: mpss-metadata {
> + alloc-ranges = <0x0 0xa0000000 0x0 0x20000000>;
> + size = <0x0 0x4000>;
> + no-map;
> + };
> };
>
> smem: smem {
> @@ -1056,7 +1062,7 @@ remoteproc_mss: remoteproc@4080000 {
> <&rpmpd SDM660_VDDMX>;
> power-domain-names = "cx", "mx";
>
> - memory-region = <&mba_region>, <&mpss_region>;
> + memory-region = <&mba_region>, <&mpss_region>, <&mdata_mem>;
>
> status = "disabled";
>
> --
> 2.49.0
>

--
With best wishes
Dmitry