diff options
author | Will Deacon <will.deacon@arm.com> | 2018-08-07 13:47:06 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2018-09-14 17:46:19 +0100 |
commit | 8f04e8e6e29c93421a95b61cad62e3918425eac7 (patch) | |
tree | d933a8bd5c9e9a3094019c9bc51d5b5178eb768e /arch/arm64/include/uapi | |
parent | 0bf0f444b2c49241b2b39aa3cf210d7c95ef6c34 (diff) | |
download | linux-8f04e8e6e29c93421a95b61cad62e3918425eac7.tar.gz linux-8f04e8e6e29c93421a95b61cad62e3918425eac7.tar.bz2 linux-8f04e8e6e29c93421a95b61cad62e3918425eac7.zip |
arm64: ssbd: Add support for PSTATE.SSBS rather than trapping to EL3
On CPUs with support for PSTATE.SSBS, the kernel can toggle the SSBD
state without needing to call into firmware.
This patch hooks into the existing SSBD infrastructure so that SSBS is
used on CPUs that support it, but it's all made horribly complicated by
the very real possibility of big/little systems that don't uniformly
provide the new capability.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/uapi')
-rw-r--r-- | arch/arm64/include/uapi/asm/ptrace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/uapi/asm/ptrace.h b/arch/arm64/include/uapi/asm/ptrace.h index 98c4ce55d9c3..a36227fdb084 100644 --- a/arch/arm64/include/uapi/asm/ptrace.h +++ b/arch/arm64/include/uapi/asm/ptrace.h @@ -46,6 +46,7 @@ #define PSR_I_BIT 0x00000080 #define PSR_A_BIT 0x00000100 #define PSR_D_BIT 0x00000200 +#define PSR_SSBS_BIT 0x00001000 #define PSR_PAN_BIT 0x00400000 #define PSR_UAO_BIT 0x00800000 #define PSR_V_BIT 0x10000000 |