* [PATCH] arm64: dts: qcom: nord: widen SoC bus to 40 bits
@ 2026-11-27 11:33 Zhangfei Gao
2026-11-27 11:36 ` Konrad Dybcio
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Zhangfei Gao @ 2026-11-27 11:33 UTC (permalink / raw)
To: shengchao.guo, andersson, konradybcio
Cc: bartosz.golaszewski, abelvesa, robh, krzk+dt, conor+dt,
linux-arm-msm, devicetree, Zhangfei Gao, Jie Zhang
Nord exposes System RAM in the upper DDR window starting at
0x8800000000, beyond the current 36-bit bus range. DMA mappings for
pages in this window are therefore treated as unreachable and may fall
back to SWIOTLB.
Widen ranges and dma-ranges to 40 bits so capable devices can address
the complete DDR map. Devices with narrower address limits must
constrain their DMA masks individually.
Fixes: 5e97460df08d ("arm64: dts: qcom: Add device tree for Nord SoC series")
Signed-off-by: Zhangfei Gao <zhangfei.gao@oss.qualcomm.com>
Signed-off-by: Jie Zhang <jie.zhang@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/nord.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/nord.dtsi b/arch/arm64/boot/dts/qcom/nord.dtsi
index fdbe290350ddd..45cdbba0e4fb9 100644
--- a/arch/arm64/boot/dts/qcom/nord.dtsi
+++ b/arch/arm64/boot/dts/qcom/nord.dtsi
@@ -911,8 +911,8 @@ soc: soc@0 {
compatible = "simple-bus";
#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>;
qupv3_2: geniqup@8c0000 {
compatible = "qcom,geni-se-qup";
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: qcom: nord: widen SoC bus to 40 bits
2026-11-27 11:33 [PATCH] arm64: dts: qcom: nord: widen SoC bus to 40 bits Zhangfei Gao
@ 2026-11-27 11:36 ` Konrad Dybcio
2026-11-27 11:52 ` Bartosz Golaszewski
2026-11-28 2:40 ` Shawn Guo
2 siblings, 0 replies; 4+ messages in thread
From: Konrad Dybcio @ 2026-11-27 11:36 UTC (permalink / raw)
To: Zhangfei Gao, shengchao.guo, andersson, konradybcio
Cc: bartosz.golaszewski, abelvesa, robh, krzk+dt, conor+dt,
linux-arm-msm, devicetree, Jie Zhang
On 11/27/26 12:33 PM, Zhangfei Gao wrote:
> Nord exposes System RAM in the upper DDR window starting at
> 0x8800000000, beyond the current 36-bit bus range. DMA mappings for
> pages in this window are therefore treated as unreachable and may fall
> back to SWIOTLB.
>
> Widen ranges and dma-ranges to 40 bits so capable devices can address
> the complete DDR map. Devices with narrower address limits must
> constrain their DMA masks individually.
>
> Fixes: 5e97460df08d ("arm64: dts: qcom: Add device tree for Nord SoC series")
> Signed-off-by: Zhangfei Gao <zhangfei.gao@oss.qualcomm.com>
> Signed-off-by: Jie Zhang <jie.zhang@oss.qualcomm.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: qcom: nord: widen SoC bus to 40 bits
2026-11-27 11:33 [PATCH] arm64: dts: qcom: nord: widen SoC bus to 40 bits Zhangfei Gao
2026-11-27 11:36 ` Konrad Dybcio
@ 2026-11-27 11:52 ` Bartosz Golaszewski
2026-11-28 2:40 ` Shawn Guo
2 siblings, 0 replies; 4+ messages in thread
From: Bartosz Golaszewski @ 2026-11-27 11:52 UTC (permalink / raw)
To: Zhangfei Gao
Cc: shengchao.guo, andersson, konradybcio, bartosz.golaszewski,
abelvesa, robh, krzk+dt, conor+dt, linux-arm-msm, devicetree,
Jie Zhang
On Fri, Nov 27, 2026 at 07:33:26PM +0800, Zhangfei Gao wrote:
> Nord exposes System RAM in the upper DDR window starting at
> 0x8800000000, beyond the current 36-bit bus range. DMA mappings for
> pages in this window are therefore treated as unreachable and may fall
> back to SWIOTLB.
>
> Widen ranges and dma-ranges to 40 bits so capable devices can address
> the complete DDR map. Devices with narrower address limits must
> constrain their DMA masks individually.
>
> Fixes: 5e97460df08d ("arm64: dts: qcom: Add device tree for Nord SoC series")
> Signed-off-by: Zhangfei Gao <zhangfei.gao@oss.qualcomm.com>
> Signed-off-by: Jie Zhang <jie.zhang@oss.qualcomm.com>
> ---
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: qcom: nord: widen SoC bus to 40 bits
2026-11-27 11:33 [PATCH] arm64: dts: qcom: nord: widen SoC bus to 40 bits Zhangfei Gao
2026-11-27 11:36 ` Konrad Dybcio
2026-11-27 11:52 ` Bartosz Golaszewski
@ 2026-11-28 2:40 ` Shawn Guo
2 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2026-11-28 2:40 UTC (permalink / raw)
To: Zhangfei Gao
Cc: andersson, konradybcio, bartosz.golaszewski, abelvesa, robh,
krzk+dt, conor+dt, linux-arm-msm, devicetree, Jie Zhang
On Fri, Nov 27, 2026 at 07:33:26PM +0800, Zhangfei Gao wrote:
> Nord exposes System RAM in the upper DDR window starting at
> 0x8800000000, beyond the current 36-bit bus range. DMA mappings for
> pages in this window are therefore treated as unreachable and may fall
> back to SWIOTLB.
>
> Widen ranges and dma-ranges to 40 bits so capable devices can address
> the complete DDR map. Devices with narrower address limits must
> constrain their DMA masks individually.
>
> Fixes: 5e97460df08d ("arm64: dts: qcom: Add device tree for Nord SoC series")
> Signed-off-by: Zhangfei Gao <zhangfei.gao@oss.qualcomm.com>
> Signed-off-by: Jie Zhang <jie.zhang@oss.qualcomm.com>
Hi Zhangfei,
As you are the author, I would expect this:
Fixes: 5e97460df08d ("arm64: dts: qcom: Add device tree for Nord SoC series")
Co-developed-by: Jie Zhang <jie.zhang@oss.qualcomm.com>
Signed-off-by: Jie Zhang <jie.zhang@oss.qualcomm.com>
Signed-off-by: Zhangfei Gao <zhangfei.gao@oss.qualcomm.com>
Shawn
> ---
> arch/arm64/boot/dts/qcom/nord.dtsi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/nord.dtsi b/arch/arm64/boot/dts/qcom/nord.dtsi
> index fdbe290350ddd..45cdbba0e4fb9 100644
> --- a/arch/arm64/boot/dts/qcom/nord.dtsi
> +++ b/arch/arm64/boot/dts/qcom/nord.dtsi
> @@ -911,8 +911,8 @@ soc: soc@0 {
> compatible = "simple-bus";
> #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>;
>
> qupv3_2: geniqup@8c0000 {
> compatible = "qcom,geni-se-qup";
> --
> 2.43.0
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-11-28 2:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27 11:33 [PATCH] arm64: dts: qcom: nord: widen SoC bus to 40 bits Zhangfei Gao
2026-11-27 11:36 ` Konrad Dybcio
2026-11-27 11:52 ` Bartosz Golaszewski
2026-11-28 2:40 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox