qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] accel/tcg: refactor the cpu-exec loop
@ 2023-03-20 10:10 Alex Bennée
  2023-03-20 10:10 ` [PATCH 01/10] metadata: add .git-blame-ignore-revs Alex Bennée
                   ` (9 more replies)
  0 siblings, 10 replies; 40+ messages in thread
From: Alex Bennée @ 2023-03-20 10:10 UTC (permalink / raw)
  To: Alessandro Di Federico, Philippe Mathieu-Daudé, qemu-devel
  Cc: Richard Henderson, Paolo Bonzini, Eduardo Habkost,
	Alex Bennée

This is an RFC for something I was playing with over the weekend to
try and reduce target specific details polluting cpu-exec. In the end
it does get rid of TARGET_I386 #ifdef'ery but I couldn't go further to
just building one version of cpu-exec-user and cpu-exec-softmmu
because there are still per target differences.

Anyway what do people think?

Alex Bennée (10):
  metadata: add .git-blame-ignore-revs
  accel/tcg: move cpu_reloading_memory_map into cpu-exec-softmmu
  accel/tcg: move i386 halt handling to sysemu_ops
  accel/tcg: don't bother with ifdef for CPU_DUMP_CCOP
  accel/tcg: remove the fake_user_interrupt guards
  includes: move irq definitions out of cpu-all.h
  accel/tcg: use QEMU_IOTHREAD_LOCK_GUARD to cover the exit
  accel/tcg: push i386 specific hacks into handle_cpu_interrupt callback
  accel/tcg: re-inline the filtering of virtual IRQs but data driven
  accel/tcg: remove unused includes

 include/exec/cpu-all.h           |  52 +--------------
 include/exec/cpu-irq.h           |  83 +++++++++++++++++++++++
 include/exec/poison.h            |  13 ----
 include/hw/core/sysemu-cpu-ops.h |  16 +++++
 include/hw/core/tcg-cpu-ops.h    |   7 +-
 target/i386/cpu-internal.h       |   2 +
 accel/tcg/cpu-exec-common.c      |  30 ---------
 accel/tcg/cpu-exec-softmmu.c     |  66 +++++++++++++++++++
 accel/tcg/cpu-exec.c             | 109 ++++++++++---------------------
 target/i386/cpu-sysemu.c         |  29 ++++++++
 target/i386/cpu.c                |   2 +
 target/i386/tcg/tcg-cpu.c        |   1 +
 .git-blame-ignore-revs           |  18 +++++
 accel/tcg/meson.build            |  10 +++
 14 files changed, 267 insertions(+), 171 deletions(-)
 create mode 100644 include/exec/cpu-irq.h
 create mode 100644 accel/tcg/cpu-exec-softmmu.c
 create mode 100644 .git-blame-ignore-revs

-- 
2.39.2



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

end of thread, other threads:[~2023-03-23  0:03 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-20 10:10 [PATCH 00/10] accel/tcg: refactor the cpu-exec loop Alex Bennée
2023-03-20 10:10 ` [PATCH 01/10] metadata: add .git-blame-ignore-revs Alex Bennée
2023-03-21 14:17   ` Philippe Mathieu-Daudé
2023-03-20 10:10 ` [PATCH 02/10] accel/tcg: move cpu_reloading_memory_map into cpu-exec-softmmu Alex Bennée
2023-03-20 12:56   ` Claudio Fontana
2023-03-20 13:32     ` Alex Bennée
2023-03-20 14:01       ` Claudio Fontana
2023-03-20 14:33         ` Alex Bennée
2023-03-20 16:14           ` Richard Henderson
2023-03-21 16:07   ` Alessandro Di Federico via
2023-03-20 10:10 ` [PATCH 03/10] accel/tcg: move i386 halt handling to sysemu_ops Alex Bennée
2023-03-20 14:52   ` Philippe Mathieu-Daudé
2023-03-20 17:18     ` Alex Bennée
2023-03-20 15:23   ` Claudio Fontana
2023-03-20 15:34     ` Philippe Mathieu-Daudé
2023-03-21  8:47       ` Claudio Fontana
2023-03-20 17:20     ` Alex Bennée
2023-03-20 10:10 ` [PATCH 04/10] accel/tcg: don't bother with ifdef for CPU_DUMP_CCOP Alex Bennée
2023-03-20 16:16   ` Richard Henderson
2023-03-20 16:17   ` Richard Henderson
2023-03-20 10:10 ` [PATCH 05/10] accel/tcg: remove the fake_user_interrupt guards Alex Bennée
2023-03-20 16:18   ` Richard Henderson
2023-03-20 10:10 ` [PATCH 06/10] includes: move irq definitions out of cpu-all.h Alex Bennée
2023-03-20 16:20   ` Richard Henderson
2023-03-21 16:06   ` Alessandro Di Federico via
2023-03-22  5:25     ` Richard Henderson
2023-03-22 21:15       ` Alessandro Di Federico
2023-03-20 10:10 ` [PATCH 07/10] accel/tcg: use QEMU_IOTHREAD_LOCK_GUARD to cover the exit Alex Bennée
2023-03-20 14:55   ` Philippe Mathieu-Daudé
2023-03-20 16:21   ` Richard Henderson
2023-03-20 10:10 ` [PATCH 08/10] accel/tcg: push i386 specific hacks into handle_cpu_interrupt callback Alex Bennée
2023-03-20 16:27   ` Richard Henderson
2023-03-20 17:14     ` Alex Bennée
2023-03-21  6:04       ` Richard Henderson
2023-03-20 10:10 ` [PATCH 09/10] accel/tcg: re-inline the filtering of virtual IRQs but data driven Alex Bennée
2023-03-20 14:58   ` Philippe Mathieu-Daudé
2023-03-20 16:30   ` Richard Henderson
2023-03-20 10:10 ` [PATCH 10/10] accel/tcg: remove unused includes Alex Bennée
2023-03-20 16:30   ` Richard Henderson
2023-03-21 16:07   ` Alessandro Di Federico via

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).