diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2025-03-07 10:08:21 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2025-03-07 10:08:21 +0000 |
commit | 5dcaea8bcd82972add29eef350547f922fb4caa2 (patch) | |
tree | cb67de22f78a26890d0caaf9d1427d402ea7fc05 /hw/arm/virt.c | |
parent | 47e2c5510f8c13310bfe738ebaa913bb52feca2a (diff) | |
download | qemu-5dcaea8bcd82972add29eef350547f922fb4caa2.zip qemu-5dcaea8bcd82972add29eef350547f922fb4caa2.tar.gz qemu-5dcaea8bcd82972add29eef350547f922fb4caa2.tar.bz2 |
hw/arm: enable secure EL2 timers for virt machine
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20250204125009.2281315-9-peter.maydell@linaro.org
Cc: qemu-stable@nongnu.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/virt.c')
-rw-r--r-- | hw/arm/virt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 904c698..a96452f 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -882,6 +882,8 @@ static void create_gic(VirtMachineState *vms, MemoryRegion *mem) [GTIMER_HYP] = ARCH_TIMER_NS_EL2_IRQ, [GTIMER_SEC] = ARCH_TIMER_S_EL1_IRQ, [GTIMER_HYPVIRT] = ARCH_TIMER_NS_EL2_VIRT_IRQ, + [GTIMER_S_EL2_PHYS] = ARCH_TIMER_S_EL2_IRQ, + [GTIMER_S_EL2_VIRT] = ARCH_TIMER_S_EL2_VIRT_IRQ, }; for (unsigned irq = 0; irq < ARRAY_SIZE(timer_irq); irq++) { |