summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorDaniel Sneddon <daniel.sneddon@linux.intel.com>2023-07-13 05:43:13 +0300
committerDave Hansen <dave.hansen@linux.intel.com>2023-07-21 23:02:35 +0300
commit53cf5797f114ba2bd86d23a862302119848eff19 (patch)
tree11cf22869eabd05aaeccd71feb7cb0fd9a6719a7 /scripts/lib
parent553a5c03e90a6087e88f8ff878335ef0621536fb (diff)
downloadlinux-53cf5797f114ba2bd86d23a862302119848eff19.tar.xz
x86/speculation: Add Kconfig option for GDS
Gather Data Sampling (GDS) is mitigated in microcode. However, on systems that haven't received the updated microcode, disabling AVX can act as a mitigation. Add a Kconfig option that uses the microcode mitigation if available and disables AVX otherwise. Setting this option has no effect on systems not affected by GDS. This is the equivalent of setting gather_data_sampling=force. Signed-off-by: Daniel Sneddon <daniel.sneddon@linux.intel.com> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions