KVM: s390: some ext irqs have to clear the ext cpu addr
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Mon, 1 Dec 2014 11:02:44 +0000 (12:02 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 4 Dec 2014 15:38:38 +0000 (16:38 +0100)
commit467fc29892b8d563592d17d7128296495b6cf335
tree517e68738ed97804177c77659b402ec381005fe3
parentbe06b6bece19be5b167d863fd6c5271e4ec8f1fa
KVM: s390: some ext irqs have to clear the ext cpu addr

The cpu address of a source cpu (responsible for an external irq) is only to
be stored if bit 6 of the ext irq code is set.

If bit 6 is not set, it is to be zeroed out.

The special external irq code used for virtio and pfault uses the cpu addr as a
parameter field. As bit 6 is set, this implementation is correct.

Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/interrupt.c