ARM: KVM: timer: allow DT matching for ARMv8 cores
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 30 May 2013 17:31:28 +0000 (18:31 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:10:29 +0000 (17:10 +0200)
ARMv8 cores have the exact same timer as ARMv7 cores. Make sure the
KVM timer code can match it in the device tree.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
(cherry picked from commit f61701e0a24a09aa4a44baf24e57dcc5e706afa8)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/arch_timer.c

index 2d00b2925780650621aedec07df075608c27871e..6f485eaf643b57e82e8b4e674242018f480d525f 100644 (file)
@@ -195,6 +195,7 @@ static struct notifier_block kvm_timer_cpu_nb = {
 
 static const struct of_device_id arch_timer_of_match[] = {
        { .compatible   = "arm,armv7-timer",    },
+       { .compatible   = "arm,armv8-timer",    },
        {},
 };