x86/alternatives: Nest them
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | x86/alternative: Zap alternative_ternary()arch/ | +0 | 0 replies | |
| 2/14 | x86/alternatives: Add nested alternatives macrosarch/ arch/ tools/ +1 more | +158 | 5 replies | |
| 3/14 | x86/alternative: Convert alternative()arch/ | +1 | 0 replies | |
| 4/14 | x86/alternative: Convert alternative_2()arch/ | +0 | 0 replies | |
| 5/14 | x86/alternative: Convert alternative_input()arch/ | +1 | 0 replies | |
| 6/14 | x86/alternative: Convert alternative_io()arch/ | +1 | 0 replies | |
| 7/14 | x86/alternative: Convert alternative_call()arch/ | +1 | 0 replies | |
| 8/14 | x86/alternative: Convert alternative_call_2()arch/ | +6 | 0 replies | |
| 9/14 | x86/alternative: Convert ALTERNATIVE_TERNARY()arch/ | +0 | 0 replies | |
| 10/14 | x86/alternative: Convert ALTERNATIVE_3()arch/ arch/ | +6 | 2 replies | |
| 11/14 | x86/alternative: Convert the asm ALTERNATIVE() macroarch/ | +1 | 0 replies | |
| 12/14 | x86/alternative: Convert the asm ALTERNATIVE_2() macroarch/ | +0 | 0 replies | |
| 13/14 | x86/alternative: Convert the asm ALTERNATIVE_3() macroarch/ | +0 | 0 replies | |
| 14/14 | x86/alternative: Replace the old macrosarch/ arch/ | +33 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/14] x86/alternatives: Nest them
From: "Borislav Petkov (AMD)" <[email protected]>
Hi,
this is basically peterz's idea to nest the alternative macros with a fix to an issue I encountered while testing.
For ease of bisection, the old macros are converted to the new, nested variants in a step-by-step manner so that in case an issue is encountered during testing, one can pinpoint the place where it fails easier. Because debugging alternatives is a serious pain.
Testing here on my farm looks good but who knows what happens out there, in the wild.
Thx.
Borislav Petkov (AMD) (13):
x86/alternative: Zap alternative_ternary() x86/alternative: Convert alternative() x86/alternative: Convert alternative_2() x86/alternative: Convert alternative_input() x86/alternative: Convert alternative_io() x86/alternative: Convert alternative_call() x86/alternative: Convert alternative_call_2() x86/alternative: Convert ALTERNATIVE_TERNARY() x86/alternative: Convert ALTERNATIVE_3() x86/alternative: Convert the asm ALTERNATIVE() macro x86/alternative: Convert the asm ALTERNATIVE_2() macro x86/alternative: Convert the asm ALTERNATIVE_3() macro x86/alternative: Replace the old macros
Peter Zijlstra (1):
x86/alternatives: Add nested alternatives macros
arch/x86/include/asm/alternative.h | 214 ++++++++--------------------- arch/x86/kernel/alternative.c | 20 ++- arch/x86/kernel/fpu/xstate.h | 6 +- tools/objtool/arch/x86/special.c | 23 ++++ tools/objtool/special.c | 16 +-- 5 files changed, 113 insertions(+), 166 deletions(-)
Signature · 1 line
2.43.0