s390x/css: clear IO irqs when generating IPI CRW
commitc1755b14fade16f02d3e10a487a03741a2f317ce
authorHalil Pasic <pasic@linux.vnet.ibm.com>
Wed, 27 Jan 2016 12:24:17 +0000 (27 13:24 +0100)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 14 Jun 2016 11:34:50 +0000 (14 13:34 +0200)
tree95bc69d3aebdb7a3fae60eb45c5a08c3493f6ebd
parent9eccb8622c4dd9702d3bd3a7f1a60d744fe71a0b
s390x/css: clear IO irqs when generating IPI CRW

According to the Principles of Operation (more precisely the subsection
'Channel-Report Word'), a subchannel put into the installed parameters
initialized state is in the same state as after an I/O system reset (just
parameters possibly changed). This implies that any I/O interrupts for that
subchannel are no longer pending (as I/O system resets clear I/O
interrupts). Therefore, we need an interface to clear pending I/O
interrupts. Make css_generate_sch_crws clear the pending IO interrupts for
the subchannel.

Signed-off-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/css.c