Skip to content

TCG support for XSAVE, MPX, FSGSBASE

Richard Henderson qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16target-i386: Split fxsave/fxrstor implementationtarget-i386/fpu_helper.c target-i386/helper.h target-i386/translate.c+101 -820 replies
2/16target-i386: Rearrange processing of 0F 01target-i386/translate.c+247 -2170 replies
3/16target-i386: Rearrange processing of 0F AEtarget-i386/translate.c+72 -510 replies
4/16target-i386: Add XSAVE extensiontarget-i386/cpu.c target-i386/fpu_helper.c target-i386/helper.c +3 more+241 -240 replies
5/16target-i386: Implement XSAVEOPTtarget-i386/cpu.c target-i386/fpu_helper.c target-i386/helper.h +1 more+43 -110 replies
6/16target-i386: Enable control registers for MPXtarget-i386/Makefile.objs target-i386/cpu.c target-i386/cpu.h +7 more+189 -260 replies
7/16target-i386: Perform set/reset_inhibit_irq inlinetarget-i386/cc_helper.c target-i386/helper.h target-i386/translate.c+28 -210 replies
8/16target-i386: Split up gen_lea_modrmtarget-i386/translate.c+85 -1140 replies
9/16target-i386: Implement BNDMKtarget-i386/translate.c+57 -10 replies
10/16target-i386: Implement BNDMOVtarget-i386/translate.c+72 -10 replies
11/16target-i386: Implement BNDCL, BNDCU, BNDCNtarget-i386/helper.h target-i386/mpx_helper.c target-i386/translate.c+53 -10 replies
12/16target-i386: Update BNDSTATUS for exceptions raised by BOUNDtarget-i386/mem_helper.c+6 -00 replies
13/16target-i386: Implement BNDLDX, BNDSTXtarget-i386/helper.h target-i386/mpx_helper.c target-i386/translate.c+158 -00 replies
14/16target-i386: Clear bndregs during legacy near jumpstarget-i386/helper.h target-i386/mpx_helper.c target-i386/translate.c+29 -00 replies
15/16target-i386: Enable CR4/XCR0 features for user-modetarget-i386/cpu.c+22 -20 replies
16/16target-i386: Implement FSGSBASEtarget-i386/cpu.c target-i386/helper.h target-i386/int_helper.c +1 more+50 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/16] TCG support for XSAVE, MPX, FSGSBASE

This is a refresh of the patch set I posted back in December.

Patch 3 is new, removing the tangle of decoding that was required to implement patch 4.

Patch 16 is new, adding support for the FSGSBASE extension.

r~

Richard Henderson (16):
target-i386: Split fxsave/fxrstor implementation
target-i386: Rearrange processing of 0F 01
target-i386: Rearrange processing of 0F AE
target-i386: Add XSAVE extension
target-i386: Implement XSAVEOPT
target-i386: Enable control registers for MPX
target-i386: Perform set/reset_inhibit_irq inline
target-i386: Split up gen_lea_modrm
target-i386: Implement BNDMK
target-i386: Implement BNDMOV
target-i386: Implement BNDCL, BNDCU, BNDCN
target-i386: Update BNDSTATUS for exceptions raised by BOUND
target-i386: Implement BNDLDX, BNDSTX
target-i386: Clear bndregs during legacy near jumps
target-i386: Enable CR4/XCR0 features for user-mode
target-i386: Implement FSGSBASE

 target-i386/Makefile.objs |    2 +-
 target-i386/cc_helper.c   |   10 -
 target-i386/cpu.c         |   91 ++--
 target-i386/cpu.h         |   21 +-
 target-i386/fpu_helper.c  |  396 ++++++++++++---
 target-i386/helper.c      |   14 +-
 target-i386/helper.h      |   19 +-
 target-i386/int_helper.c  |   10 +
 target-i386/kvm.c         |   34 +-
 target-i386/mem_helper.c  |    6 +
 target-i386/misc_helper.c |    9 +
 target-i386/mpx_helper.c  |  166 +++++++
 target-i386/smm_helper.c  |    4 +
 target-i386/translate.c   | 1200 ++++++++++++++++++++++++++++++---------------
 14 files changed, 1441 insertions(+), 541 deletions(-)
 create mode 100644 target-i386/mpx_helper.c
Signature · 1 line
2.5.0