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

From: Nicolas Saenz Julienne
Date: Thu Nov 07 2019 - 04:56:22 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

---

Changes since v1:
- Move CMA area registration into bcm2711.dtsi

Changes since v1:
- s/Raspberry Pi/bcm2711 in bcm2711.dtsi

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.dtsi | 20 ++++++++++++++++++++
arch/arm64/mm/init.c | 4 ++--
2 files changed, 22 insertions(+), 2 deletions(-)

--
2.23.0