android_kernel_oneplus_msm8998/arch/arm64/mm
Yueyi Li d598338175 arm64: kaslr: Reserve size of ARM64_MEMSTART_ALIGN in linear region
When KASLR is enabled (CONFIG_RANDOMIZE_BASE=y), the top 4K of kernel
virtual address space may be mapped to physical addresses despite being
reserved for ERR_PTR values.

Fix the randomization of the linear region so that we avoid mapping the
last page of the virtual address space.

Change-Id: I3035dbe8e64b2a31f5d56b7dc29366958adda6ce
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: liyueyi <liyueyi@live.com>
[will: rewrote commit message; merged in suggestion from Ard]
Signed-off-by: Will Deacon <will.deacon@arm.com>
Git-commit: c8a43c18a97845e7f94ed7d181c11f41964976a2
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2019-08-30 09:21:10 +02:00
..
cache.S
context.c
copypage.c
dma-mapping.c
dump.c
extable.c
fault.c
flush.c
hugetlbpage.c
init.c arm64: kaslr: Reserve size of ARM64_MEMSTART_ALIGN in linear region 2019-08-30 09:21:10 +02:00
ioremap.c
kasan_init.c
Makefile
mm.h
mmap.c
mmu.c Merge android-4.4.150 (5541782) into msm-4.4 2018-08-28 16:40:54 +05:30
pageattr.c arm64: hibernate: Support DEBUG_PAGEALLOC 2018-08-07 15:56:05 -07:00
pgd.c
proc.S arm64: vmlinux.ld: Add mmuoff data sections and move mmuoff text into idmap 2018-08-07 15:54:46 -07:00