Statistics
| Branch: | Revision:

root / target-s390x @ 834574ea

Name Size
Makefile.objs 183 Bytes
cc_helper.c 12.7 kB
cpu-qom.h 1.8 kB
cpu.c 4.9 kB
cpu.h 36.4 kB
fpu_helper.c 20.8 kB
helper.c 22 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
c05efcb1 02/16/2013 03:51 pm Andreas Färber

cpu: Add CPUArchState pointer to CPUState

The target-specific ENV_GET_CPU() macros have allowed us to navigate
from CPUArchState to CPUState. The reverse direction was not supported.
Avoid introducing CPU_GET_ENV() macros by initializing an untyped
pointer that is initialized in derived instance_init functions....

0dac8459 02/16/2013 03:51 pm Andreas Färber

target-s390x: Drop unused cpu_s390x_close() prototype

It was never implemented.

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

2b7ac767 02/16/2013 03:50 pm Andreas Färber

target-s390x: Move TCG initialization to S390CPU initfn

Ensures that a QOM-created S390CPU is usable.

Acked-by: Richard Henderson <>
Signed-off-by: Andreas Färber <>

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...
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