commit | 1d4238c56f9816ce0f9c8dbe42d7f2ad81cb6613 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Fri May 11 15:06:58 2018 +0100 |
committer | Russell King <rmk+kernel@armlinux.org.uk> | Thu May 31 23:27:21 2018 +0100 |
tree | 02ce63e527d19829f5f0059b1cea00897da1469a | |
parent | a78d156587931a2c3b354534aa772febf6c9e855 [diff] |
ARM: spectre-v1: add array_index_mask_nospec() implementation Add an implementation of the array_index_mask_nospec() function for mitigating Spectre variant 1 throughout the kernel. 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>