[PATCH 0/2] arm64: Fix CMA/crashkernel reservation

From: Nicolas Saenz Julienne
Date: Mon Nov 04 2019 - 08:54:50 EST


As pointed out by Qian Cai[1] the series enabling ZONE_DMA in arm64
breaks CMA/crashkernel reservations on large devices, as it changed its
default placement. After discussing it with Catalin Marinas we're
restoring the old behavior.

The Raspberry Pi 4, being the only device that needs CMA and crashkernel
in ZONE_DMA will explicitly do so trough it's device tree.

[1] https://lkml.org/lkml/2019/10/21/725

---

Nicolas Saenz Julienne (2):
ARM: dts: bcm2711: force CMA into first GB of memory
arm64: mm: reserve CMA and crashkernel in ZONE_DMA32

arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 19 +++++++++++++++++++
arch/arm64/mm/init.c | 4 ++--
2 files changed, 21 insertions(+), 2 deletions(-)

--
2.23.0