Fix up SRSO stuff
Status from this message: The following commit has been merged into the x86/urgent 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/11 | x86/cpu: Fixup __x86_return_thunkarch/ | +3 | 0 replies | |
| 2/11 | x86/cpu: Fix up srso_safe_ret() and __x86_return_thunk()arch/ | +2 | 0 replies | |
| 3/11 | objtool/x86: Fix SRSO messtools/ tools/ tools/ +1 more | +31 | 5 replies | |
| 4/11 | x86/alternative: Make custom return thunk unconditionalarch/ arch/ | +0 | 0 replies | |
| 5/11 | x86/cpu: Clean up SRSO return thunk messarch/ arch/ arch/ +2 more | +43 | 12 replies | |
| 6/11 | x86/cpu: Rename original retbleed methodsarch/ arch/ arch/ +3 more | +23 | 1 reply | |
| 7/11 | x86/cpu: Rename srso_(.*)_alias to srso_alias_\1arch/ arch/ arch/ | +18 | 0 replies | |
| 8/11 | x86/cpu: Cleanup the untrain messarch/ arch/ arch/ | +13 | 0 replies | |
| 9/11 | x86/cpu/kvm: Provide UNTRAIN_RET_VMarch/ arch/ arch/ | +14 | 0 replies | |
| 10/11 | x86/alternatives: Simplify ALTERNATIVE_n()arch/ arch/ tools/ +1 more | +100 | 22 replies | |
| 11/11 | x86/cpu: Use fancy alternatives to get rid of entry_untrain_ret()arch/ arch/ arch/ | +18 | 0 replies |
Reviews trailers per patch
2 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Nikolay Borisov | Josh Poimboeuf |
|---|---|---|
| 1/11 | ||
| 2/11 | ||
| 3/11 | A-b | |
| 4/11 | ||
| 5/11 | ||
| 6/11 | ||
| 7/11 | ||
| 8/11 | ||
| 9/11 | ||
| 10/11 | R-b | |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/11] Fix up SRSO stuff
Hi!
Second version of the SRSO fixes/cleanup.
I've redone some, reorderd most and left out the interface bits entirely for now. Although I do strongly feel the extra interface is superfluous (and ugly).
This is based on top of current tip/x86/urgent 833fd800bf56.
The one open techinical issue I have with the mitigation is the alignment of the RET inside srso_safe_ret(). The details given for retbleed stated that RET should be on a 64byte boundary, which is not the case here.
I'll go prod at bringing the rest of the patches forward after I stare at some other email.