Statistics
| Branch: | Revision:

root / target-s390x @ 55acb588

Name Size
Makefile.objs 183 Bytes
cc_helper.c 12.7 kB
cpu-qom.h 1.8 kB
cpu.c 4.7 kB
cpu.h 36.4 kB
fpu_helper.c 20.8 kB
helper.c 22.1 kB
helper.h 6.5 kB
insn-data.def 40.8 kB
insn-format.def 2.4 kB
int_helper.c 4.6 kB
interrupt.c 796 Bytes
ioinst.c 18.5 kB
ioinst.h 6.8 kB
kvm.c 22.5 kB
mem_helper.c 27.5 kB
misc_helper.c 13.7 kB
translate.c 129 kB

Latest revisions

# Date Author Comment
1f136632 02/16/2013 03:50 pm Andreas Färber

target-s390x: Introduce QOM realizefn for S390CPU

Introduce realizefn and set realized = true in cpu_s390x_init().

Defer CPU reset from initfn to realizefn.

Acked-by: Richard Henderson <>
[AF: Invoke parent's realizefn]
Signed-off-by: Andreas Färber <>

bd9a8d85 02/13/2013 07:56 pm Cornelia Huck

s390: Keep I/O interrupts enabled for all iscs.

do_io_interrupt() would stop scanning further iscs if it found
an I/O interrupt it could inject. This might cause the pending
interrupt indication for I/O interrupts to be reset although there
might be queued I/O interrupts for subsequent iscs....

91b0a8f3 02/13/2013 07:56 pm Cornelia Huck

s390: Fix handling of iscs.

There are two ways to express an interruption subclass:
- As a bitmask, as used in cr6.
- As a number, as used in the I/O interruption word.

Unfortunately, we have treated to I/O interruption word as if it
contained the bitmask as well, which went unnoticed so far as...

0123c486 02/04/2013 11:24 pm Anthony Liguori

s390x: silence warning from GCC on uninitialized values

As best I can tell, this is a false positive.

[aliguori@ccnode4 qemu-s390]$ make
CC s390x-softmmu/target-s390x/helper.o
/home/aliguori/git/qemu/target-s390x/helper.c: In function ‘do_interrupt’:...
b22dd124 02/04/2013 11:24 pm Stefan Weil

target-s390x: Fix wrong comparison in interrupt handling

gcc with -Wextra complains about an ordered pointer comparison:

target-s390x/helper.c:660:27: warning:
ordered comparison of pointer with integer zero [-Wextra]

Obviously the index was missing in the code....

e205842b 02/01/2013 05:06 pm Anthony Liguori

Merge remote-tracking branch 'agraf/s390-for-upstream' into staging

  1. By Andreas Färber
  2. Via Alexander Graf
    • agraf/s390-for-upstream:
      target-s390x: Pass S390CPU to s390_{add, del}_running_cpu()
      target-s390x: Clean up cpu_inject_*() signatures
      target-s390x: Fix debug output...
a6f921b0 02/01/2013 03:02 am Andreas Färber

target-s390x: Fix debug output (continued)

Since its introduction in d5a439645a5a70fed5431318c3bce9dc2caa950f
(s390x: helper functions for system emulation) the variable name was
raddr. Fix this.

Signed-off-by: Andreas Färber <>
Signed-off-by: Alexander Graf <>

07cc7d12 02/01/2013 03:02 am Andreas Färber

target-s390x: Fix debug output

Commit 71e470886fb6092504503a5fe41092ace71c096c (target-s390x: fix
style) renamed the cpu_s390x_handle_mmu_fault() argument from _vaddr to
orig_vaddr. Update the debug output code.

Signed-off-by: Andreas Färber <>...

f9466733 02/01/2013 03:02 am Andreas Färber

target-s390x: Clean up cpu_inject_*() signatures

Despite cautioning that S390CPU is needed for upcoming CPUState
refactorings, commit 5d69c547d947798cba92d836d06f6e017ba2b19d (s390:
I/O interrupt and machine check injection.) added functions
cpu_inject_io() and cpu_inject_crw_mchk() with CPUS390XState argument,...

49e15878 02/01/2013 03:02 am Andreas Färber

target-s390x: Pass S390CPU to s390_{add, del}_running_cpu()

This prepares for moving the halted field to CPUState.
Most call sites can already supply S390CPU, for some env becomes unused.

Signed-off-by: Andreas Färber <>
Acked-by: Cornelia Huck <>...

View revisions

Also available in: Atom