Statistics
| Branch: | Revision:

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

History | View | Annotate | Download (18.9 kB)

# Date Author Comment
10c8599a 12/18/2013 03:24 pm Thomas Huth

s390x/ioinst: CHSC has to set a condition code

I missed to set the CC in the CHSC instruction when I refactored
the CC setting in the IO instructions with the following commit:
5d9bf1c07c1369ab3506fc82cc65a10f4415d867
s390/ioinst: Moved the CC setting to the IO instruction handlers...

5d9bf1c0 09/20/2013 01:46 pm Thomas Huth

s390/ioinst: Moved the CC setting to the IO instruction handlers

The IO instruction handlers now take care of setting the CC value on
their own, so that the confusing return code magic in kvm_handle_css_inst()
is not needed anymore.

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

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