Re: [PATCH v3 3/4] arm64: dts: qcom: sdm630: describe adsp_mem region properly
From: Alexey Minnekhanov
Date: Mon Apr 27 2026 - 12:36:29 EST
On 27.04.2026 18:20, Nickolay Goppen wrote:
27.04.2026 14:49, Konrad Dybcio пишет:
On 4/22/26 5:39 PM, Nickolay Goppen wrote:
Downstream [1] this region is marked as shared, reusable and dynamic soPlease make this = <0x0 0x80000000 0x0 0x80000000>; instead, since the RAM
describe it that way.
diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/ dts/qcom/sdm630.dtsi
index 4b47efdb57b2..36b419dea153 100644
--- a/arch/arm64/boot/dts/qcom/sdm630.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi
@@ -494,9 +494,12 @@ venus_region: venus@9f800000 {
no-map;
};
- adsp_mem: adsp-region@f6000000 {
- reg = <0x0 0xf6000000 0x0 0x800000>;
- no-map;
+ adsp_mem: adsp-region {
+ compatible = "shared-dma-pool";
+ alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
starts at 0x80000000
+Alexey Min found out that on 3 GiB xiaomi-lavender RAM starts at 0x40000000
40000000-855fffff : System RAM
40080000-41bfffff : Kernel code
42600000-42fd0fff : Kernel data
88f00000-8abfffff : System RAM
95000000-feabffff : System RAM
Hi, yes, most other devices seem to in fact start at 80000000, even 6Gb
ones, but not sdm660-xiaomi-lavender. Here is some old UART log from
stock bootloader which also clearly shows RAM Partitions discovered
by it [1].
[1] https://paste.sr.ht/~minlexx/145c5077bf1ce83fe3ad6d25d923bdb9f78b548b
--
Regards,
Alexey Minnekhanov