Skip to content

target/s390x: Remove legacy cpu_physical_memory_*() calls

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9target/s390x: Factor diag_iplb_write() outtarget/s390x/diag.c+12 -51 reply
2/9target/s390x: Factor diag_iplb_read() outtarget/s390x/diag.c+19 -121 reply
3/9target/s390x: Replace legacy cpu_physical_memory_read/write() callstarget/s390x/diag.c+10 -32 replies
4/9target/s390x: Replace legacy cpu_physical_memory_[un]map() calls (1/3)target/s390x/tcg/excp_helper.c+6 -30 replies
5/9target/s390x: Propagate CPUS390XState to cpu_unmap_lowcore()target/s390x/helper.c target/s390x/s390x-internal.h target/s390x/tcg/excp_helper.c +1 more+10 -101 reply
6/9target/s390x: Replace legacy cpu_physical_memory_[un]map() calls (2/3)target/s390x/helper.c+8 -31 reply
7/9target/s390x: Reduce s390_store_adtl_status() scopetarget/s390x/helper.c target/s390x/s390x-internal.h target/s390x/sigp.c+40 -411 reply
8/9target/s390x: Reduce s390_store_status() scopetarget/s390x/helper.c target/s390x/s390x-internal.h target/s390x/sigp.c+68 -691 reply
9/9target/s390x: Replace legacy cpu_physical_memory_[un]map() calls (3/3)target/s390x/sigp.c+17 -80 replies

Reviews trailers per patch

4 of 9 patches have a Reviewed-by or Acked-by.

PatchThomas Huth
1/9
2/9
3/9
4/9
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] target/s390x: Remove legacy cpu_physical_memory_*() calls

The cpu_physical_memory API is legacy (see commit b7ecba0f6f6):

``cpu_physical_memory_*``
~~~~~~~~~~~~~~~~~~~~~~~~~

These are convenience functions which are identical to ``address_space_*`` but operate specifically on the system address space, always pass a ``MEMTXATTRS_UNSPECIFIED`` set of memory attributes and ignore whether the memory transaction succeeded or failed. For new code they are better avoided:
...

This series convert the following methods in target/s390x/:
- cpu_physical_memory_map()
- cpu_physical_memory_unmap()
- cpu_physical_memory_write()
to the address_space_*() equivalent.

Based-on: <[email protected]>

Philippe Mathieu-Daudé (9):
target/s390x: Factor diag_iplb_write() out
target/s390x: Factor diag_iplb_read() out
target/s390x: Replace legacy cpu_physical_memory_read/write() calls target/s390x: Replace legacy cpu_physical_memory_[un]map() calls (1/3) target/s390x: Propagate CPUS390XState to cpu_unmap_lowcore() target/s390x: Replace legacy cpu_physical_memory_[un]map() calls (2/3) target/s390x: Reduce s390_store_adtl_status() scope target/s390x: Reduce s390_store_status() scope target/s390x: Replace legacy cpu_physical_memory_[un]map() calls (3/3)

 target/s390x/s390x-internal.h  |   5 +-
 target/s390x/diag.c            |  55 ++++++++++-----
 target/s390x/helper.c          | 122 +++------------------------------
 target/s390x/sigp.c            | 117 +++++++++++++++++++++++++++++++
 target/s390x/tcg/excp_helper.c |  19 ++---
 target/s390x/tcg/misc_helper.c |   4 +-
 6 files changed, 179 insertions(+), 143 deletions(-)
Signature · 1 line
2.51.0