mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Bugs clean-up
@ 2025-08-19 19:21 David Kaplan
  2025-08-19 19:21 ` [PATCH v2 1/5] x86/bugs: Use early_param for spectre_v2_user David Kaplan
                   ` (5 more replies)
  0 siblings, 6 replies; 27+ messages in thread
From: David Kaplan @ 2025-08-19 19:21 UTC (permalink / raw)
  To: Thomas Gleixner, Borislav Petkov, Peter Zijlstra, Josh Poimboeuf,
	Pawan Gupta, Ingo Molnar, Dave Hansen, x86, H . Peter Anvin
  Cc: linux-kernel

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 those to be consistent with the newer ones.

Patch 4 adds missing attack vector controls for spec store bypass.

Patch 5 cleans up straggling unnecessary calls to cpu_mitigations_off().

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

David Kaplan (5):
  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: Add attack vector controls for SSB
  x86/bugs: Remove uses of cpu_mitigations_off()

 .../hw-vuln/attack_vector_controls.rst        |   5 +-
 arch/x86/include/asm/nospec-branch.h          |   1 +
 arch/x86/kernel/cpu/bugs.c                    | 387 ++++++++----------
 3 files changed, 169 insertions(+), 224 deletions(-)


base-commit: 2fd6a6194558303fffd2d7a7fa73fc318d680f38
-- 
2.34.1


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2025-08-28 13:39 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-19 19:21 [PATCH v2 0/5] Bugs clean-up David Kaplan
2025-08-19 19:21 ` [PATCH v2 1/5] x86/bugs: Use early_param for spectre_v2_user David Kaplan
2025-08-20 18:37   ` Borislav Petkov
2025-08-27 21:51   ` Josh Poimboeuf
2025-08-27 21:59     ` Kaplan, David
2025-08-19 19:21 ` [PATCH v2 2/5] x86/bugs: Use early_param for spectre_v2 David Kaplan
2025-08-22 11:49   ` Borislav Petkov
2025-08-22 14:12     ` Kaplan, David
2025-08-22 14:30       ` Borislav Petkov
2025-08-22 14:37         ` Kaplan, David
2025-08-19 19:21 ` [PATCH v2 3/5] x86/bugs: Simplify SSB cmdline parsing David Kaplan
2025-08-27 22:02   ` Josh Poimboeuf
2025-08-19 19:21 ` [PATCH v2 4/5] x86/bugs: Add attack vector controls for SSB David Kaplan
2025-08-21  6:17   ` Pawan Gupta
2025-08-27 10:27     ` Borislav Petkov
2025-08-27 11:04       ` Borislav Petkov
2025-08-27 14:05         ` Kaplan, David
2025-08-27 14:22           ` Borislav Petkov
2025-08-27 14:25             ` Kaplan, David
2025-08-27 15:33               ` Borislav Petkov
2025-08-27 15:47                 ` Kaplan, David
2025-08-27 16:11                   ` Borislav Petkov
2025-08-27 16:15                     ` Kaplan, David
2025-08-27 16:19                       ` Borislav Petkov
2025-08-28 13:39   ` [tip: x86/urgent] " tip-bot2 for David Kaplan
2025-08-19 19:22 ` [PATCH v2 5/5] x86/bugs: Remove uses of cpu_mitigations_off() David Kaplan
2025-08-21  6:18 ` [PATCH v2 0/5] Bugs clean-up Pawan Gupta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®