diff options
author | Will Deacon <will.deacon@arm.com> | 2018-01-29 11:59:53 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2018-02-06 22:53:14 +0000 |
commit | 41acec624087b1268a15f414cf7d573deebafeec (patch) | |
tree | c6bb77d292a3e365188c6b07f514cad2ad62ccdc /arch/arm64/include/asm/assembler.h | |
parent | 3060e9f0d14b46eb1949aaf9a31519ef75e59fda (diff) | |
download | linux-41acec624087b1268a15f414cf7d573deebafeec.tar.gz linux-41acec624087b1268a15f414cf7d573deebafeec.tar.xz |
arm64: kpti: Make use of nG dependent on arm64_kernel_unmapped_at_el0()
To allow systems which do not require kpti to continue running with
global kernel mappings (which appears to be a requirement for Cavium
ThunderX due to a CPU erratum), make the use of nG in the kernel page
tables dependent on arm64_kernel_unmapped_at_el0(), which is resolved
at runtime.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/assembler.h')
0 files changed, 0 insertions, 0 deletions