kvm: arm/arm64: Fix emulated physical timer IRQ injection
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest posting 2/22 patches 0 repliesNew
- v3 posting 1/20 of 2 patches 0 repliesSuperseded
- v21 patch 1 replySuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 4 replies | Superseded |
Patches in v3 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: arm/arm64: Fix potential loss of ptimer interruptsvirt/ | +5 | 0 replies | |
| 2/2 | KVM: arm/arm64: Fix lost IRQs from emulated physcial timer when blockedvirt/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/2] kvm: arm/arm64: Fix emulated physical timer IRQ injection
Hi,
those two patches fix the (physical EL1) arch timer emulation in KVM, which missed to inject the timer IRQ if the vCPU was asleep when the timer expired. This can be checked by a new kvm-unit-tests test [1].
I am now taking Christoffer's approach, which keeps phys_timer_emulate() mostly as it is, and adds the explicit IRQ injection check in the caller. This turned out to fit better into the upcoming arch timer rework.
Cheers,
Andre.
[1] https://lists.cs.columbia.edu/pipermail/kvmarm/2018-July/032220.html
Christoffer Dall (2):
KVM: arm/arm64: Fix potential loss of ptimer interrupts
KVM: arm/arm64: Fix lost IRQs from emulated physcial timer when
blocked
virt/kvm/arm/arch_timer.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-)
Signature · 1 line
2.14.4