diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2018-05-11 11:16:22 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2018-05-31 23:27:26 +0100 |
commit | 10573ae547c85b2c61417ff1a106cffbfceada35 (patch) | |
tree | dbc21a6b8a94eaa26fdc73b4440affa5ad082e4c /arch/arm/include/asm/kvm_asm.h | |
parent | 1d4238c56f9816ce0f9c8dbe42d7f2ad81cb6613 (diff) |
ARM: spectre-v1: fix syscall entry
Prevent speculation at the syscall table decoding by clamping the index
used to zero on invalid system call numbers, and using the csdb
speculative barrier.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Boot-tested-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/include/asm/kvm_asm.h')
0 files changed, 0 insertions, 0 deletions