summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2018-10-15 11:32:12 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-18 09:16:27 +0200
commitb690ec0dc735545bca2b78bee639d1545bda97e6 (patch)
treecb6e77dc66073faf08ee69426af41f5acd55a870 /tools/perf/builtin-script.c
parent4186f7cfa1d6083e969638c8e98b205163da7e2a (diff)
downloadlinux-stable-b690ec0dc735545bca2b78bee639d1545bda97e6.tar.gz
linux-stable-b690ec0dc735545bca2b78bee639d1545bda97e6.tar.bz2
linux-stable-b690ec0dc735545bca2b78bee639d1545bda97e6.zip
ARM: spectre-v1: fix syscall entry
Commit 10573ae547c85b2c61417ff1a106cffbfceada35 upstream. 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> Signed-off-by: David A. Long <dave.long@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions