Skip to content

target/alpha: Use explicit little-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 Latest6 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6hw/alpha: Use explicit little-endian LD/ST APIhw/alpha/dp264.c hw/alpha/typhoon.c+7 -82 replies
2/6target/alpha: Use explicit little-endian LD/ST APItarget/alpha/helper.c+6 -52 replies
3/6target/alpha: Inline cpu_ldl_code() call in do_unaligned_access()target/alpha/mem_helper.c+3 -11 reply
4/6target/alpha: Inline translator_ldl()target/alpha/translate.c+2 -21 reply
5/6configs/targets: Forbid Alpha to use legacy native endianness APIsconfigs/targets/alpha-linux-user.mak configs/targets/alpha-softmmu.mak+2 -01 reply
6/6target/alpha: Replace legacy ld_phys() -> address_space_ld()configs/targets/alpha-linux-user.mak configs/targets/alpha-softmmu.mak target/alpha/helper.c+19 -121 reply

Reviews trailers per patch

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

PatchManos PitsidianakisRichard Henderson
1/6R-b R-b
2/6R-b R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

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/6] target/alpha: Use explicit little-endian LD/ST API

Alpha is little-endian. Use the explicit 'little'
endianness instead of the 'native' one.

Replace legacy ld/st_phys() calls. Forbid further
uses of legacy APIs.

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

Philippe Mathieu-Daudé (6):
hw/alpha: Use explicit little-endian LD/ST API target/alpha: Use explicit little-endian LD/ST API target/alpha: Inline cpu_ldl_code() call in do_unaligned_access() target/alpha: Inline translator_ldl()
configs/targets: Forbid Alpha to use legacy native endianness APIs target/alpha: Replace legacy ld_phys() -> address_space_ld()

 configs/targets/alpha-linux-user.mak |  2 ++
 configs/targets/alpha-softmmu.mak    |  2 ++
 hw/alpha/dp264.c                     | 11 +++++------
 hw/alpha/typhoon.c                   |  4 ++--
 target/alpha/helper.c                | 28 +++++++++++++++++-----------
 target/alpha/mem_helper.c            |  4 +++-
 target/alpha/translate.c             |  4 ++--
 7 files changed, 33 insertions(+), 22 deletions(-)
Signature · 1 line
2.52.0