]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: KVM: arch_timers: Add guest timer core support
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 23 Jan 2013 18:21:58 +0000 (13:21 -0500)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 11 Feb 2013 19:05:11 +0000 (19:05 +0000)
commit53e724067a4ee9373972079e225d0d5f683b9c5a
treede8cd94b10d2cd768e990a38a95d8a40ab3dac0a
parent9ae9e2535d7dd1c21d6a7db1a7f2fc507a5e4080
ARM: KVM: arch_timers: Add guest timer core support

Add some the architected timer related infrastructure, and support timer
interrupt injection, which can happen as a resultof three possible
events:

- The virtual timer interrupt has fired while we were still
  executing the guest
- The timer interrupt hasn't fired, but it expired while we
  were doing the world switch
- A hrtimer we programmed earlier has fired

Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/include/asm/kvm_arch_timer.h [new file with mode: 0644]
arch/arm/include/asm/kvm_host.h
arch/arm/kvm/arch_timer.c [new file with mode: 0644]
arch/arm/kvm/interrupts.S
arch/arm/kvm/interrupts_head.S