Skip to content

RFC Proposed cmdline improvements

Josh Poimboeuf historical-speck 1 version In review

Get series with b4
b4 am 20190304012138.gikabpafseh2swre@treble

Versions newest first

  1. v1 RFC Latest4 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/41Documentation/admin-guide/hw-vuln/mds.rst Documentation/admin-guide/kernel-parameters.txt arch/x86/kernel/cpu/bugs.c+17 -24 replies
2/42arch/x86/kernel/cpu/bugs.c+2 -32 replies
3/43arch/x86/kernel/cpu/bugs.c+4 -05 replies
4/44Documentation/admin-guide/kernel-parameters.txt arch/powerpc/kernel/security.c arch/powerpc/kernel/setup_64.c +6 more+122 -121 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [MODERATED] [PATCH RFC 0/4] Proposed cmdline improvements

For MDS and SMT, I'd propose that we do something similar to what we did for L1TF: a) add an mds=full,nosmt option; and b) add a printk warning if SMT is enabled. That's the first three patches.

The last patch proposes a meta-option which is intended to make it easier for users to choose sane mitigation defaults for all the speculative vulnerabilities at once.

Josh Poimboeuf (4):
x86/speculation/mds: Add mds=full,nosmt cmdline option x86/speculation: Move arch_smt_update() call to after mitigation
decisions
x86/speculation/mds: Add SMT warning message x86/speculation: Add 'cpu_spec_mitigations=' cmdline options

 Documentation/admin-guide/hw-vuln/mds.rst     |  3 +
 .../admin-guide/kernel-parameters.txt         | 49 ++++++++++++-
 arch/powerpc/kernel/security.c                |  6 +-
 arch/powerpc/kernel/setup_64.c                |  2 +-
 arch/s390/kernel/nospec-branch.c              |  4 +-
 arch/x86/include/asm/processor.h              |  2 +
 arch/x86/kernel/cpu/bugs.c                    | 68 ++++++++++++++++---
 arch/x86/mm/pti.c                             |  3 +-
 include/linux/cpu.h                           |  8 +++
 kernel/cpu.c                                  | 15 ++++
 10 files changed, 144 insertions(+), 16 deletions(-)
Signature · 1 line
2.17.2