Skip to content

Bugs clean-up

David Kaplan lkml 3 versions – Applied

Status from this message: The following commit has been merged into the x86/bugs branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 0 repliesApplied
  2. v25 patches 20 repliesApplied
  3. v13 patches 7 repliesSuperseded

Changes in v3 from the cover letter

- Fixed bugs pointed out by Josh on Kconfig settings
- Added patches 5-7

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/7x86/bugs: Use early_param for spectre_v2_userarch/x86/kernel/cpu/bugs.c+26 -420 replies
2/7x86/bugs: Use early_param for spectre_v2arch/x86/kernel/cpu/bugs.c+87 -990 replies
3/7x86/bugs: Simplify SSB cmdline parsingarch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c+41 -800 replies
4/7x86/bugs: Remove uses of cpu_mitigations_off()arch/x86/kernel/cpu/bugs.c+5 -50 replies
5/7x86/bugs: Fix spectre_v2 forcingarch/x86/kernel/cpu/bugs.c+18 -180 replies
6/7x86/bugs: Fix reporting of LFENCE retpolinearch/x86/kernel/cpu/bugs.c+1 -40 replies
7/7x86/bugs: Report correct retbleed mitigation statusarch/x86/kernel/cpu/bugs.c+3 -10 replies

Reviews trailers per patch

4 of 7 patches have a Reviewed-by or Acked-by.

PatchPawan Gupta
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/7] Bugs clean-up

Various minor clean-ups and bug fixes related to mitigations.

Patches 1-3 focus on cleaning up parameter parsing. Most mitigations use early_param but a few older ones do not and look at boot_command_line directly. Modify these to be consistent with the newer ones.

Patch 4 cleans up some straggling unecessary calls to cpu_mitigations_off().

Patches 5-7 (new in this version of the series) fix some minor bugs related to the behavior of and reporting of certain command line options.

Note that v2 of this series included a patch for SSB attack vector controls but this has already been merged.

Changes from v2
- Fixed bugs pointed out by Josh on Kconfig settings
- Added patches 5-7

Changes from v1
- Removed spec_*_print_cond() functions
- Fixed bugs pointed out by Pawan
- Added last 2 patches

David Kaplan (7):
x86/bugs: Use early_param for spectre_v2_user x86/bugs: Use early_param for spectre_v2 x86/bugs: Simplify SSB cmdline parsing x86/bugs: Remove uses of cpu_mitigations_off() x86/bugs: Fix spectre_v2 forcing
x86/bugs: Fix reporting of LFENCE retpoline x86/bugs: Report correct retbleed mitigation status

 arch/x86/include/asm/nospec-branch.h |   1 +
 arch/x86/kernel/cpu/bugs.c           | 403 +++++++++++----------------
 2 files changed, 168 insertions(+), 236 deletions(-)

base-commit: 584a19f9b54926dd1d3fec0a1e9b1fde801d9f23

Signature · 1 line
2.34.1