x86: Add stright-line-speculation mitigations
Status from this message: The following commit has been merged into the x86/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | x86/atomic64_386_32: Rename thingsarch/ | +46 | 0 replies | |
| 2/6 | x86: Prepare asm files for straight-line-speculationarch/ arch/ arch/ +103 more | +350 | 0 replies | |
| 3/6 | x86: Prepare inline-asm for straight-line-speculationarch/ arch/ arch/ +8 more | +19 | 0 replies | |
| 4/6 | objtool: Add straight-line-speculation validationtools/ tools/ tools/ +2 more | +27 | 0 replies | |
| 5/6 | x86/alternative: Relax text_poke_bp() constraintarch/ | +30 | 0 replies | |
| 6/6 | x86: Add straight-line-speculation mitigationarch/ arch/ arch/ +7 more | +38 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/6] x86: Add stright-line-speculation mitigations
Respin and split of the SLS patch.
Since the old patch hit a snag, I've split up the patch as per popular demand.
New this time are patches 1 and 5 and some minor edits to the last patch, the rest is mostly identical.
Patch 1 removes a 32bit (abuse) of the RET macro; which got exposed by the build robot due to a change in the last patch (defining RET even for !CONFIG_SLS). It would've been possible to revert to the old method of relying on AS being case insensitive and RET being a valid instruction etc.. but I figured that code was convoluted enough to warrant cleaning up anyway.
Patch 5 is what made Boris' machine go BUG when he tried to use the SLS patch.
Combined it seems to boot and build a kernel for me, so it must be perfect this time (fingers crossed).