]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 22 Feb 2018 14:15:46 +0000 (08:15 -0600)
commitd272070a49e58d7077d11cddc9fa637a722a1d38
tree74d2617d50aaab56dda5807d55963d532f3f85a3
parent4225a53be119d8bf77032b01e22703011b796481
arm64: Take into account ID_AA64PFR0_EL1.CSV3

BugLink: http://bugs.launchpad.net/bugs/1751064
Commit 179a56f6f9fb upstream.

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>
Conflicts:
arch/arm64/kernel/cpufeature.c
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
arch/arm64/include/asm/sysreg.h
arch/arm64/kernel/cpufeature.c