Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: mm: update max pa bits to 48

Now that we support 48-bit physical addressing, update MAX_PHYSMEM_BITS
accordingly.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Ganapatrao Kulkarni <ganapatrao.kulkarni@caviumnetworks.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>

authored by

Ganapatrao Kulkarni and committed by
Will Deacon
07a15dd5 86c8b27a

+1 -1
+1 -1
arch/arm64/include/asm/sparsemem.h
··· 17 17 #define __ASM_SPARSEMEM_H 18 18 19 19 #ifdef CONFIG_SPARSEMEM 20 - #define MAX_PHYSMEM_BITS 40 20 + #define MAX_PHYSMEM_BITS 48 21 21 #define SECTION_SIZE_BITS 30 22 22 #endif 23 23