]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: KVM: Allow host virt timer irq to be different from guest timer virt irq
authorAnup Patel <anup.patel@linaro.org>
Tue, 30 Apr 2013 06:32:15 +0000 (12:02 +0530)
committerChristoffer Dall <cdall@cs.columbia.edu>
Tue, 28 May 2013 02:36:01 +0000 (19:36 -0700)
commit238f36761fea137da29656e1c798c9921a4d5f0e
tree158640d240cc8c378084e105e540c8def8df8ec2
parentfe3a6c315ad7aeb29d5d33b44f8cffab8b17b4d4
ARM: KVM: Allow host virt timer irq to be different from guest timer virt irq

The arch_timer irq numbers (or PPI numbers) are implementation dependent,
so the host virtual timer irq number can be different from guest virtual
timer irq number.

This patch ensures that host virtual timer irq number is read from DTB and
guest virtual timer irq is determined based on vcpu target type.

Signed-off-by: Anup Patel <anup.patel@linaro.org>
Signed-off-by: Pranavkumar Sawargaonkar <pranavkumar@linaro.org>
Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
arch/arm/include/asm/kvm_arch_timer.h
arch/arm/kvm/arch_timer.c
arch/arm/kvm/reset.c