Skip to content

RFC x86/spectre_v2: Initial integration of IBRS into the spectre_v2 mechanics

Thomas Gleixner lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 58 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5x86/CPU: Sync CPU feature flags latearch/x86/kernel/cpu/common.c arch/x86/kernel/cpu/cpu.h+20 -09 replies
2/5x86/spectre: Simplify spectre code a bitarch/x86/kernel/cpu/bugs.c+13 -181 reply
3/5x86/spectre: Prepare for IBRS selectionarch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c+101 -451 reply
4/5x86/cpufeatures: Detect Speculation control featurearch/x86/include/asm/cpufeatures.h arch/x86/include/asm/msr-index.h arch/x86/kernel/cpu/scattered.c+6 -02 replies
5/5x86/speculation: Add basic speculation control codearch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/Makefile arch/x86/kernel/cpu/bugs.c +1 more+89 -045 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchIngo Molnar
1/5
2/5R-b
3/5
4/5
5/5

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

Read the v1 thread

Cover letter [patch RFC 0/5] x86/spectre_v2: Initial integration of IBRS into the spectre_v2 mechanics

I started to look at the IBRS series and this thing really needs a thorough treatment with a steam blaster.

So I started that effort by integrating it proper into the existing spectre_v2 command line parsing and mitigation method selection.

It's not having any of the actual IBRS bits yet and is completely untested, but I wanted to send it out before falling completely asleep so the folks still awake can take a look and comment or expand/modify.

The first patch is from Boris to simplify the cpu feature bits sync after a late microcode load, but it's not yet used. I just added it for reference so people can see where this is heading.

I'll continue on that tomorrow morning after picking up a few patches here and there.

Applies on top of

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/pti

Thanks,

tglx