linux_dsm_epyc7002/virt/kvm/arm/hyp
Christoffer Dall 41a54482c0 KVM: arm/arm64: Move timer IRQ map to latest possible time
We are about to modify the VGIC to allocate all data structures
dynamically and store mapped IRQ information on a per-IRQ struct, which
is indeed allocated dynamically at init time.

Therefore, we cannot record the mapped IRQ info from the timer at timer
reset time like it's done now, because VCPU reset happens before timer
init.

A possible later time to do this is on the first run of a per VCPU, it
just requires us to move the enable state to be a per-VCPU state and do
the lookup of the physical IRQ number when we are about to run the VCPU.

Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2016-05-20 15:39:41 +02:00
..
timer-sr.c KVM: arm/arm64: Move timer IRQ map to latest possible time 2016-05-20 15:39:41 +02:00
vgic-v2-sr.c KVM: arm/arm64: vgic-v2: Only wipe LRs on vcpu exit 2016-03-09 04:23:56 +00:00