linux/arch/arm64/mm
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
..
cache.S arm64: Cache maintenance routines 2012-09-17 13:42:00 +01:00
context.c arm64: Process management 2012-09-17 13:41:58 +01:00
copypage.c arm64: MMU fault handling and page table management 2012-09-17 13:41:57 +01:00
dma-mapping.c arm64: Call swiotlb_init() instead of swiotlb_init_with_default_size() 2012-10-08 16:02:09 +01:00
extable.c arm64: MMU fault handling and page table management 2012-09-17 13:41:57 +01:00
fault.c arm64: Make the user fault reporting more specific 2012-11-14 09:54:15 +00:00
flush.c arm64: Cache maintenance routines 2012-09-17 13:42:00 +01:00
init.c arm64: mm: update max_dma32 before calculating size of NORMAL zone 2012-11-14 09:54:15 +00:00
ioremap.c arm64: Device specific operations 2012-09-17 13:42:04 +01:00
Makefile arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
mm.h arm64: Call swiotlb_init() instead of swiotlb_init_with_default_size() 2012-10-08 16:02:09 +01:00
mmap.c arm64: MMU fault handling and page table management 2012-09-17 13:41:57 +01:00
mmu.c arm64: MMU initialisation 2012-09-17 13:41:56 +01:00
pgd.c arm64: MMU fault handling and page table management 2012-09-17 13:41:57 +01:00
proc-macros.S
proc.S arm64: Do not set the SMP/nAMP processor bit 2012-09-24 18:10:29 +01:00
tlb.S arm64: TLB maintenance functionality 2012-09-17 13:42:01 +01:00