qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] Replace remaining target_ulong in system-mode accel
@ 2023-07-21 20:58 Anton Johansson via
  2023-07-21 20:58 ` [PATCH 1/9] accel/kvm: Widen pc/saved_insn for kvm_sw_breakpoint Anton Johansson via
                   ` (8 more replies)
  0 siblings, 9 replies; 19+ messages in thread
From: Anton Johansson via @ 2023-07-21 20:58 UTC (permalink / raw)
  To: qemu-devel
  Cc: ale, richard.henderson, pbonzini, philmd, agraf, dirty,
	rbolshakov, anielhb413, pasic, borntraeger, palmer,
	alistair.francis, bin.meng, ysato, peter.maydell

This patchset replaces the remaining uses of target_ulong in the accel/
directory.  Specifically, the address type of a few kvm/hvf functions
is widened to vaddr, and the address type of the cpu_[st|ld]*()
functions is changed to abi_ptr (which is re-typedef'd to vaddr in
system mode).

As a starting point, my goal is to be able to build cputlb.c once for
system mode, and this is a step in that direction by reducing the
target-dependence of accel/.

Anton Johansson (9):
  accel/kvm: Widen pc/saved_insn for kvm_sw_breakpoint
  accel/hvf: Widen pc/saved_insn for hvf_sw_breakpoint
  target: Use vaddr for kvm_arch_[insert|remove]_hw_breakpoint
  target: Use vaddr for hvf_arch_[insert|remove]_hw_breakpoint
  Replace target_ulong with abi_ptr in cpu_[st|ld]*()
  include/exec: typedef abi_ptr to vaddr in softmmu
  include/exec: Widen tlb_hit/tlb_hit_page()
  accel/tcg: Widen address arg. in tlb_compare_set()
  accel/tcg: Update run_on_cpu_data static assert

 accel/tcg/atomic_template.h  | 16 ++++++++--------
 include/exec/cpu-all.h       |  4 ++--
 include/exec/cpu_ldst.h      | 28 ++++++++++++++--------------
 include/sysemu/hvf.h         | 12 +++++-------
 include/sysemu/kvm.h         | 12 +++++-------
 accel/hvf/hvf-accel-ops.c    |  4 ++--
 accel/hvf/hvf-all.c          |  2 +-
 accel/kvm/kvm-all.c          |  3 +--
 accel/tcg/cputlb.c           | 17 +++++++++--------
 target/arm/hvf/hvf.c         | 14 ++++++++------
 target/arm/kvm64.c           | 16 ++++++++--------
 target/i386/hvf/hvf.c        |  4 ++--
 target/i386/kvm/kvm.c        | 15 +++++++--------
 target/ppc/kvm.c             | 15 +++++++--------
 target/riscv/vector_helper.c |  2 +-
 target/rx/op_helper.c        |  6 +++---
 target/s390x/kvm/kvm.c       | 11 +++++------
 17 files changed, 88 insertions(+), 93 deletions(-)

--
2.41.0


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

end of thread, other threads:[~2023-07-28  0:50 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-21 20:58 [PATCH 0/9] Replace remaining target_ulong in system-mode accel Anton Johansson via
2023-07-21 20:58 ` [PATCH 1/9] accel/kvm: Widen pc/saved_insn for kvm_sw_breakpoint Anton Johansson via
2023-07-27 19:21   ` Richard Henderson
2023-07-21 20:58 ` [PATCH 2/9] accel/hvf: Widen pc/saved_insn for hvf_sw_breakpoint Anton Johansson via
2023-07-27 19:25   ` Richard Henderson
2023-07-21 20:58 ` [PATCH 3/9] target: Use vaddr for kvm_arch_[insert|remove]_hw_breakpoint Anton Johansson via
2023-07-27 19:27   ` Richard Henderson
2023-07-21 20:58 ` [PATCH 4/9] target: Use vaddr for hvf_arch_[insert|remove]_hw_breakpoint Anton Johansson via
2023-07-27 19:29   ` Richard Henderson
2023-07-21 20:58 ` [PATCH 5/9] Replace target_ulong with abi_ptr in cpu_[st|ld]*() Anton Johansson via
2023-07-27 23:48   ` Richard Henderson
2023-07-21 20:58 ` [PATCH 6/9] include/exec: typedef abi_ptr to vaddr in softmmu Anton Johansson via
2023-07-27 23:51   ` Richard Henderson
2023-07-21 20:58 ` [PATCH 7/9] include/exec: Widen tlb_hit/tlb_hit_page() Anton Johansson via
2023-07-27 23:52   ` Richard Henderson
2023-07-21 20:58 ` [PATCH 8/9] accel/tcg: Widen address arg. in tlb_compare_set() Anton Johansson via
2023-07-27 23:53   ` Richard Henderson
2023-07-21 20:58 ` [PATCH 9/9] accel/tcg: Update run_on_cpu_data static assert Anton Johansson via
2023-07-27 23:53   ` Richard Henderson

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