Skip to content

Fix Fedora 38 Clang on s390x

Ilya Leoshkevich qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4target/s390x: Fix LCBB overwriting the top 32 bitstarget/s390x/tcg/insn-data.h.inc+1 -12 replies
2/4tests/tcg/s390x: Test LCBBtests/tcg/s390x/Makefile.target tests/tcg/s390x/lcbb.c+52 -02 replies
3/4target/s390x: Fix LOCFHR taking the wrong half of R2target/s390x/tcg/insn-data.h.inc+1 -12 replies
4/4tests/tcg/s390x: Test LOCFHRtests/tcg/s390x/Makefile.target tests/tcg/s390x/locfhr.c+30 -02 replies

Reviews trailers per patch

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

PatchRichard HendersonDavid Hildenbrand
1/4R-b R-b
2/4A-b R-b
3/4R-b R-b
4/4R-b R-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/4] Fix Fedora 38 Clang on s390x

Hi,

It was reported that Fedora 38 Clang does not run correctly under qemu-s390x [1]. Comparing qemu and real s390x instruction traces has shown that the implementations of LCBB and LOCFHR were not fully correct.

This series fixes the issues and adds tests. I can now run Fedora 38 Clang under s390x emulation and compile "hello world" with it.

Best regards,
Ilya

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2209635

Ilya Leoshkevich (4):
target/s390x: Fix LCBB overwriting the top 32 bits tests/tcg/s390x: Test LCBB
target/s390x: Fix LOCFHR taking the wrong half of R2 tests/tcg/s390x: Test LOCFHR

 target/s390x/tcg/insn-data.h.inc |  4 +--
 tests/tcg/s390x/Makefile.target  |  2 ++
 tests/tcg/s390x/lcbb.c           | 51 ++++++++++++++++++++++++++++++++
 tests/tcg/s390x/locfhr.c         | 29 ++++++++++++++++++
 4 files changed, 84 insertions(+), 2 deletions(-)
 create mode 100644 tests/tcg/s390x/lcbb.c
 create mode 100644 tests/tcg/s390x/locfhr.c
Signature · 1 line
2.40.1