2021-05-15 07:08:00

by Sujit Kautkar

[permalink] [raw]
Subject: [PATCH] arm64: dts: qcom: sc7180: Move rmtfs memory region

Move rmtfs memory region so that it does not overlap with system
RAM (kernel data) when KAsan is enabled. This puts rmtfs right
after mba_mem which is not supposed to increase beyond 0x94600000

Signed-off-by: Sujit Kautkar <[email protected]>
---

arch/arm64/boot/dts/qcom/sc7180-idp.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/sc7180-idp.dts b/arch/arm64/boot/dts/qcom/sc7180-idp.dts
index e77a7926034a7..afe0f9c258164 100644
--- a/arch/arm64/boot/dts/qcom/sc7180-idp.dts
+++ b/arch/arm64/boot/dts/qcom/sc7180-idp.dts
@@ -45,7 +45,7 @@ chosen {

/* Increase the size from 2MB to 8MB */
&rmtfs_mem {
- reg = <0x0 0x84400000 0x0 0x800000>;
+ reg = <0x0 0x94600000 0x0 0x800000>;
};

/ {
--
2.31.1.751.gd2f1c929bd-goog



2021-05-24 01:17:24

by Sibi Sankar

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: sc7180: Move rmtfs memory region

Hey Sujit,

Thanks for the patch!

On 2021-05-15 00:04, Sujit Kautkar wrote:
> Move rmtfs memory region so that it does not overlap with system
> RAM (kernel data) when KAsan is enabled. This puts rmtfs right
> after mba_mem which is not supposed to increase beyond 0x94600000
>

Reviewed-by: Sibi Sankar <[email protected]>

> Signed-off-by: Sujit Kautkar <[email protected]>
> ---
>
> arch/arm64/boot/dts/qcom/sc7180-idp.dts | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sc7180-idp.dts
> b/arch/arm64/boot/dts/qcom/sc7180-idp.dts
> index e77a7926034a7..afe0f9c258164 100644
> --- a/arch/arm64/boot/dts/qcom/sc7180-idp.dts
> +++ b/arch/arm64/boot/dts/qcom/sc7180-idp.dts
> @@ -45,7 +45,7 @@ chosen {
>
> /* Increase the size from 2MB to 8MB */
> &rmtfs_mem {
> - reg = <0x0 0x84400000 0x0 0x800000>;
> + reg = <0x0 0x94600000 0x0 0x800000>;
> };
>
> / {

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project.