[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v5 6/6] hw/arm/virt: Connect the Hypervisor timer
From: |
Edgar E. Iglesias |
Subject: |
[Qemu-devel] [PATCH v5 6/6] hw/arm/virt: Connect the Hypervisor timer |
Date: |
Tue, 16 Jun 2015 11:51:55 +1000 |
From: "Edgar E. Iglesias" <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
---
hw/arm/virt.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index f822ea0..76f4611 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -407,6 +407,10 @@ static void create_gic(VirtBoardInfo *vbi, qemu_irq *pic)
qdev_connect_gpio_out(cpudev, 1,
qdev_get_gpio_in(gicdev,
ppibase + ARCH_TIMER_VIRT_IRQ));
+ /* Hypervisor timer. */
+ qdev_connect_gpio_out(cpudev, 2,
+ qdev_get_gpio_in(gicdev,
+ ppibase + ARCH_TIMER_NS_EL2_IRQ));
sysbus_connect_irq(gicbusdev, i, qdev_get_gpio_in(cpudev,
ARM_CPU_IRQ));
sysbus_connect_irq(gicbusdev, i + smp_cpus,
--
1.9.1
- [Qemu-devel] [PATCH v5 0/6] arm: Steps towards EL2 support round 3, Edgar E. Iglesias, 2015/06/15
- [Qemu-devel] [PATCH v5 1/6] target-arm: Add CNTVOFF_EL2, Edgar E. Iglesias, 2015/06/15
- [Qemu-devel] [PATCH v5 2/6] target-arm: Add CNTHCTL_EL2, Edgar E. Iglesias, 2015/06/15
- [Qemu-devel] [PATCH v5 3/6] target-arm: Pass timeridx as argument to various timer functions, Edgar E. Iglesias, 2015/06/15
- [Qemu-devel] [PATCH v5 4/6] target-arm: Add the Hypervisor timer, Edgar E. Iglesias, 2015/06/15
- [Qemu-devel] [PATCH v5 5/6] hw/arm/virt: Replace magic IRQ constants with macros, Edgar E. Iglesias, 2015/06/15
- [Qemu-devel] [PATCH v5 6/6] hw/arm/virt: Connect the Hypervisor timer,
Edgar E. Iglesias <=
- Re: [Qemu-devel] [PATCH v5 0/6] arm: Steps towards EL2 support round 3, Peter Maydell, 2015/06/18