Statistics
| Branch: | Revision:

root / target-s390x / ioinst.c @ 34b5d2c6

History | View | Annotate | Download (18.9 kB)

# Date Author Comment
7ae5a7c0 07/30/2013 05:11 pm Thomas Huth

s390x/ioinst: Fixed alignment check in SCHM instruction

Register 2 only has to be aligned to a 32-byte boundary, not a
full page boundary.

Signed-off-by: Thomas Huth <>
Acked-by: Cornelia Huck <>
Signed-off-by: Christian Borntraeger <>

71ed827a 07/30/2013 05:11 pm Thomas Huth

s390x/ioinst: Fixed priority of operand exceptions

Operand exceptions have a lower priority than specification and address
exceptions. Thus the checks for operand exceptions must be done later.

Signed-off-by: Thomas Huth <>
Acked-by: Cornelia Huck <>...

61bf0dcb 07/30/2013 05:10 pm Thomas Huth

s390x/ioinst: Add missing alignment checks for IO instructions

The IO instructions MSCH, SSCH, STSCH, TSCH, STCRW and TPI require
that the second operand address must be aligned on a word boundary.

Signed-off-by: Thomas Huth <>
Reviewed-by: Cornelia Huck <>...

0056fc9e 07/30/2013 05:10 pm Thomas Huth

s390x/ioinst: Throw addressing exception when memory_map failed

So far, the IO instructions were throwing specification exceptions when
there was a problem with accessing the memory. However, the better way
is to throw an addressing exception instead.

Signed-off-by: Thomas Huth <>...

38dd7cc7 03/08/2013 10:17 pm Christian Borntraeger

s390/css: Fix subchannel detection

We have to consider the m bit to find the real channel subsystem when
determining the last subchannel.

If we fail to take this into account, removal of a subchannel in
the middle of a big list of devices will stop device detection after...

50c8d9bf 01/29/2013 10:50 pm Cornelia Huck

s390: Use s390_cpu_physical_memory_map for tpi.

Map the I/O interruption code before calling into css.

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

db1c8f53 01/29/2013 10:50 pm Cornelia Huck

s390: Channel I/O basic definitions.

Basic channel I/O structures and helper function.

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

7b18aad5 01/29/2013 10:50 pm Cornelia Huck

s390: Add channel I/O instructions.

Provide handlers for (most) channel I/O instructions.

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