Skip to content

Commit

Permalink
arm64: dts: qcom: msm8994-angler: removed clash with smem_region
Browse files Browse the repository at this point in the history
This fixes memory overlap error:
[    0.000000] reserved@6300000 (0x0000000006300000--0x0000000007000000) overlaps with smem_region@6a00000 (0x0000000006a00000--0x0000000006c00000)

smem_region is the same as in downstream (qcom,smem) [1], therefore
split reserved memory into two sections on either side of smem_region.

Not adding labels as it's not expected to be used.

[1] https://android.googlesource.com/kernel/msm/+/refs/heads/android-msm-angler-3.10-marshmallow-mr1/arch/arm/boot/dts/qcom/msm8994.dtsi#948

Fixes: 380cd3a ("arm64: dts: msm8994-angler: fix the memory map")

Signed-off-by: Petr Vorel <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
pevik authored and andersson committed Apr 7, 2023
1 parent fe88480 commit c85c8a9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
5 changes: 0 additions & 5 deletions arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@
reg = <0x0 0x05000000 0x0 0x1a00000>;
no-map;
};

reserved@6c00000 {
reg = <0x0 0x06c00000 0x0 0x400000>;
no-map;
};
};
};

Expand Down
4 changes: 2 additions & 2 deletions arch/arm64/boot/dts/qcom/msm8994-huawei-angler-rev-101.dts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
no-map;
};

removed_region: reserved@6300000 {
reg = <0 0x06300000 0 0xD00000>;
reserved@6300000 {
reg = <0 0x06300000 0 0x700000>;
no-map;
};
};
Expand Down
5 changes: 5 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8994.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,11 @@
reg = <0 0xc9400000 0 0x3f00000>;
no-map;
};

reserved@6c00000 {
reg = <0 0x06c00000 0 0x400000>;
no-map;
};
};

smd {
Expand Down

0 comments on commit c85c8a9

Please sign in to comment.