Skip to content

Commit 1af997c

Browse files
Shawn Guojoyxu
authored andcommitted
arm64: dts: hisilicon: hi3798cv200: Add missing dma-ranges
Reboot starts failing on Poplar since commit 8424ecd ("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: 2f20182 ("arm64: dts: hisilicon: add dts files for hi3798cv200-poplar board") Cc: [email protected] Signed-off-by: Shawn Guo <[email protected]> Signed-off-by: Wei Xu <[email protected]>
1 parent c1f2b0f commit 1af997c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
#address-cells = <1>;
123123
#size-cells = <1>;
124124
ranges = <0x0 0x0 0xf0000000 0x10000000>;
125+
dma-ranges = <0x0 0x0 0x0 0x40000000>;
125126

126127
crg: clock-reset-controller@8a22000 {
127128
compatible = "hisilicon,hi3798cv200-crg", "syscon", "simple-mfd";

0 commit comments

Comments
 (0)