]> 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)
commit60c5b3ba55cb9c56d6ee103c6f6029e154ad2147
treecced47f38169145b3c4ba310ecf24dc3827b3271
parent3108672f2eb9b4e72d967ad3698d00e340611711
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