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 Merge android-4.4.135 (c9d74f2) into msm-4.4 2018-06-27 14:42:55 +05:30
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 Merge android-4.4.116 (20ddb25) into msm-4.4 2018-03-01 17:18:47 +05:30
blackfin Merge android-4.4.116 (20ddb25) into msm-4.4 2018-03-01 17:18:47 +05:30
c6x Merge android-4.4.116 (20ddb25) into msm-4.4 2018-03-01 17:18:47 +05:30
cris BACKPORT: exit_thread: accept a task parameter to be exited 2018-02-05 08:58:29 -08:00
frv Merge android-4.4.133 (3f51ea2) into msm-4.4 2018-05-31 12:28:38 +05:30
h8300 BACKPORT: exit_thread: remove empty bodies 2018-02-05 08:58:29 -08:00
hexagon Merge android-4.4.133 (3f51ea2) into msm-4.4 2018-05-31 12:28:38 +05:30
ia64 Merge android-4.4.133 (3f51ea2) into msm-4.4 2018-05-31 12:28:38 +05:30
m32r Merge android-4.4.116 (20ddb25) into msm-4.4 2018-03-01 17:18:47 +05:30
m68k This is the 4.4.152 stable release 2018-08-24 13:37:12 +02:00
metag Merge android-4.4.116 (20ddb25) into msm-4.4 2018-03-01 17:18:47 +05:30
microblaze Merge android-4.4.146 (13962260) into msm-4.4 2018-08-07 15:36:56 +05:30
mips Merge android-4.4.146 (13962260) into msm-4.4 2018-08-07 15:36:56 +05:30
mn10300 Merge android-4.4.116 (20ddb25) into msm-4.4 2018-03-01 17:18:47 +05:30
nios2 BACKPORT: exit_thread: remove empty bodies 2018-02-05 08:58:29 -08:00
openrisc Merge android-4.4.116 (20ddb25) into msm-4.4 2018-03-01 17:18:47 +05:30
parisc Merge android-4.4.153 (5e24b4e) into msm-4.4 2018-08-28 17:28:39 +05:30
powerpc Merge android-4.4.146 (13962260) into msm-4.4 2018-08-07 15:36:56 +05:30
s390 Merge android-4.4.146 (13962260) into msm-4.4 2018-08-07 15:36:56 +05:30
score Merge android-4.4.116 (20ddb25) into msm-4.4 2018-03-01 17:18:47 +05:30
sh Merge android-4.4.137 (a2e2217) into msm-4.4 2018-06-27 14:45:25 +05:30
sparc Merge android-4.4.137 (a2e2217) into msm-4.4 2018-06-27 14:45:25 +05:30
tile Merge android-4.4.133 (3f51ea2) into msm-4.4 2018-05-31 12:28:38 +05:30
um Merge android-4.4.129 (b1c4836) into msm-4.4 2018-04-24 19:07:57 +05:30
unicore32 Merge android-4.4.116 (20ddb25) into msm-4.4 2018-03-01 17:18:47 +05:30
x86 Merge android-4.4.153 (5e24b4e) into msm-4.4 2018-08-28 17:28:39 +05:30
xtensa Merge android-4.4.139 (7ba5557) into msm-4.4 2018-07-03 12:24:56 -07:00
.gitignore arch: Ignore arch/i386 and arch/x86_64 2008-01-19 21:29:39 -08:00
Kconfig BACKPORT: exit_thread: remove empty bodies 2018-02-05 08:58:29 -08:00