Skip to content

RFC Atomic slow-path for mttcg

Alvise Rigo qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 RFC Latest6 patches 0 repliesNew

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6cpus: async_run_on_cpu: kick only if neededcpus.c+3 -10 replies
2/6cputlb: wrap tlb_flush with the a new functioncputlb.c include/exec/exec-all.h include/qom/cpu.h+21 -50 replies
3/6exec: ram_addr: Fix exclusive bitmap accessorinclude/exec/ram_addr.h+51 -100 replies
4/6softmmu_llsc_template.h: move to multithreadingcputlb.c softmmu_llsc_template.h+48 -150 replies
5/6softmmu_template.h: move to multithreadingsoftmmu_template.h+30 -60 replies
6/6target-arm: Use a runtime helper for excl accessestarget-arm/helper.h target-arm/op_helper.c target-arm/translate.c+24 -10 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [Qemu-devel] [mttcg RFC v4 0/6] Atomic slow-path for mttcg

This is just an update with the relevant patches needed to port the v4 of "Slow-path for atomic instruction translation" to mttcg v7. The full source code is available at the following GIT repository:
https://git.virtualopensystems.com/dev/qemu-mt.git
branch:
slowpath-for-atomic-v4-mttcg

The [PATCH 6/6] is the first step to use runtime helpers in place of the TCG load/store instructions as suggested by Aurelien Jarno.

The patch-series addresses also some of the Paolo's comments, however the exclusive bitmap is still using one bit for each vCPU.

Alvise Rigo (6):
cpus: async_run_on_cpu: kick only if needed
cputlb: wrap tlb_flush with the a new function
exec: ram_addr: Fix exclusive bitmap accessor softmmu_llsc_template.h: move to multithreading softmmu_template.h: move to multithreading
target-arm: Use a runtime helper for excl accesses

 cpus.c                  |  4 +++-
 cputlb.c                | 25 ++++++++++++++++----
 include/exec/exec-all.h |  1 +
 include/exec/ram_addr.h | 61 +++++++++++++++++++++++++++++++++++++++++--------
 include/qom/cpu.h       |  4 ++++
 softmmu_llsc_template.h | 59 +++++++++++++++++++++++++++++++++++------------
 softmmu_template.h      | 36 ++++++++++++++++++++++++-----
 target-arm/helper.h     |  2 ++
 target-arm/op_helper.c  | 11 +++++++++
 target-arm/translate.c  | 12 +++++++++-
 10 files changed, 177 insertions(+), 38 deletions(-)
Signature · 1 line
2.5.0