x86/alternatives: Adjust all insn-relative fields
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 9 repliesIn review
- v16 patches 16 repliesSuperseded
Changes in v2 from the cover letter
Most work is in patch 1 and the new patch 2 (userspace harness). Other patches with minor or no change.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | x86: Introduce x86_decode_lite()xen/ xen/ xen/ +1 more | +333 | 3 replies | |
| 2/7 | tests/x86: Introduce a userspace test harness for x86_decode_lite()tools/ tools/ tools/ +4 more | +940 | 3 replies | |
| 3/7 | x86/alternative: Walk all replacements during self testsxen/ | +52 | 0 replies | |
| 4/7 | x86/alternative: Indent the relocation logicxen/ | +63 | 0 replies | |
| 5/7 | x86/alternative: Replace a continue with a gotoxen/ | +10 | 0 replies | |
| 6/7 | x86/alternative: Relocate all insn-relative fieldsxen/ | +38 | 1 reply | |
| 7/7 | x86/spec-ctrl: Introduce and use DO_COND_BHB_SEQxen/ xen/ | +30 | 1 reply |
Reviews trailers per patch
5 of 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jan Beulich | Frediano Ziglio |
|---|---|---|
| Series | R-b | |
| 1/7 | ||
| 2/7 | ||
| 3/7 | R-b | |
| 4/7 | A-b | |
| 5/7 | A-b | |
| 6/7 | R-b | |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/7] x86/alternatives: Adjust all insn-relative fields
Alternatives have had a reasonably severe restriction since their introduction. This has been the source of several bugs, and several inefficiencies particularly in the speculative safety paths.
v2:
Most work is in patch 1 and the new patch 2 (userspace harness). Other patches with minor or no change.
Andrew Cooper (7):
x86: Introduce x86_decode_lite()
tests/x86: Introduce a userspace test harness for x86_decode_lite() x86/alternative: Walk all replacements during self tests x86/alternative: Indent the relocation logic x86/alternative: Replace a continue with a goto x86/alternative: Relocate all insn-relative fields x86/spec-ctrl: Introduce and use DO_COND_BHB_SEQ
tools/tests/Makefile | 1 + tools/tests/x86-decode-lite/.gitignore | 1 + tools/tests/x86-decode-lite/Makefile | 45 ++ tools/tests/x86-decode-lite/insns.S | 703 ++++++++++++++++++++++ tools/tests/x86-decode-lite/macro-magic.h | 52 ++ tools/tests/x86-decode-lite/main.c | 111 ++++ tools/tests/x86-decode-lite/x86-emulate.h | 27 + xen/arch/x86/alternative.c | 213 +++++-- xen/arch/x86/hvm/vmx/entry.S | 12 +- xen/arch/x86/include/asm/spec_ctrl_asm.h | 43 +- xen/arch/x86/x86_emulate/Makefile | 6 + xen/arch/x86/x86_emulate/decode-lite.c | 311 ++++++++++ xen/arch/x86/x86_emulate/private.h | 2 + xen/arch/x86/x86_emulate/x86_emulate.h | 14 + 14 files changed, 1456 insertions(+), 85 deletions(-) create mode 100644 tools/tests/x86-decode-lite/.gitignore create mode 100644 tools/tests/x86-decode-lite/Makefile create mode 100644 tools/tests/x86-decode-lite/insns.S create mode 100644 tools/tests/x86-decode-lite/macro-magic.h create mode 100644 tools/tests/x86-decode-lite/main.c create mode 100644 tools/tests/x86-decode-lite/x86-emulate.h create mode 100644 xen/arch/x86/x86_emulate/decode-lite.c
Signature · 1 line
2.39.5