On Thu, Oct 09, 2025 at 11:06:33AM +0200, Luca Weiss wrote:
> From: Alexander Martinz <[email protected]>
> 
> It seems we also need to reserve a region of 81 MiB called "removed_mem"
> otherwise we can easily hit memory errors with higher RAM usage.
> 

If you make sure CONFIG_MEMTEST is enabled, you can boot with memtest=1
on the command line to catch such issues, without relying on "higher RAM
usage" (or randomness).

Regards,
Bjorn

> Fixes: 249666e34c24 ("arm64: dts: qcom: add QCM6490 SHIFTphone 8")
> Signed-off-by: Alexander Martinz <[email protected]>
> Reviewed-by: Konrad Dybcio <[email protected]>
> Signed-off-by: Luca Weiss <[email protected]>
> ---
>  arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts 
> b/arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts
> index 0d331bda4a82..31650c29b1ca 100644
> --- a/arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts
> +++ b/arch/arm64/boot/dts/qcom/qcm6490-shift-otter.dts
> @@ -118,6 +118,11 @@ cdsp_mem: cdsp@88f00000 {
>                       no-map;
>               };
>  
> +             removed_mem: removed@c0000000 {
> +                     reg = <0x0 0xc0000000 0x0 0x5100000>;
> +                     no-map;
> +             };
> +
>               rmtfs_mem: rmtfs@f8500000 {
>                       compatible = "qcom,rmtfs-mem";
>                       reg = <0x0 0xf8500000 0x0 0x600000>;
> 
> -- 
> 2.51.0
> 

Reply via email to