From: "Alex Bennée" <alex.bennee@linaro.org>
To: peter.maydell@linaro.org, rth@twiddle.net, cota@braap.org
Cc: qemu-devel@nongnu.org, "Alex Bennée" <alex.bennee@linaro.org>
Subject: [Qemu-devel] [PATCH v2 0/5] arm: fixes for eret, isb and DISAS_UPDATE handling
Date: Mon, 10 Jul 2017 20:21:23 +0100 [thread overview]
Message-ID: <20170710192128.9048-1-alex.bennee@linaro.org> (raw)
Hi,
This is a quick iteration from the previous series:
https://lists.nongnu.org/archive/html/qemu-devel/2017-07/msg02371.html
Which was born out of the fix:
https://lists.nongnu.org/archive/html/qemu-devel/2017-07/msg01831.html
Following feedback I reverted the attempt to use DISAS_UPDATE for
everything and just made it match the semantics of not-chaining. So
patches 1 & 3 are purely documentation.
Patch 2 should prevent any system change prompted by writing to a
system register not exiting the loop.
Patch 4 is a minor optimisation to ISB handling
Patch 5 fixes the eret regression from the DISAS_JUMP optimisation
I think now all users of DISAS_JUMP should be safe with respect to TB
chaining.
Please review.
Alex Bennée (5):
include/exec/exec-all: document common exit conditions
target/arm/translate: make DISAS_UPDATE match declared semantics
target/arm/translate.h: expand comment on DISAS_EXIT
target/arm: use DISAS_JUMP for ISB handling
target/arm: use DISAS_EXIT for eret handling
include/exec/exec-all.h | 29 ++++++++++++++++++++++++++---
target/arm/translate-a64.c | 20 +++++++++++---------
target/arm/translate.c | 24 +++++++++++++++++-------
target/arm/translate.h | 5 ++++-
4 files changed, 58 insertions(+), 20 deletions(-)
--
2.13.0
next reply other threads:[~2017-07-10 19:22 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-10 19:21 Alex Bennée [this message]
2017-07-10 19:21 ` [Qemu-devel] [PATCH v2 1/5] include/exec/exec-all: document common exit conditions Alex Bennée
2017-07-10 19:21 ` [Qemu-devel] [PATCH v2 2/5] target/arm/translate: make DISAS_UPDATE match declared semantics Alex Bennée
2017-07-10 19:32 ` Richard Henderson
2017-07-10 19:21 ` [Qemu-devel] [PATCH v2 3/5] target/arm/translate.h: expand comment on DISAS_EXIT Alex Bennée
2017-07-10 19:52 ` Richard Henderson
2017-07-10 19:21 ` [Qemu-devel] [PATCH v2 4/5] target/arm: use DISAS_JUMP for ISB handling Alex Bennée
2017-07-10 19:43 ` Richard Henderson
2017-07-11 8:27 ` Alex Bennée
2017-07-11 17:08 ` Richard Henderson
2017-07-10 19:21 ` [Qemu-devel] [PATCH v2 5/5] target/arm: use DISAS_EXIT for eret handling Alex Bennée
2017-07-10 19:58 ` Richard Henderson
2017-07-10 22:07 ` Peter Maydell
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=20170710192128.9048-1-alex.bennee@linaro.org \
--to=alex.bennee@linaro.org \
--cc=cota@braap.org \
--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 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).