]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: LPAE: mark memory banks with start > ULONG_MAX as highmem
authorWill Deacon <will.deacon@arm.com>
Mon, 31 Jan 2011 13:50:46 +0000 (13:50 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 9 Aug 2011 14:31:01 +0000 (15:31 +0100)
commit5ddd229500f995ae106dde96fdf420237e192318
tree4032ad9e845dd539e148c13abcb843547d1c976a
parente4da9599c2af95edab2f1e6ae326f22f4afa99be
ARM: LPAE: mark memory banks with start > ULONG_MAX as highmem

Memory banks living outside of the 32-bit physical address
space do not have a 1:1 pa <-> va mapping and therefore the
__va macro may wrap.

This patch ensures that such banks are marked as highmem so
that the Kernel doesn't try to split them up when it sees that
the wrapped virtual address overlaps the vmalloc space.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/mm/mmu.c