Re: [RFC 2/3] hw/arm/virt: Wire up non-secure EL2 virtual timer IRQ

2023-09-19 Thread Ard Biesheuvel
On Tue, 19 Sept 2023 at 12:12, Peter Maydell wrote: > > Armv8.1+ CPUs have the Virtual Host Extension (VHE) which adds > a non-secure EL2 virtual timer. We implemented the timer itself > in the CPU model, but never wired up its IRQ line to the GIC. > > Wire up the IRQ line (this is always safe whe

[RFC 2/3] hw/arm/virt: Wire up non-secure EL2 virtual timer IRQ

2023-09-19 Thread Peter Maydell
Armv8.1+ CPUs have the Virtual Host Extension (VHE) which adds a non-secure EL2 virtual timer. We implemented the timer itself in the CPU model, but never wired up its IRQ line to the GIC. Wire up the IRQ line (this is always safe whether the CPU has the interrupt or not, since it always creates t