
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. Partial-Bug: 1860193 Depends-On: https://review.opendev.org/#/c/704406 Change-Id: Id11232fe113293ed04b2802aaf038e2eedf9d797 Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com>