]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: x1e: bus is 40-bits (fix 64GB models)
authorJonathan Marek <jonathan@marek.ca>
Thu, 27 Nov 2025 21:29:42 +0000 (16:29 -0500)
committerBjorn Andersson <andersson@kernel.org>
Fri, 16 Jan 2026 14:09:51 +0000 (08:09 -0600)
Unlike the phone SoCs this was copied from, x1e has a 40-bit physical bus.
The upper address space is used to support more than 32GB of memory.

This fixes issues when DMA buffers are allocated outside the 36-bit range.

Fixes: af16b00578a7 ("arm64: dts: qcom: Add base X1E80100 dtsi and the QCP dts")
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251127212943.24480-1-jonathan@marek.ca
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/hamoa.dtsi

index f464ff3b89cb15eeed0e88f2be8aab50350041f0..01434f8a5300c1714830015f2e4a1fa202d9e399 100644 (file)
 
                #address-cells = <2>;
                #size-cells = <2>;
-               dma-ranges = <0 0 0 0 0x10 0>;
-               ranges = <0 0 0 0 0x10 0>;
+               dma-ranges = <0 0 0 0 0x100 0>;
+               ranges = <0 0 0 0 0x100 0>;
 
                gcc: clock-controller@100000 {
                        compatible = "qcom,x1e80100-gcc";