android_kernel_oneplus_msm8998/arch
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
..
alpha
arc
arm Merge tag 'LA.UM.7.4.r1-05300-8x98.0' into lineage-16.0 2019-06-16 08:15:21 +02:00
arm64 arm64: kaslr: Reserve size of ARM64_MEMSTART_ALIGN in linear region 2019-08-30 09:21:10 +02:00
avr32
blackfin
c6x
cris
frv
h8300
hexagon
ia64
m32r Merge android-4.4.116 (20ddb25) into msm-4.4 2018-03-01 17:18:47 +05:30
m68k
metag
microblaze
mips
mn10300
nios2 BACKPORT: exit_thread: remove empty bodies 2018-02-05 08:58:29 -08:00
openrisc
parisc
powerpc
s390
score
sh
sparc
tile
um
unicore32
x86
xtensa
.gitignore
Kconfig