Statistics
| Branch: | Revision:

root / target-s390x / misc_helper.c @ feature-archipelago

History | View | Annotate | Download (12.4 kB)

# Date Author Comment
6e252802 02/27/2014 10:51 am Thomas Huth

s390x/sclp: Add missing checks to SCLP handler

If the 51 most significant bits of the SCCB address are zero or equal to
the prefix, we should throw an specification exception, too.
Also moved the check for privileged mode to sclp_service_call() to have
all program checks in one place now....

40fa5264 09/20/2013 02:55 pm Heinz Graalfs

s390/ebcdic: Move conversion tables to header file

Move conversion tables to header file.
- In SCLP line mode processing EBCDIC/ASCII conversion is needed.
- An additional EBCDIC to ASCII conversion function is added.

Signed-off-by: Heinz Graalfs <>...

d8b30c83 09/20/2013 02:55 pm Christian Borntraeger

s390/kexec: Implement diag308 subcode 0

This patch implements subcode 0 of diag 308. This is necessary for kexec
(without kdump). The main difference to subcode 1 is that all CPUs get
a full reset, instead of the architectured CPU reset (which leaves all...

bdc44640 09/03/2013 01:25 pm Andreas Färber

cpu: Use QTAILQ for CPU list

Introduce CPU_FOREACH(), CPU_FOREACH_SAFE() and CPU_NEXT() shorthand
macros.

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

f0778475 08/30/2013 03:16 pm Christian Borntraeger

s390: Implement load normal reset

kdump on s390 uses a load normal reset to bring the system in a defined
state by doing a subsystem reset. The issuing CPUs will have an initial
CPU reset, all other CPUs will have a CPU reset as defined in POP (no
register content will change)....

268846ba 08/30/2013 01:48 pm Eugene (jno) Dvurechenski

s390/kvm: basic implementation of diagnose 308 subcode 6

Linux uses a check for subcode 6 to decide if other subcodes are
available. Provide a minimal implementation for subcode 6, as well
as for subcode 5.

Signed-off-by: Eugene (jno) Dvurechenski <>...

bc72ad67 08/22/2013 08:14 pm Alex Bligh

aio / timers: Switch entire codebase to the new timer API

This is an autogenerated patch using scripts/switch-timer-api.

Switch the entire code base to using the new timer API.

Note this patch may introduce some line length issues.

Signed-off-by: Alex Bligh <>...

a158986d 01/18/2013 08:07 pm Stefan Weil

s390x: Remove inline function ebcdic_put and related data from cpu.h

The function is only used in misc_helper.c, so move it to that file.

This reduces the size of debug executables (compiled without optimization)
because they get unused code and data for each compilation which includes...

28e942f8 01/18/2013 08:07 pm Cornelia Huck

s390: Add a hypercall registration interface.

Allow virtio machines to register for different diag500 function
codes and convert s390-virtio to use it.

Signed-off-by: Cornelia Huck <>
Signed-off-by: Alexander Graf <>

e805a0d3 01/05/2013 10:18 pm Richard Henderson

target-s390: Convert SPX, STPX

Signed-off-by: Richard Henderson <>

39a5003c 01/05/2013 10:18 pm Richard Henderson

target-s390: Convert STCKE

Signed-off-by: Richard Henderson <>

d14b3e09 01/05/2013 10:18 pm Richard Henderson

target-s390: Convert STSI

Signed-off-by: Richard Henderson <>

dc458df9 01/05/2013 10:18 pm Richard Henderson

target-s390: Convert SERVC

Signed-off-by: Richard Henderson <>

71bd6669 01/05/2013 10:18 pm Richard Henderson

target-s390: Convert STIDP

Signed-off-by: Richard Henderson <>

35289799 01/05/2013 10:18 pm Richard Henderson

target-s390: Convert SCK

Signed-off-by: Richard Henderson <>

434c91a5 01/05/2013 10:18 pm Richard Henderson

target-s390: Convert STCK

Signed-off-by: Richard Henderson <>

dd3eb7b5 01/05/2013 10:18 pm Richard Henderson

target-s390: Convert SCKC, STCKC

Signed-off-by: Richard Henderson <>

c4f0a863 01/05/2013 10:18 pm Richard Henderson

target-s390: Convert SPT, STPT

Signed-off-by: Richard Henderson <>

b4e2bd35 01/05/2013 10:18 pm Richard Henderson

target-s390: Send signals for divide

Signed-off-by: Richard Henderson <>

d5a103cd 01/05/2013 10:00 pm Richard Henderson

target-s390: Reorg exception handling

Make the user path more like the system path. Prepare for more kinds
of runtime exceptions. Rename ILC to ILEN to make it clear that we
want to pass around a full instruction length, rather than a "code"
that happens to be stored one bit left in a larger field....

501a7ce7 12/23/2012 01:40 am Andreas Färber

Merge branch 'master' of git://git.qemu.org/qemu into qom-cpu

Adapt header include paths.

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

1bc22652 12/19/2012 03:09 pm Andreas Färber

kvm: Pass CPUState to kvm_vcpu_ioctl()

Adapt helper functions to pass X86CPU / PowerPCCPU / S390CPU.

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

9c17d615 12/19/2012 09:32 am Paolo Bonzini

softmmu: move include files to include/sysemu/

Signed-off-by: Paolo Bonzini <>

1de7afc9 12/19/2012 09:32 am Paolo Bonzini

misc: move include files to include/qemu/

Signed-off-by: Paolo Bonzini <>

022c62cb 12/19/2012 09:31 am Paolo Bonzini

exec: move include files to include/exec/

Signed-off-by: Paolo Bonzini <>

f6c98f92 10/29/2012 08:41 pm Heinz Graalfs

s390: sclp base support

This adds a more generic infrastructure for handling Service-Call
requests on s390. Currently we only support a small subset of Read
SCP Info directly in target-s390x. This patch provides the base
infrastructure for supporting more commands and moves Read SCP...

0e8a6d47 10/22/2012 03:50 pm Avi Kivity

s390: avoid reaching into memory core internals

use cpu_physical_memory_is_io() instead.

Signed-off-by: Avi Kivity <>

0d404541 09/27/2012 10:44 pm Richard Henderson

target-s390x: Use CPU_LOG_INT

Three places in the interrupt code did we not honor the mask.

Reviewed-by: Alexander Graf <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Aurelien Jarno <>

089f5c06 09/10/2012 02:38 pm Blue Swirl

target-s390x: avoid AREG0 for misc helpers

Make misc helpers take a parameter for CPUState instead
of relying on global env.

Signed-off-by: Blue Swirl <>
[agraf: fix conflict]
Signed-off-by: Alexander Graf <>

19b0516f 09/10/2012 02:38 pm Blue Swirl

target-s390x: switch to AREG0 free mode

Add an explicit CPUState parameter instead of relying on AREG0.

Remove temporary wrappers and switch to AREG0 free mode.

Signed-off-by: Blue Swirl <>
[agraf: fix conflicts]
Signed-off-by: Alexander Graf <>

aea1e885 09/10/2012 02:38 pm Blue Swirl

target-s390x: rename op_helper.c to misc_helper.c

Now op_helper.c contains miscellaneous helpers, rename
it to misc_helper.c.

Signed-off-by: Blue Swirl <>
[agraf: fix conflict]
Signed-off-by: Alexander Graf <>