From nobody Mon Mar 23 21:23:19 2026 Received: from mail-244116.protonmail.ch (mail-244116.protonmail.ch [109.224.244.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8BDD03AE18C; Mon, 23 Mar 2026 13:54:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=109.224.244.116 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774274088; cv=none; b=BLMmXMn2D6Eh5yeXaaffreuQOfML4QNNQ2ERYemPdF1A7ZTx/XE4TH8p+fzbKQma7FX/1qdcGOi/+lc4ZyfHOxfT8a0fV4XH3MMzNw4C6GkaP5YQN02kW/rUpL3+BJeY4PrulszIujz+l3+vde+G1tQXOyZ0+BS5QheUNV8dnco= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774274088; c=relaxed/simple; bh=CJ05O/D3YyINstpoJfjOM1H2gNnTSCwwOkhDciVwz48=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=g6f4FQGeEkajhVtIV6yuwne6mMiTd4OTl0hNuKF2JgMTemXFJseYTa+zKfkuDaH9aiWAb2IlRZrVaeKKU/eKbYmnXZCr6B6BfIb/WCH2ssPwu4pC9K51hzsFr/gf8wc8SFdoeme5qitjguF3qXDCgGnuNsUJEfO8lgKJAX+0yGA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=pm.me; spf=pass smtp.mailfrom=pm.me; dkim=pass (2048-bit key) header.d=pm.me header.i=@pm.me header.b=FkOPBNOH; arc=none smtp.client-ip=109.224.244.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=pm.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pm.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pm.me header.i=@pm.me header.b="FkOPBNOH" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1774274085; x=1774533285; bh=BDNCp6uII1CrHPsn/n4iEUtlyhyWeKsnKrHaZIh5o/c=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=FkOPBNOH4H8c62h6M+sEw3DpvAzAJ5LV19rhe7xTz59BeMlUXkLA9Fwovkl1RtVVy WG0vfRtsMeQv54jzGsEcrQehlnNi0DGHon2IxDQt6XH1xTD0ykPlHzfPBhWCsXqifP t+EazgOmyXHbHfPLpHmHMo84fbbMZbf/tONvUxTH5npKUTjSmcSdkzB4KGaFm64nzK qG9d3SVBhtH5qWsOSORXusfXQ+Ja1Ck8Sd9AXHNHfT0nHhfNhZSkSKyOcsusRjGL4s 9H8tMFY/rq/PEuY8LiG4mOp/nFBZoj1B42gbWaPmUOAktM0P+tViyXT1DUFX534stY g4AGX96GccSbg== Date: Mon, 23 Mar 2026 13:54:42 +0000 To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kees Cook , Tony Luck , "Guilherme G. Piccoli" , Luca Weiss , Dmitry Baryshkov From: Alexander Koskovich Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Alexander Koskovich Subject: [PATCH v2 1/3] arm64: dts: qcom: milos: Reduce rmtfs_mem size to 2.5MiB Message-ID: <20260323-asteroids-v2-1-1a35fa9e178a@pm.me> In-Reply-To: <20260323-asteroids-v2-0-1a35fa9e178a@pm.me> References: <20260323-asteroids-v2-0-1a35fa9e178a@pm.me> Feedback-ID: 37836894:user:proton X-Pm-Message-ID: e222cd248fb651b7434a62ed8b527f518beb0b76 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Konrad Dybcio Signed-off-by: Alexander Koskovich --- arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts | 5 +++++ arch/arm64/boot/dts/qcom/milos.dtsi | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts b/arch/arm64/= boot/dts/qcom/milos-fairphone-fp6.dts index 52895dd9e4fa..5663ab4589f3 100644 --- a/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts +++ b/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts @@ -724,6 +724,11 @@ &remoteproc_wpss { status =3D "okay"; }; =20 +&rmtfs_mem { + /* Increase the size from 2.5 MiB to 6 MiB */ + reg =3D <0x0 0xe1f00000 0x0 0x600000>; +}; + &sdhc_2 { cd-gpios =3D <&tlmm 65 GPIO_ACTIVE_HIGH>; =20 diff --git a/arch/arm64/boot/dts/qcom/milos.dtsi b/arch/arm64/boot/dts/qcom= /milos.dtsi index e1a51d43943f..915642498516 100644 --- a/arch/arm64/boot/dts/qcom/milos.dtsi +++ b/arch/arm64/boot/dts/qcom/milos.dtsi @@ -640,7 +640,7 @@ cpusys_vm_mem: cpusys-vm-region@e0600000 { =20 rmtfs_mem: rmtfs@e1f00000 { compatible =3D "qcom,rmtfs-mem"; - reg =3D <0x0 0xe1f00000 0x0 0x600000>; + reg =3D <0x0 0xe1f00000 0x0 0x280000>; no-map; =20 qcom,client-id =3D <1>; --=20 2.53.0