Skip to content

target/s390x: Fix broken build with --disable-tcg

Thomas Huth qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 4 repliesIn review
  2. v25 patches 4 repliesSuperseded
  3. v15 patches 7 repliesSuperseded

Changes in v3 from the cover letter

- Fixed the problem when building the s390x-linux-user target
- Added a g_assert_not_reached() to tcg_s390_program_interrupt() according to Richard's suggestion

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5target/s390x: Move s390_cpu_dump_state() to helper.ctarget/s390x/helper.c target/s390x/translate.c+60 -600 replies
2/5target/s390x: Move diag helpers to a separate filetarget/s390x/Makefile.objs target/s390x/diag.c target/s390x/misc_helper.c+180 -1680 replies
3/5target/s390x: Rework program_interrupt() and related functionstarget/s390x/cpu.h target/s390x/helper.c target/s390x/interrupt.c +2 more+52 -482 replies
4/5target/s390x: Move exception-related functions to a new excp_helper.c filetarget/s390x/Makefile.objs target/s390x/cpu.h target/s390x/excp_helper.c +1 more+528 -4690 replies
5/5target/s390x: Add remaining switches to compile with --disable-tcgtarget/s390x/Makefile.objs target/s390x/cpu.c+7 -30 replies

Reviews trailers per patch

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

PatchRichard Henderson
1/5R-b
2/5R-b
3/5R-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.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/5] target/s390x: Fix broken build with --disable-tcg

Our configure script was recently equipped with a new --disable-tcg parameter, but this does unfortunately not work on s390x hosts yet. Fix the build by moving some code around and by adding some few #ifdefs in the right places.

v3:
- Fixed the problem when building the s390x-linux-user target
- Added a g_assert_not_reached() to tcg_s390_program_interrupt() according to Richard's suggestion

v2:
- Reworked the changes to program_interrupt() according to the suggestions by Richard

Thomas Huth (5):
target/s390x: Move s390_cpu_dump_state() to helper.c target/s390x: Move diag helpers to a separate file target/s390x: Rework program_interrupt() and related functions target/s390x: Move exception-related functions to a new excp_helper.c
file
target/s390x: Add remaining switches to compile with --disable-tcg

 target/s390x/Makefile.objs |   8 +-
 target/s390x/cpu.c         |   4 +
 target/s390x/cpu.h         |  17 +-
 target/s390x/diag.c        | 179 +++++++++++++++
 target/s390x/excp_helper.c | 515 +++++++++++++++++++++++++++++++++++++++++++
 target/s390x/helper.c      | 528 +++++----------------------------------------
 target/s390x/interrupt.c   |  39 ++++
 target/s390x/kvm.c         |  16 +-
 target/s390x/misc_helper.c | 193 -----------------
 target/s390x/translate.c   |  60 ------
 10 files changed, 819 insertions(+), 740 deletions(-)
 create mode 100644 target/s390x/diag.c
 create mode 100644 target/s390x/excp_helper.c
Signature · 1 line
1.8.3.1