]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: milos: Reduce rmtfs_mem size to 2.5MiB
authorAlexander Koskovich <akoskovich@pm.me>
Mon, 23 Mar 2026 13:54:42 +0000 (13:54 +0000)
committerBjorn Andersson <andersson@kernel.org>
Mon, 27 Apr 2026 19:14:55 +0000 (14:14 -0500)
The rmtfs_mem region is currently sized at 6MiB but the default for
milos downstream is 2.5MiB. This causes remoteproc crashes on devices
that expect the smaller size:

modem_ac.c:281:Access Control Error: Could not protect the region specified:Start:e1f00000 End:e2180000, PID:1

Reduce the default to 2.5MiB to match the QCOM downstream config, and
override the size for FP6.

Fixes: d9d59d105f98 ("arm64: dts: qcom: Add initial Milos dtsi")
Reviewed-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Alexander Koskovich <akoskovich@pm.me>
Link: https://lore.kernel.org/r/20260323-asteroids-v2-1-1a35fa9e178a@pm.me
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts
arch/arm64/boot/dts/qcom/milos.dtsi

index c1899db46e714137d7849b3b043062fe8b05cc42..5dc7c950e60d65fc7b2fc5296125798d20c73478 100644 (file)
        status = "okay";
 };
 
+&rmtfs_mem {
+       /* Increase the size from 2.5 MiB to 6 MiB */
+       reg = <0x0 0xe1f00000 0x0 0x600000>;
+};
+
 &sdhc_2 {
        cd-gpios = <&tlmm 65 GPIO_ACTIVE_HIGH>;
 
index 4a64a98a434b6bb3f3961a5e8b25d45a5df19cbf..347afce18924a2da507e2fca63751aa4039fe61c 100644 (file)
 
                rmtfs_mem: rmtfs@e1f00000 {
                        compatible = "qcom,rmtfs-mem";
-                       reg = <0x0 0xe1f00000 0x0 0x600000>;
+                       reg = <0x0 0xe1f00000 0x0 0x280000>;
                        no-map;
 
                        qcom,client-id = <1>;