diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2016-07-01 17:25:31 (GMT) |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2017-05-27 03:17:33 (GMT) |
commit | 9fa6a588dedcc0c86bafad5511f4b6096d2e7a5c (patch) | |
tree | 64185005b1f21807b899c8c0c1566693872a80bf /arch/arm64/kernel | |
parent | 1423512ae98181a4ff9daa209c9362cb293252c6 (diff) | |
download | linux-9fa6a588dedcc0c86bafad5511f4b6096d2e7a5c.tar.xz |
arm64: Enable CONFIG_ARM64_SW_TTBR0_PAN
This patch adds the Kconfig option to enable support for TTBR0 PAN
emulation. The option is default off because of a slight performance hit
when enabled, caused by the additional TTBR0_EL1 switching during user
access operations or exception entry/exit code.
Cc: Will Deacon <will.deacon@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit ba42822af1c287f038aa550f3578c61c212a892e)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'arch/arm64/kernel')
0 files changed, 0 insertions, 0 deletions