RFC Proposed cmdline improvements
Get series with b4
b4 am 20190304012138.gikabpafseh2swre@trebleVersions newest first
- v1 RFC Latest4 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | 1Documentation/ Documentation/ arch/ | +17 | 4 replies | |
| 2/4 | 2arch/ | +2 | 2 replies | |
| 3/4 | 3arch/ | +4 | 5 replies | |
| 4/4 | 4Documentation/ arch/ arch/ +6 more | +122 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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