linux/arch/s390/kvm
Christian Borntraeger ca8723023f KVM: s390: use hrtimer for clock wakeup from idle - v2
This patch reworks the s390 clock comparator wakeup to hrtimer. The clock
comparator is a per-cpu value that is compared against the TOD clock. If
ckc <= TOD an external interrupt 1004 is triggered. Since the clock comparator
and the TOD clock have a much higher resolution than jiffies we should use
hrtimers to trigger the wakeup. This speeds up guest nanosleep for small
values.

Since hrtimers callbacks run in hard-irq context, I added a tasklet to do
the actual work with enabled interrupts.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Christian Ehrhardt <ehrhardt@de.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2009-06-10 11:48:55 +03:00
..
Kconfig KVM: Add CONFIG_HAVE_KVM_IRQCHIP 2009-03-24 11:03:02 +02:00
Makefile KVM: s390: intercepts for diagnose instructions 2008-04-27 12:00:46 +03:00
diag.c [S390] Use unsigned long long for u64 on 64bit. 2009-01-09 12:15:07 +01:00
gaccess.h KVM: s390: Change guestaddr type in gaccess 2008-07-27 11:35:57 +03:00
intercept.c KVM: s390: Fix problem state check for b2 intercepts 2009-03-24 11:03:07 +02:00
interrupt.c KVM: s390: use hrtimer for clock wakeup from idle - v2 2009-06-10 11:48:55 +03:00
kvm-s390.c KVM: s390: use hrtimer for clock wakeup from idle - v2 2009-06-10 11:48:55 +03:00
kvm-s390.h KVM: s390: use hrtimer for clock wakeup from idle - v2 2009-06-10 11:48:55 +03:00
priv.c KVM: s390: Fix problem state check for b2 intercepts 2009-03-24 11:03:07 +02:00
sie64a.S
sigp.c KVM: s390: Fix printk on SIGP set arch 2009-03-24 11:03:07 +02:00