]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: cpu timer irq priority
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Mon, 1 Dec 2014 14:55:42 +0000 (15:55 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 31 Mar 2015 19:07:29 +0000 (21:07 +0200)
commitba54f8a827d4668b344464dd1b8216909309999f
treecced47f38169145b3c4ba310ecf24dc3827b3271
parente94672dc8f6d9d10c257f42f87943ff0abd41cd2
KVM: s390: cpu timer irq priority

We now have a mechanism for delivering interrupts according to their priority.

Let's inject them using our new infrastructure (instead of letting only hardware
handle them), so we can be sure that the irq priorities are satisfied.

For s390, the cpu timer and the clock comparator are to be checked for common
code kvm_cpu_has_pending_timer(), although the cpu timer is only stepped when
the guest is being executed.

Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
arch/s390/kvm/interrupt.c