]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: hisilicon: hi3798cv200: Add missing dma-ranges
authorShawn Guo <shawnguo@kernel.org>
Fri, 27 Feb 2026 07:22:10 +0000 (15:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Apr 2026 08:33:37 +0000 (10:33 +0200)
commit 1af997cad473d505248df6d9577183bb91f69670 upstream.

Reboot starts failing on Poplar since commit 8424ecdde7df ("arm64: mm:
Set ZONE_DMA size based on devicetree's dma-ranges"), which effectively
changes zone_dma_bits from 30 to 32 for arm64 platforms that do not
properly define dma-ranges in device tree.  It's unclear how Poplar reboot
gets broken by this change exactly, but a dma-ranges limiting zone_dma to
the first 1 GB fixes the regression.

Fixes: 2f20182ed670 ("arm64: dts: hisilicon: add dts files for hi3798cv200-poplar board")
Cc: stable@vger.kernel.org
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi

index add54f4e7be97aa9a7a5103ef98c03734b69851b..8196f946cfbce539ae337c99252af443a983cfd6 100644 (file)
@@ -81,6 +81,7 @@
                #address-cells = <1>;
                #size-cells = <1>;
                ranges = <0x0 0x0 0xf0000000 0x10000000>;
+               dma-ranges = <0x0 0x0 0x0 0x40000000>;
 
                crg: clock-reset-controller@8a22000 {
                        compatible = "hisilicon,hi3798cv200-crg", "syscon", "simple-mfd";