Skip to content

target/cpu: System/User cleanups around hwaddr/vaddr

Philippe Mathieu-Daudé kvm qemu-arm qemu-devel qemu-riscv 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 7 repliesIn review
  2. v24 patches 2 repliesSuperseded
  3. v14 patches 8 repliesSuperseded

Changes in v3 from the cover letter

- added 'dump' patch
- collected R-b tags

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dump: Include missing "cpu.h" header for tswap32/tswap64() declarationsdump/dump.c+1 -07 replies
2/5cputlb: Restrict SavedIOTLB to system emulationinclude/hw/core/cpu.h+4 -20 replies
3/5gdbstub: Use vaddr type for generic insert/remove_breakpoint() APIaccel/kvm/kvm-all.c accel/kvm/kvm-cpus.h accel/tcg/tcg-accel-ops.c +5 more+17 -180 replies
4/5target/cpu: Restrict cpu_get_phys_page_debug() handlers to sysemutarget/alpha/cpu.h target/arm/cpu.h target/cris/cpu.h +13 more+21 -210 replies
5/5target/cpu: Restrict do_transaction_failed() handlers to sysemutarget/arm/internals.h target/m68k/cpu.h target/riscv/cpu.h+9 -50 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchRichard HendersonFabiano RosasDaniel Henrique Barboza
1/5R-b
2/5R-b
3/5R-b R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/5] target/cpu: System/User cleanups around hwaddr/vaddr

Missing review: #1

We are not supposed to use the 'hwaddr' type on user emulation.

This series is a preparatory cleanup before few refactors to isolate further System vs User code.

Since v1:
- only restrict SavedIOTLB in header (Alex)
- convert insert/remove_breakpoint implementations (Peter)

Since v2:
- added 'dump' patch
- collected R-b tags

Philippe Mathieu-Daudé (5):
dump: Include missing "cpu.h" header for tswap32/tswap64()
declarations
cputlb: Restrict SavedIOTLB to system emulation
gdbstub: Use vaddr type for generic insert/remove_breakpoint() API target/cpu: Restrict cpu_get_phys_page_debug() handlers to sysemu target/cpu: Restrict do_transaction_failed() handlers to sysemu

 accel/kvm/kvm-all.c        |  4 ++--
 accel/kvm/kvm-cpus.h       |  4 ++--
 accel/tcg/tcg-accel-ops.c  |  4 ++--
 dump/dump.c                |  1 +
 gdbstub/gdbstub.c          |  1 -
 gdbstub/internals.h        |  6 ++++--
 gdbstub/softmmu.c          |  5 ++---
 gdbstub/user.c             |  5 ++---
 include/hw/core/cpu.h      |  6 ++++--
 include/sysemu/accel-ops.h |  6 +++---
 target/alpha/cpu.h         |  2 +-
 target/arm/cpu.h           |  2 +-
 target/arm/internals.h     |  2 ++
 target/cris/cpu.h          |  3 +--
 target/hppa/cpu.h          |  2 +-
 target/i386/cpu.h          |  5 ++---
 target/m68k/cpu.h          |  4 +++-
 target/microblaze/cpu.h    |  4 ++--
 target/nios2/cpu.h         |  2 +-
 target/openrisc/cpu.h      |  3 ++-
 target/ppc/cpu.h           |  2 +-
 target/riscv/cpu.h         | 12 ++++++------
 target/rx/cpu.h            |  2 +-
 target/rx/helper.c         |  4 ++--
 target/sh4/cpu.h           |  2 +-
 target/sparc/cpu.h         |  3 ++-
 target/xtensa/cpu.h        |  2 +-
 27 files changed, 52 insertions(+), 46 deletions(-)
Signature · 1 line
2.38.1