https://github.com/torvalds/linux
Revision da6e4cb67c6dd1f72257c0a4a97c26dc4e80d3a7 authored by Dave Anderson on 15 April 2014, 17:53:24 UTC, committed by Catalin Marinas on 03 May 2014, 21:20:29 UTC
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>
1 parent d1db0ee
History
Tip revision: da6e4cb67c6dd1f72257c0a4a97c26dc4e80d3a7 authored by Dave Anderson on 15 April 2014, 17:53:24 UTC
arm64: Fix for the arm64 kern_addr_valid() function
Tip revision: da6e4cb
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.6 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 271.4 KB
Makefile -rw-r--r-- 50.5 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top