All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-6.2 0/2] target/sparc: Drop use of gen_io_end()
@ 2021-07-24 13:49 Peter Maydell
  2021-07-24 13:49 ` [PATCH for-6.2 1/2] " Peter Maydell
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Peter Maydell @ 2021-07-24 13:49 UTC (permalink / raw)
  To: qemu-devel; +Cc: Richard Henderson, Mark Cave-Ayland, Artyom Tarasenko

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


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

end of thread, other threads:[~2021-09-01  8:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-24 13:49 [PATCH for-6.2 0/2] target/sparc: Drop use of gen_io_end() Peter Maydell
2021-07-24 13:49 ` [PATCH for-6.2 1/2] " 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

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.