x86: Use macros for selectors in asm
Status from this message: Applied to kvm-x86 next (and now pulled by Paolo), with the fixup to use KERNEL_CS
Get series with b4
b4 am [email protected]Versions newest first
v2 from the cover letter
- Commit to using __ASSEMBLER__.
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | x86: Move descriptor table selector #defines to the top of desc.hlib/ | +57 | 0 replies | |
| 2/3 | x86: Commit to using __ASSEMBLER__ instead of __ASSEMBLY__lib/ lib/ | +3 | 0 replies | |
| 3/3 | x86: replace segment selector magic number with macro definitionlib/ x86/ x86/ | +15 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [kvm-unit-tests PATCH 0/3] x86: Use macros for selectors in asm
Use macros for segment selectors in assembly instead of open coded literals.
v2:
- Commit to using __ASSEMBLER__.
v1: https://lore.kernel.org/all/[email protected]
Hang SU (1):
x86: replace segment selector magic number with macro definition
Sean Christopherson (2):
x86: Move descriptor table selector #defines to the top of desc.h
x86: Commit to using __ASSEMBLER__ instead of __ASSEMBLY__
lib/x86/asm/page.h | 4 +- lib/x86/desc.h | 123 +++++++++++++++++++++++---------------------- x86/cstart64.S | 8 +-- x86/trampolines.S | 8 +-- 4 files changed, 75 insertions(+), 68 deletions(-)
base-commit: f77fb696cfd0e4a5562cdca189be557946bf522f
Signature · 1 line
2.48.1.601.g30ceb7b040-goog