summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-devices-system-cpu
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-02-19 00:04:08 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-14 20:19:40 +0300
commit4e722ae3141fc6aebadc722b3b10720e2ffd866f (patch)
tree232e2950ce52c1889e512556a520510803c03569 /Documentation/ABI/testing/sysfs-devices-system-cpu
parent2394f5912c223b767be0c4f8365570335110a8c0 (diff)
downloadlinux-4e722ae3141fc6aebadc722b3b10720e2ffd866f.tar.xz
x86/speculation/mds: Add mitigation control for MDS
commit bc1241700acd82ec69fde98c5763ce51086269f8 upstream. Now that the mitigations are in place, add a command line parameter to control the mitigation, a mitigation selector function and a SMT update mechanism. This is the minimal straight forward initial implementation which just provides an always on/off mode. The command line parameter is: mds=[full|off] This is consistent with the existing mitigations for other speculative hardware vulnerabilities. The idle invocation is dynamically updated according to the SMT state of the system similar to the dynamic update of the STIBP mitigation. The idle mitigation is limited to CPUs which are only affected by MSBDS and not any other variant, because the other variants cannot be mitigated on SMT enabled systems. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Borislav Petkov <bp@suse.de> Reviewed-by: Jon Masters <jcm@redhat.com> Tested-by: Jon Masters <jcm@redhat.com> [bwh: Backported to 4.9: adjust filename] Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-devices-system-cpu')
0 files changed, 0 insertions, 0 deletions