diff options
author | Kristina Martsenko <kristina.martsenko@arm.com> | 2018-01-18 22:13:11 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2018-01-19 16:09:40 +0300 |
commit | e9eaa8052fe71b95f4fea6072fa3e0b2cf0b620f (patch) | |
tree | eb7f4fca42a6d238cb3b66d744d60d171f042913 /arch/arm64/mm/context.c | |
parent | 6b88a32c7af68895134872cdec3b6bfdb532d94e (diff) | |
download | linux-e9eaa8052fe71b95f4fea6072fa3e0b2cf0b620f.tar.xz |
arm64: mm: ignore memory above supported physical address size
When booting a kernel without 52-bit PA support (e.g. a kernel with 4k
pages) on a system with 52-bit memory, the kernel will currently try to
use the 52-bit memory and crash. Fix this by ignoring any memory higher
than what the kernel supports.
Fixes: f77d281713d4 ("arm64: enable 52-bit physical address support")
Signed-off-by: Kristina Martsenko <kristina.martsenko@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/mm/context.c')
0 files changed, 0 insertions, 0 deletions