[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 8/9] hw/arm: enable secure EL2 timers for virt machine
From: |
Peter Maydell |
Subject: |
[PATCH v3 8/9] hw/arm: enable secure EL2 timers for virt machine |
Date: |
Tue, 4 Feb 2025 12:50:08 +0000 |
From: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: qemu-stable@nongnu.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
hw/arm/virt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index 99e0a68b6c5..c00a6e410cd 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -873,6 +873,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++) {
--
2.34.1
- [PATCH v3 0/9] target/arm: Implement SEL2 physical and virtual timers, Peter Maydell, 2025/02/04
- [PATCH v3 4/9] target/arm: Always apply CNTVOFF_EL2 for CNTV_TVAL_EL02 accesses, Peter Maydell, 2025/02/04
- [PATCH v3 1/9] target/arm: Apply correct timer offset when calculating deadlines, Peter Maydell, 2025/02/04
- [PATCH v3 7/9] target/arm: document the architectural names of our GTIMERs, Peter Maydell, 2025/02/04
- [PATCH v3 8/9] hw/arm: enable secure EL2 timers for virt machine,
Peter Maydell <=
- [PATCH v3 2/9] target/arm: Don't apply CNTVOFF_EL2 for EL2_VIRT timer, Peter Maydell, 2025/02/04
- [PATCH v3 9/9] hw/arm: enable secure EL2 timers for sbsa machine, Peter Maydell, 2025/02/04
- [PATCH v3 6/9] target/arm: Implement SEL2 physical and virtual timers, Peter Maydell, 2025/02/04
- [PATCH v3 3/9] target/arm: Make CNTPS_* UNDEF from Secure EL1 when Secure EL2 is enabled, Peter Maydell, 2025/02/04
- [PATCH v3 5/9] target/arm: Refactor handling of timer offset for direct register accesses, Peter Maydell, 2025/02/04
- Re: [PATCH v3 0/9] target/arm: Implement SEL2 physical and virtual timers, Peter Maydell, 2025/02/21