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 Merge android-4.4.153 (5e24b4e) into msm-4.4 2018-08-28 17:28:39 +05:30
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 BACKPORT: exit_thread: accept a task parameter to be exited 2018-02-05 08:58:29 -08:00
frv
h8300 BACKPORT: exit_thread: remove empty bodies 2018-02-05 08:58:29 -08:00
hexagon
ia64
m32r
m68k This is the 4.4.152 stable release 2018-08-24 13:37:12 +02:00
metag
microblaze
mips
mn10300
nios2
openrisc
parisc Merge android-4.4.153 (5e24b4e) into msm-4.4 2018-08-28 17:28:39 +05:30
powerpc
s390
score
sh
sparc
tile
um
unicore32
x86 Merge android-4.4.153 (5e24b4e) into msm-4.4 2018-08-28 17:28:39 +05:30
xtensa
.gitignore
Kconfig