summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/sys32.c
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2018-07-11 15:56:48 +0200
committerWill Deacon <will.deacon@arm.com>2018-07-12 15:49:47 +0200
commitbaaa7237fecc5ada99e518f38541126977ca7ff4 (patch)
tree3816c163ef9d02a4bd72a1ed83bb38932a7c36b1 /arch/arm64/kernel/sys32.c
parentarm64: don't reload GPRs after apply_ssbd (diff)
downloadlinux-baaa7237fecc5ada99e518f38541126977ca7ff4.tar.xz
linux-baaa7237fecc5ada99e518f38541126977ca7ff4.zip
arm64: zero GPRs upon entry from EL0
We can zero GPRs x0 - x29 upon entry from EL0 to make it harder for userspace to control values consumed by speculative gadgets. We don't blat x30, since this is stashed much later, and we'll blat it before invoking C code. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/sys32.c')
0 files changed, 0 insertions, 0 deletions