Skip to content

x86/asm: .byte removal

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86/xstate: Deindent the logic in xrstor()xen/arch/x86/xstate.c+68 -631 reply
2/4x86/xstate: Rework XSAVE/XRSTOR given a newer toolchain baselinexen/arch/x86/xstate.c+36 -419 replies
3/4x86/i387: Rework fpu_fxrstor() given a newer toolchain baselinexen/arch/x86/i387.c+29 -364 replies
4/4x86: Avoid using .byte for instructions where safe to do soxen/arch/x86/arch.mk xen/arch/x86/include/asm/asm-defns.h xen/arch/x86/include/asm/msr.h +4 more+26 -292 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchJan Beulich
1/4A-b
2/4
3/4A-b
4/4

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 0/4] x86/asm: .byte removal

The remaining conversion of .byte to real instructions following the toolchain upgrade.

https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/2237162011

Andrew Cooper (4):
x86/xstate: Deindent the logic in xrstor() x86/xstate: Rework XSAVE/XRSTOR given a newer toolchain baseline x86/i387: Rework fpu_fxrstor() given a newer toolchain baseline
x86: Avoid using .byte for instructions where safe to do so

 xen/arch/x86/arch.mk                   |   4 +
 xen/arch/x86/i387.c                    |  65 ++++-----
 xen/arch/x86/include/asm/asm-defns.h   |   4 -
 xen/arch/x86/include/asm/msr.h         |   2 +
 xen/arch/x86/include/asm/prot-key.h    |   6 +-
 xen/arch/x86/include/asm/xstate.h      |   3 +-
 xen/arch/x86/x86_emulate/0f01.c        |   2 +-
 xen/arch/x86/x86_emulate/x86_emulate.c |  34 +++--
 xen/arch/x86/xstate.c                  | 176 ++++++++++++-------------
 9 files changed, 143 insertions(+), 153 deletions(-)
Signature · 1 line
2.39.5