[PATCH 0/2] arm64: mm: fix kdump broken with ZONE_DMA reintroduced

From: Chen Zhou
Date: Fri Dec 25 2020 - 22:32:43 EST


If the memory reserved for crash dump kernel falled in ZONE_DMA32,
the devices in crash dump kernel need to use ZONE_DMA will alloc fail.

Fix this by reserving low memory in ZONE_DMA if CONFIG_ZONE_DMA is
enabled, otherwise, reserving in ZONE_DMA32.

Patch 1 updates the comments about the ZONE_DMA.
Patch 2 fix kdump broken.

Chen Zhou (2):
arm64: mm: update the comments about ZONE_DMA
arm64: mm: fix kdump broken with ZONE_DMA reintroduced

arch/arm64/mm/init.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

--
2.20.1