kernel-ark/arch/arm64
Will Deacon 938edf5c04 arm64: mm: update max_dma32 before calculating size of NORMAL zone
Commit f483a853b0 ("arm64: mm: fix booting on systems with no memory
below 4GB") sets max_dma32 to the minimum of the maximum pfn and
MAX_DMA32_PFN. This value is later used as the base of the NORMAL zone,
which is incorrect when MAX_DMA32_PFN is below the minimum pfn (i.e. all
memory is above 4GB).

This patch fixes the problem by ensuring that max_dma32 is always set to
the end of the DMA32 zone.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2012-11-14 09:54:15 +00:00
..
boot arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
configs arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
include arm64: mm: fix booting on systems with no memory below 4GB 2012-11-08 16:06:21 +00:00
kernel arm64: smp: add missing completion for secondary boot 2012-11-08 16:06:21 +00:00
lib arm64: Miscellaneous library functions 2012-09-17 13:42:18 +01:00
mm arm64: mm: update max_dma32 before calculating size of NORMAL zone 2012-11-14 09:54:15 +00:00
Kconfig arm64: compat: select CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION 2012-11-08 16:06:20 +00:00
Kconfig.debug arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
Makefile arm64: Build infrastructure 2012-09-17 13:42:21 +01:00