From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Cc: Richard Henderson <richard.henderson@linaro.org>,
Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
Artyom Tarasenko <atar4qemu@gmail.com>
Subject: [PATCH for-6.2 0/2] target/sparc: Drop use of gen_io_end()
Date: Sat, 24 Jul 2021 14:49:00 +0100 [thread overview]
Message-ID: <20210724134902.7785-1-peter.maydell@linaro.org> (raw)
The sparc frontend is now the only user of the obsolete gen_io_end()
function (used for icount support). This patchset removes the
use from sparc as well, and then tidies up the generic icount
infrastructure to remove the function altogether.
This is for-6.2 material because it's just cleanup.
There is a slight difficulty here with testing this: icount
doesn't seem to work for sparc Linux guests in master at the
moment. For instance if you get the advent calendar image from
https://www.qemu-advent-calendar.org/2018/download/day11.tar.xz
it will boot without icount with a command line like
qemu-system-sparc -display none -vga none -machine SS-20 -serial stdio -kernel /tmp/day11/zImage.elf
But if you add '-icount auto' it will get as far as
"bootconsole [earlyprom0] disabled" and then apparently hang.
I'm not sure what's going on here :-(
(I filed this as https://gitlab.com/qemu-project/qemu/-/issues/499)
Anyway, these patches don't make the situation any worse...
-- PMM
Peter Maydell (2):
target/sparc: Drop use of gen_io_end()
tcg: Drop gen_io_end()
docs/devel/tcg-icount.rst | 3 ---
include/exec/gen-icount.h | 27 ++++++++++-----------------
target/sparc/translate.c | 25 ++++++++++---------------
3 files changed, 20 insertions(+), 35 deletions(-)
--
2.20.1
next reply other threads:[~2021-07-24 13:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-24 13:49 Peter Maydell [this message]
2021-07-24 13:49 ` [PATCH for-6.2 1/2] target/sparc: Drop use of gen_io_end() Peter Maydell
2021-07-25 9:00 ` Mark Cave-Ayland
2021-07-24 13:49 ` [PATCH for-6.2 2/2] tcg: Drop gen_io_end() Peter Maydell
2021-07-24 19:07 ` [PATCH for-6.2 0/2] target/sparc: Drop use of gen_io_end() Richard Henderson
2021-07-24 20:27 ` Peter Maydell
2021-07-24 20:47 ` Richard Henderson
2021-07-25 15:00 ` Peter Maydell
2021-09-01 7:58 ` Peter Maydell
2021-09-01 8:12 ` Mark Cave-Ayland
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=20210724134902.7785-1-peter.maydell@linaro.org \
--to=peter.maydell@linaro.org \
--cc=atar4qemu@gmail.com \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/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).