Skip to content

Assembly coroutine backend and x86 CET support

Paolo Bonzini qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9qemugdb: allow adding support for other coroutine backendsscripts/qemugdb/coroutine.py scripts/qemugdb/coroutine_ucontext.py+100 -750 replies
2/9qemugdb: allow adding support for other architecturesscripts/qemugdb/coroutine.py scripts/qemugdb/coroutine_ucontext.py+4 -40 replies
3/9coroutine: add host specific coroutine backend for 64-bit x86configure scripts/qemugdb/coroutine.py scripts/qemugdb/coroutine_asm.py +2 more+264 -21 reply
4/9coroutine: add host specific coroutine backend for 64-bit ARMconfigure scripts/qemugdb/coroutine_asm.py util/Makefile.objs +1 more+56 -22 replies
5/9coroutine: add host specific coroutine backend for 64-bit s390util/coroutine-asm.c+35 -11 reply
6/9configure: add control-flow protection supportMakefile.target configure util/Makefile.objs+37 -00 replies
7/9tcg: add tcg_out_starttcg/aarch64/tcg-target.inc.c tcg/arm/tcg-target.inc.c tcg/i386/tcg-target.inc.c +7 more+38 -00 replies
8/9tcg/i386: add support for IBTMakefile.target configure include/qemu/cpuid.h +1 more+35 -01 reply
9/9linux-user: add IBT support to x86 safe-syscall.Slinux-user/host/i386/safe-syscall.inc.S linux-user/host/x86_64/safe-syscall.inc.S+38 -00 replies

Reviews trailers per patch

5 of 9 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRichard HendersonStefan Hajnoczi
SeriesR-b
1/9
2/9
3/9R-b
4/9R-b
5/9
6/9
7/9R-b
8/9R-b
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/9] Assembly coroutine backend and x86 CET support

*** BLURB HERE ***

Paolo Bonzini (10):
qemugdb: allow adding support for other coroutine backends
qemugdb: allow adding support for other architectures
coroutine: add host specific coroutine backend for 64-bit x86
coroutine: add host specific coroutine backend for 64-bit ARM
coroutine: add host specific coroutine backend for 64-bit s390
configure: add control-flow protection support
tcg: add tcg_out_start
tcg/i386: add support for IBT
linux-user: add IBT support to x86 safe-syscall.S
coroutine-asm: add x86 CET shadow stack support

 Makefile.target                           |   5 +
 configure                                 |  62 ++++
 include/qemu/cpuid.h                      |   5 +
 linux-user/host/i386/safe-syscall.inc.S   |  19 ++
 linux-user/host/x86_64/safe-syscall.inc.S |  19 ++
 scripts/qemugdb/coroutine.py              | 107 ++----
 scripts/qemugdb/coroutine_asm.py          |  24 ++
 scripts/qemugdb/coroutine_ucontext.py     |  69 ++++
 tcg/aarch64/tcg-target.inc.c              |   4 +
 tcg/arm/tcg-target.inc.c                  |   4 +
 tcg/i386/tcg-target.inc.c                 |  23 ++
 tcg/mips/tcg-target.inc.c                 |   4 +
 tcg/ppc/tcg-target.inc.c                  |   4 +
 tcg/riscv/tcg-target.inc.c                |   4 +
 tcg/s390/tcg-target.inc.c                 |   4 +
 tcg/sparc/tcg-target.inc.c                |   4 +
 tcg/tcg.c                                 |   2 +
 tcg/tci/tcg-target.inc.c                  |   4 +
 util/Makefile.objs                        |  10 +
 util/coroutine-asm.c                      | 387 ++++++++++++++++++++++
 20 files changed, 689 insertions(+), 75 deletions(-)
 create mode 100644 scripts/qemugdb/coroutine_asm.py
 create mode 100644 scripts/qemugdb/coroutine_ucontext.py
 create mode 100644 util/coroutine-asm.c
Signature · 1 line
2.21.0