KVM: s390: add clear I/O irq operation for FLIC
authorHalil Pasic <pasic@linux.vnet.ibm.com>
Mon, 25 Jan 2016 18:10:40 +0000 (19:10 +0100)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Wed, 20 Apr 2016 12:27:32 +0000 (14:27 +0200)
commit6d28f789bf81540d4069342b1a28bfd41dab38a3
tree81573b9b5e05e974806c9b0473b8abd3800afe5a
parentdad7eefbd048a2f44c990303751159671e988d13
KVM: s390: add clear I/O irq operation for FLIC

Introduce a FLIC operation for clearing I/O interrupts for a subchannel.

Rationale: According to the platform specification, pending I/O
interruption requests have to be revoked in certain situations. For
instance, according to the Principles of Operation (page 17-27), 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.

Signed-off-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Documentation/virtual/kvm/devices/s390_flic.txt
arch/s390/include/uapi/asm/kvm.h
arch/s390/kvm/interrupt.c