kernel-ark/arch/s390/include/asm
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
..
airq.h
appldata.h
atomic.h atomic_t: unify all arch definitions 2009-01-06 15:59:10 -08:00
auxvec.h [S390] introduce vdso on s390 2008-12-25 13:38:55 +01:00
bitops.h [S390] bitops: remove likely annotations 2009-03-26 15:24:23 +01:00
bug.h [S390] remove warnings with functions ending in BUG 2008-12-25 13:39:12 +01:00
bugs.h
byteorder.h byteorder: make swab.h include asm/swab.h like a regular header 2009-01-14 19:56:50 -08:00
cache.h
cacheflush.h
ccwdev.h
ccwgroup.h
checksum.h
chpid.h [S390] types: add/fix types.h include in header files 2009-01-09 12:15:06 +01:00
chsc.h [S390] types: add/fix types.h include in header files 2009-01-09 12:15:06 +01:00
cio.h [S390] cio: introduce notifier for boxed state 2009-03-31 19:17:06 +02:00
cmb.h [S390] types: add/fix types.h include in header files 2009-01-09 12:15:06 +01:00
compat.h
cpcmd.h
cpu.h [PATCH] improve idle cputime accounting 2008-12-31 15:11:48 +01:00
cpuid.h [S390] s390: move machine flags to lowcore 2009-04-14 15:37:21 +02:00
cputime.h [S390] /proc/stat idle field for idle cpus 2009-04-23 13:58:17 +02:00
crw.h [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00
current.h
dasd.h [S390] dasd: add large volume support 2009-03-26 15:24:05 +01:00
debug.h
delay.h [S390] Move private simple udelay function to arch/s390/lib/delay.c. 2008-10-10 21:33:58 +02:00
device.h
diag.h
div64.h
dma.h
ebcdic.h
elf.h [S390] personality: fix personality loss on execve 2009-01-23 16:40:28 +01:00
emergency-restart.h
errno.h
etr.h
extmem.h
fb.h
fcntl.h
fcx.h [S390] cio: update sac values 2008-12-25 13:39:06 +01:00
ftrace.h [S390] ftrace: function tracer backend for s390 2008-12-25 13:39:03 +01:00
futex.h
hardirq.h
hugetlb.h
idals.h [S390] dasd: add High Performance FICON support 2009-03-26 15:24:05 +01:00
io.h
ioctl.h
ioctls.h
ipcbuf.h
ipl.h
irq_regs.h
irq.h
irqflags.h
isc.h [S390] zcrypt: Use of Thin Interrupts 2008-12-25 13:38:57 +01:00
itcw.h
Kbuild byteorder: make swab.h include asm/swab.h like a regular header 2009-01-14 19:56:50 -08:00
kdebug.h
kexec.h
kmap_types.h
kprobes.h
kvm_host.h KVM: s390: use hrtimer for clock wakeup from idle - v2 2009-06-10 11:48:55 +03:00
kvm_para.h
kvm_virtio.h virtio: use KVM_S390_VIRTIO_RING_ALIGN instead of relying on pagesize 2008-12-30 09:26:03 +10:30
kvm.h KVM: New guest debug interface 2009-03-24 11:02:49 +02:00
linkage.h
local.h
lowcore.h [S390] s390: move machine flags to lowcore 2009-04-14 15:37:21 +02:00
mathemu.h
mman.h [S390] make page table upgrade work again 2009-03-18 13:28:13 +01:00
mmu_context.h [S390] cpumask: use mm_cpumask() wrapper 2009-03-26 15:24:34 +01:00
mmu.h [S390] introduce vdso on s390 2008-12-25 13:38:55 +01:00
module.h
monwriter.h
msgbuf.h
mutex.h
nmi.h [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00
page.h [S390] introduce vdso on s390 2008-12-25 13:38:55 +01:00
param.h
pci.h
percpu.h
pgalloc.h [S390] clear_table inline assembly contraints 2008-12-25 13:39:15 +01:00
pgtable.h [S390] pgtable.h: Fix oops in unmap_vmas for KVM processes 2008-11-27 11:06:57 +01:00
poll.h
posix_types.h [S390] asm-s390/posix_types.h: drop __USE_ALL usage 2009-01-09 12:15:04 +01:00
processor.h [S390] s390: move machine flags to lowcore 2009-04-14 15:37:21 +02:00
ptrace.h [S390] s390: move machine flags to lowcore 2009-04-14 15:37:21 +02:00
qdio.h [S390] qdio: report SIGA errors directly 2009-03-26 15:24:22 +01:00
qeth.h [S390] types: add/fix types.h include in header files 2009-01-09 12:15:06 +01:00
reset.h
resource.h
rwsem.h
s390_ext.h
scatterlist.h
schid.h [S390] types: add/fix types.h include in header files 2009-01-09 12:15:06 +01:00
sclp.h
sections.h
segment.h
sembuf.h
setup.h [S390] s390: move machine flags to lowcore 2009-04-14 15:37:21 +02:00
sfp-machine.h
sfp-util.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
sigp.h [S390] convert s390 to generic IPI infrastructure 2008-12-25 13:38:56 +01:00
smp.h Merge branch 'ipi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-04-03 17:33:30 -07:00
socket.h net: new user space API for time stamping of incoming and outgoing packets 2009-02-15 22:43:33 -08:00
sockios.h
sparsemem.h
spinlock_types.h
spinlock.h Allow rwlocks to re-enable interrupts 2009-04-02 19:05:11 -07:00
stat.h
statfs.h S390: Update comments about why we don't use <asm-generic/statfs.h> 2008-09-06 19:30:19 +01:00
string.h [S390] use compiler builtin versions of strlen/strcpy/strcat 2009-03-26 15:24:24 +01:00
suspend.h
swab.h [S390] types: add/fix types.h include in header files 2009-01-09 12:15:06 +01:00
syscall.h [S390] fix system call parameter functions. 2008-11-27 11:06:56 +01:00
sysinfo.h [S390] Fix hypervisor detection for KVM 2009-03-26 15:24:09 +01:00
system.h [S390] Use csum_partial in checksum.h 2009-03-26 15:24:27 +01:00
tape390.h
termbits.h
termios.h
thread_info.h [S390] s390: move machine flags to lowcore 2009-04-14 15:37:21 +02:00
timer.h [S390] extend virtual timer interface by mod_virt_timer_periodic 2009-04-14 15:37:23 +02:00
timex.h [S390] add read_persistent_clock 2009-04-14 15:37:27 +02:00
tlb.h
tlbflush.h [S390] cpumask: use mm_cpumask() wrapper 2009-03-26 15:24:34 +01:00
todclk.h
topology.h [S390] cpumask: remove cpu_coregroup_map 2009-03-26 15:24:32 +01:00
types.h [S390] Use unsigned long long for u64 on 64bit. 2009-01-09 12:15:07 +01:00
uaccess.h
ucontext.h
unaligned.h
unistd.h [S390] wire up preadv/pwritev system calls 2009-04-14 15:37:22 +02:00
user.h
vdso.h [PATCH] fast vdso implementation for CLOCK_THREAD_CPUTIME_ID 2008-12-31 15:11:49 +01:00
vtoc.h [S390] dasd: add large volume support 2009-03-26 15:24:05 +01:00
xor.h
zcrypt.h