arm64: only consider memblocks with NOMAP cleared for linear mapping
authorArd Biesheuvel <[email protected]>
Mon, 30 Nov 2015 12:28:16 +0000 (13:28 +0100)
committerWill Deacon <[email protected]>
Wed, 9 Dec 2015 16:57:23 +0000 (16:57 +0000)
commit68709f45385aeddb0ca96a060c0c8259944f321b
tree124bde978b7b93f854e12e6c260d9e0d960b422c
parentbf3d3cc580f9960883ebf9ea05868f336d9491c2
arm64: only consider memblocks with NOMAP cleared for linear mapping

Take the new memblock attribute MEMBLOCK_NOMAP into account when
deciding whether a certain region is or should be covered by the
kernel direct mapping.

Reviewed-by: Matt Fleming <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
arch/arm64/mm/init.c
arch/arm64/mm/mmu.c