]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Take into account ID_AA64PFR0_EL1.CSV3
authorWill Deacon <will.deacon@arm.com>
Mon, 27 Nov 2017 18:29:30 +0000 (18:29 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 8 Jan 2018 18:43:34 +0000 (18:43 +0000)
commit3ec381cf9de85458400b7683013ddb3c2a393069
tree1732f38cd45c84444e8102b3c312258bc61041ea
parent5614e4c70702f11996a98b1df37c3caf6e62bd0b
arm64: Take into account ID_AA64PFR0_EL1.CSV3

For non-KASLR kernels where the KPTI behaviour has not been overridden
on the command line we can use ID_AA64PFR0_EL1.CSV3 to determine whether
or not we should unmap the kernel whilst running at EL0.

Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/sysreg.h
arch/arm64/kernel/cpufeature.c