qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 00/12] icount and misc MTTCG fixes for 2.9-rc4
@ 2017-04-07 15:42 Alex Bennée
  2017-04-07 15:42 ` [Qemu-devel] [PATCH v3 01/12] scripts/qemugdb/mtree.py: fix up mtree dump Alex Bennée
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Alex Bennée @ 2017-04-07 15:42 UTC (permalink / raw)
  To: dovgaluk, rth, pbonzini
  Cc: peter.maydell, qemu-devel, mttcg, fred.konrad, a.rigo, cota,
	bobby.prani, nikunj, Alex Bennée

Hi,

This doesn't change much from v2 earlier this week:

  https://lists.nongnu.org/archive/html/qemu-devel/2017-04/msg00661.html

There was a minor improvement to the cpu_update_icount to not use a
potentially expensive atomic_add (which is CST) when you can get away
with weaker semantics with a single writer.

I've also fixed a compile error on 32bit guests. It only falls back to
non-atomic code if CONFIG_ATOMIC64 is not set which isn't the case for
ARMv7 as it can use load/store-exclusive pair to do the operation.
This does require using the __no_check atomic variants though.

I still plan to roll a pull-request on Monday and get it sent to Peter
in good time for cutting -rc4.

Cheers,


Alex Bennée (12):
  scripts/qemugdb/mtree.py: fix up mtree dump
  scripts/qemu-gdb/timers.py: new helper to dump timer state
  scripts/replay-dump.py: replay log dumper
  target/i386/misc_helper: wrap BQL around another IRQ generator
  cpus: remove icount handling from qemu_tcg_cpu_thread_fn
  cpus: check cpu->running in cpu_get_icount_raw()
  cpus: move icount preparation out of tcg_exec_cpu
  cpus: don't credit executed instructions before they have run
  cpus: introduce cpu_update_icount helper
  cpu-exec: update icount after each TB_EXIT
  cpus: call cpu_update_icount on read
  replay: assert time only goes forward

 cpu-exec.c                |  14 +--
 cpus.c                    | 109 ++++++++++++++-----
 include/qemu/timer.h      |   1 +
 include/qom/cpu.h         |   1 +
 replay/replay-internal.c  |   4 +
 replay/replay.c           |   4 +
 scripts/qemu-gdb.py       |   3 +-
 scripts/qemugdb/mtree.py  |  12 +-
 scripts/qemugdb/timers.py |  54 +++++++++
 scripts/replay-dump.py    | 272 ++++++++++++++++++++++++++++++++++++++++++++++
 target/i386/misc_helper.c |   3 +
 11 files changed, 437 insertions(+), 40 deletions(-)
 create mode 100644 scripts/qemugdb/timers.py
 create mode 100755 scripts/replay-dump.py

-- 
2.11.0

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-04-07 15:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-07 15:42 [Qemu-devel] [PATCH v3 00/12] icount and misc MTTCG fixes for 2.9-rc4 Alex Bennée
2017-04-07 15:42 ` [Qemu-devel] [PATCH v3 01/12] scripts/qemugdb/mtree.py: fix up mtree dump Alex Bennée
2017-04-07 15:42 ` [Qemu-devel] [PATCH v3 02/12] scripts/qemu-gdb/timers.py: new helper to dump timer state Alex Bennée
2017-04-07 15:42 ` [Qemu-devel] [PATCH v3 03/12] scripts/replay-dump.py: replay log dumper Alex Bennée
2017-04-07 15:42 ` [Qemu-devel] [PATCH v3 04/12] target/i386/misc_helper: wrap BQL around another IRQ generator Alex Bennée
2017-04-07 15:42 ` [Qemu-devel] [PATCH v3 05/12] cpus: remove icount handling from qemu_tcg_cpu_thread_fn Alex Bennée
2017-04-07 15:42 ` [Qemu-devel] [PATCH v3 06/12] cpus: check cpu->running in cpu_get_icount_raw() Alex Bennée
2017-04-07 15:42 ` [Qemu-devel] [PATCH v3 07/12] cpus: move icount preparation out of tcg_exec_cpu Alex Bennée
2017-04-07 15:42 ` [Qemu-devel] [PATCH v3 08/12] cpus: don't credit executed instructions before they have run Alex Bennée
2017-04-07 15:42 ` [Qemu-devel] [PATCH v3 09/12] cpus: introduce cpu_update_icount helper Alex Bennée
2017-04-07 15:42 ` [Qemu-devel] [PATCH v3 10/12] cpu-exec: update icount after each TB_EXIT Alex Bennée
2017-04-07 15:42 ` [Qemu-devel] [PATCH v3 11/12] cpus: call cpu_update_icount on read Alex Bennée
2017-04-07 15:42 ` [Qemu-devel] [PATCH v3 12/12] replay: assert time only goes forward Alex Bennée

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).