KVM: s390: irq delivery should not rely on icptcode
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Wed, 4 Nov 2015 15:46:55 +0000 (16:46 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 10 Feb 2016 12:12:53 +0000 (13:12 +0100)
commiteaa4f41642f096f1e10c15a2b172d79199e893ff
tree34623b3d659c626562ee7e49711078824b6041c8
parentf6af84e7e7eb0558d5ad3882007956eb5b748ffd
KVM: s390: irq delivery should not rely on icptcode

Program irq injection during program irq intercepts is the last candidates
that injects nullifying irqs and relies on delivery to do the right thing.

As we should not rely on the icptcode during any delivery (because that
value will not be migrated), let's add a flag, telling prog IRQ delivery
to not rewind the PSW in case of nullifying prog IRQs.

Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/intercept.c
arch/s390/kvm/interrupt.c
include/uapi/linux/kvm.h