History | View | Annotate | Download (18.9 kB)
s390x/ioinst: CHSC has to set a condition code
I missed to set the CC in the CHSC instruction when I refactoredthe CC setting in the IO instructions with the following commit: 5d9bf1c07c1369ab3506fc82cc65a10f4415d867 s390/ioinst: Moved the CC setting to the IO instruction handlers...
s390/ioinst: Moved the CC setting to the IO instruction handlers
The IO instruction handlers now take care of setting the CC value ontheir own, so that the confusing return code magic in kvm_handle_css_inst()is not needed anymore.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>...
s390x/ioinst: Fixed alignment check in SCHM instruction
Register 2 only has to be aligned to a 32-byte boundary, not afull page boundary.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
s390x/ioinst: Fixed priority of operand exceptions
Operand exceptions have a lower priority than specification and addressexceptions. Thus the checks for operand exceptions must be done later.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>...
s390x/ioinst: Add missing alignment checks for IO instructions
The IO instructions MSCH, SSCH, STSCH, TSCH, STCRW and TPI requirethat the second operand address must be aligned on a word boundary.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>...
s390x/ioinst: Throw addressing exception when memory_map failed
So far, the IO instructions were throwing specification exceptions whenthere was a problem with accessing the memory. However, the better wayis to throw an addressing exception instead.
s390/css: Fix subchannel detection
We have to consider the m bit to find the real channel subsystem whendetermining the last subchannel.
If we fail to take this into account, removal of a subchannel inthe middle of a big list of devices will stop device detection after...
s390: Use s390_cpu_physical_memory_map for tpi.
Map the I/O interruption code before calling into css.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>Signed-off-by: Alexander Graf <agraf@suse.de>
s390: Channel I/O basic definitions.
Basic channel I/O structures and helper function.
s390: Add channel I/O instructions.
Provide handlers for (most) channel I/O instructions.