Skip to content

target/s390x: Use explicit big-endian LD/ST API

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8hw/s390x: Use explicit big-endian LD/ST APIhw/s390x/css.c hw/s390x/s390-pci-bus.c hw/s390x/virtio-ccw.c+25 -272 replies
2/8target/s390x: Use explicit big-endian LD/ST APItarget/s390x/cpu-system.c target/s390x/kvm/kvm.c target/s390x/mmu_helper.c +2 more+18 -161 reply
3/8target/s390x: Replace gdb_get_regl() -> gdb_get_reg64()target/s390x/gdbstub.c+13 -131 reply
4/8target/s390x: Replace MO_TE -> MO_BEtarget/s390x/tcg/insn-data.h.inc target/s390x/tcg/mem_helper.c target/s390x/tcg/translate.c +1 more+119 -1191 reply
5/8target/s390x: Inline cpu_ld{uw, l}_code() calls in EX opcode helpertarget/s390x/tcg/mem_helper.c+7 -31 reply
6/8target/s390x: Use big-endian variant of cpu_ld/st_data*()target/s390x/tcg/mem_helper.c target/s390x/tcg/vec_helper.c+28 -281 reply
7/8target/s390x: Inline translator_lduw() and translator_ldl()target/s390x/tcg/translate.c+3 -31 reply
8/8configs/targets: Forbid S390x to use legacy native endianness APIsconfigs/targets/s390x-linux-user.mak configs/targets/s390x-softmmu.mak+2 -04 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchThomas HuthHalil PasicManos PitsidianakisRichard HendersonEric Farman
SeriesR-b R-b
1/8R-b R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b R-b
7/8R-b
8/8R-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 5 reviewers.

Read the v1 thread

Cover letter [PATCH 0/8] target/s390x: Use explicit big-endian LD/ST API

S390x is big-endian. Use the explicit 'big'
endianness instead of the 'native' one.
Forbid further uses of legacy APIs.

tag: https://gitlab.com/philmd/qemu/-/tags/endian_s390x-v1
CI: https://gitlab.com/philmd/qemu/-/pipelines/2231223066

Philippe Mathieu-Daudé (8):
hw/s390x: Use explicit big-endian LD/ST API target/s390x: Use explicit big-endian LD/ST API target/s390x: Replace gdb_get_regl() -> gdb_get_reg64() target/s390x: Replace MO_TE -> MO_BE
target/s390x: Inline cpu_ld{uw,l}_code() calls in EX opcode helper target/s390x: Use big-endian variant of cpu_ld/st_data*() target/s390x: Inline translator_lduw() and translator_ldl() configs/targets: Forbid S390x to use legacy native endianness APIs

 configs/targets/s390x-linux-user.mak |   1 +
 configs/targets/s390x-softmmu.mak    |   1 +
 target/s390x/tcg/insn-data.h.inc     |  54 +++++-----
 hw/s390x/css.c                       |  24 ++---
 hw/s390x/s390-pci-bus.c              |   4 +-
 hw/s390x/virtio-ccw.c                |  24 ++---
 target/s390x/cpu-system.c            |   2 +-
 target/s390x/gdbstub.c               |  26 ++---
 target/s390x/kvm/kvm.c               |   8 +-
 target/s390x/mmu_helper.c            |   3 +-
 target/s390x/tcg/excp_helper.c       |  16 +--
 target/s390x/tcg/mem_helper.c        |  71 +++++++------
 target/s390x/tcg/translate.c         | 144 +++++++++++++--------------
 target/s390x/tcg/vec_helper.c        |   8 +-
 target/s390x/tcg/translate_vx.c.inc  |  38 +++----
 15 files changed, 215 insertions(+), 209 deletions(-)
Signature · 1 line
2.52.0