From: Dave Anderson Date: Tue, 15 Apr 2014 17:53:24 +0000 (+0100) Subject: arm64: Fix for the arm64 kern_addr_valid() function X-Git-Tag: omap-for-v3.16/pm-signed~11^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da6e4cb67c6dd1f72257c0a4a97c26dc4e80d3a7;p=pandora-kernel.git 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 Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed