Skip to content

target/s390x/cpu: Restrict CPUS390XState declaration to 'cpu.h'

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4hw/s390x/css: Have css_do_sic() take S390CPU instead of CPUS390XStatehw/s390x/css.c include/hw/s390x/css.h target/s390x/kvm/kvm.c +1 more+6 -40 replies
2/4hw/s390x/sclp: Have sclp_service_call[_protected]() take S390CPU*hw/s390x/sclp.c include/hw/s390x/sclp.h target/s390x/kvm/kvm.c +1 more+8 -81 reply
3/4target/s390x/cpu: Restrict cpu_get_tb_cpu_state() definition to TCGtarget/s390x/cpu.h+6 -10 replies
4/4target/s390x/cpu: Restrict CPUS390XState declaration to 'cpu.h'target/s390x/cpu-qom.h target/s390x/cpu.h+2 -41 reply

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchThomas HuthZhao Liu
SeriesR-b
1/4
2/4
3/4
4/4R-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] target/s390x/cpu: Restrict CPUS390XState declaration to 'cpu.h'

In order to restrict CPUS390XState declaration to "cpu.h" (both target-specific):
- have the following prototypes take a S390CPU* instead:
. css_do_sic()
. sclp_service_call()
. sclp_service_call_protected()
- restrict cpu_get_tb_cpu_state() definition to TCG

Philippe Mathieu-Daudé (4):
hw/s390x/css: Have css_do_sic() take S390CPU instead of CPUS390XState hw/s390x/sclp: Have sclp_service_call[_protected]() take S390CPU* target/s390x/cpu: Restrict cpu_get_tb_cpu_state() definition to TCG target/s390x/cpu: Restrict CPUS390XState declaration to 'cpu.h'

 include/hw/s390x/css.h         |  2 +-
 include/hw/s390x/sclp.h        |  5 ++---
 target/s390x/cpu-qom.h         |  2 --
 target/s390x/cpu.h             | 11 ++++++++---
 hw/s390x/css.c                 |  3 ++-
 hw/s390x/sclp.c                |  7 ++++---
 target/s390x/kvm/kvm.c         |  4 ++--
 target/s390x/tcg/misc_helper.c |  5 +++--
 8 files changed, 22 insertions(+), 17 deletions(-)
Signature · 1 line
2.41.0