diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2018-05-11 12:16:22 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2018-06-01 00:27:26 +0200 |
commit | 10573ae547c85b2c61417ff1a106cffbfceada35 (patch) | |
tree | dbc21a6b8a94eaa26fdc73b4440affa5ad082e4c /crypto/testmgr.c | |
parent | ARM: spectre-v1: add array_index_mask_nospec() implementation (diff) | |
download | linux-10573ae547c85b2c61417ff1a106cffbfceada35.tar.xz linux-10573ae547c85b2c61417ff1a106cffbfceada35.zip |
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 'crypto/testmgr.c')
0 files changed, 0 insertions, 0 deletions