From: "Alex Bennée" <alex.bennee@linaro.org>
To: dovgaluk@ispras.ru, rth@twiddle.net, pbonzini@redhat.com
Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org,
mttcg@listserver.greensocs.com, fred.konrad@greensocs.com,
a.rigo@virtualopensystems.com, cota@braap.org,
bobby.prani@gmail.com, nikunj@linux.vnet.ibm.com,
"Alex Bennée" <alex.bennee@linaro.org>
Subject: [Qemu-devel] [PATCH v3 00/12] icount and misc MTTCG fixes for 2.9-rc4
Date: Fri, 7 Apr 2017 16:42:09 +0100 [thread overview]
Message-ID: <20170407154221.26918-1-alex.bennee@linaro.org> (raw)
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
next reply other threads:[~2017-04-07 15:42 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-07 15:42 Alex Bennée [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170407154221.26918-1-alex.bennee@linaro.org \
--to=alex.bennee@linaro.org \
--cc=a.rigo@virtualopensystems.com \
--cc=bobby.prani@gmail.com \
--cc=cota@braap.org \
--cc=dovgaluk@ispras.ru \
--cc=fred.konrad@greensocs.com \
--cc=mttcg@listserver.greensocs.com \
--cc=nikunj@linux.vnet.ibm.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.