Security: Allow disabling of spectre v1 swapgs mitigation

Most of the v1 mitigation is baked into the kernel and not
optional.  The swapgs barriers are, however, optional.
They have a negative performance impact so we disable them
by using the nospectre_v1 kernel bootarg.

Change-Id: Ia5938249ad0f0a53435251e505dac843b923ad62
Closes-Bug: 1860193
Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com>
This commit is contained in:
Jim Somerville
2020-01-27 14:25:14 -05:00
parent a1b8c9f1be
commit de23dcfd05
6 changed files with 9 additions and 7 deletions

View File

@@ -1,2 +1,2 @@
SRC_DIR="cgts-client"
TIS_PATCH_VER=73
TIS_PATCH_VER=74