target-i386: Implement MPX extension
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | target-i386: Split fxsave/fxrstor implementationtarget-i386/ target-i386/ target-i386/ | +90 | 0 replies | |
| 2/14 | target-i386: Rearrange processing of 0F 01target-i386/ | +247 | 0 replies | |
| 3/14 | target-i386: Add XSAVE extensiontarget-i386/ target-i386/ target-i386/ +4 more | +245 | 1 reply | |
| 4/14 | target-i386: Implement XSAVEOPTtarget-i386/ target-i386/ target-i386/ +1 more | +49 | 2 replies | |
| 5/14 | target-i386: Enable control registers for MPXtarget-i386/ target-i386/ target-i386/ +7 more | +179 | 7 replies | |
| 6/14 | target-i386: Perform set/reset_inhibit_irq inlinetarget-i386/ target-i386/ target-i386/ | +28 | 0 replies | |
| 7/14 | target-i386: Split up gen_lea_modrmtarget-i386/ | +85 | 0 replies | |
| 8/14 | target-i386: Implement BNDMKtarget-i386/ | +53 | 0 replies | |
| 9/14 | target-i386: Implement BNDMOVtarget-i386/ | +72 | 0 replies | |
| 10/14 | target-i386: Implement BNDCL, BNDCU, BNDCNtarget-i386/ target-i386/ target-i386/ | +55 | 0 replies | |
| 11/14 | target-i386: Update BNDSTATUS for exceptions raised by BOUNDtarget-i386/ | +6 | 0 replies | |
| 12/14 | target-i386: Implement BNDLDX, BNDSTXtarget-i386/ target-i386/ target-i386/ | +158 | 0 replies | |
| 13/14 | target-i386: Clear bndregs during legacy near jumpstarget-i386/ | +25 | 0 replies | |
| 14/14 | target-i386: Enable XCR0 features for user-modetarget-i386/ | +20 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 00/14] target-i386: Implement MPX extension
I'm still in the process of testing this, as there's no code written for it yet and hardware to compare against doesn't start shipping until (probably) August.
But in the meantime there are a number of holes that I found in XSAVE support that might affect KVM, and one question wrt SMM support that affects MPX. So I thought I'd get some feedback on this sooner than later.
This patch set depends on the addressing cleanup patchset that I just posted. It ought to depend on Pavel Dovgalyuk's exception handling cleanup patchset, but I haven't included that in my tree.
Comments?
r~
Richard Henderson (14):
target-i386: Split fxsave/fxrstor implementation
target-i386: Rearrange processing of 0F 01
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 XCR0 features for user-mode
target-i386/Makefile.objs | 2 +- target-i386/cc_helper.c | 10 - target-i386/cpu.c | 81 ++-- target-i386/cpu.h | 23 +- target-i386/fpu_helper.c | 354 ++++++++++++--- target-i386/helper.c | 17 +- target-i386/helper.h | 17 +- target-i386/kvm.c | 21 +- target-i386/mem_helper.c | 6 + target-i386/misc_helper.c | 9 + target-i386/mpx_helper.c | 152 +++++++ target-i386/smm_helper.c | 4 + target-i386/translate.c | 1063 ++++++++++++++++++++++++++++++--------------- 13 files changed, 1297 insertions(+), 462 deletions(-) create mode 100644 target-i386/mpx_helper.c
Signature · 1 line
2.4.3