diff options
author | Dave Anderson <anderson@redhat.com> | 2014-04-15 19:53:24 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2014-05-03 23:20:29 +0200 |
commit | da6e4cb67c6dd1f72257c0a4a97c26dc4e80d3a7 (patch) | |
tree | d7c2a6f1483cb0010fe73991d7e1de4e90429fb2 /include | |
parent | Linux 3.15-rc3 (diff) | |
download | linux-da6e4cb67c6dd1f72257c0a4a97c26dc4e80d3a7.tar.xz linux-da6e4cb67c6dd1f72257c0a4a97c26dc4e80d3a7.zip |
arm64: Fix for the arm64 kern_addr_valid() function
Fix for the arm64 kern_addr_valid() function to recognize
virtual addresses in the kernel logical memory map. The
function fails as written because it does not check whether
the addresses in that region are mapped at the pmd level to
2MB or 512MB pages, continues the page table walk to the
pte level, and issues a garbage value to pfn_valid().
Tested on 4K-page and 64K-page kernels.
Signed-off-by: Dave Anderson <anderson@redhat.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions