Use eoi to track RTC interrupt delivery status
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v10 Latest7 patches 3 repliesApplied
- v97 patches 4 repliesSuperseded
- v87 patches 5 repliesSuperseded
Earlier versions · 7
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v7 | 7 patches | 14 replies | Superseded | |
| v6 | 6 patches | 26 replies | Superseded | |
| v5 | 6 patches | 10 replies | Superseded | |
| v4 | 7 patches | 11 replies | Superseded | |
| v3 | 8 patches | 2 replies | Superseded | |
| v2 | 8 patches | 13 replies | Superseded | |
| v1 | 5 patches | 4 replies | Superseded |
Changes in v10 from the cover letter
* Remove irq check and line_status check from rtc_irq_check_coalesced() to kvm_ioapic_set_irq().
* Rebase on top of KVM.
Patches in v10 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | KVM: Add vcpu info to ioapic_update_eoi()arch/ virt/ virt/ | +9 | 0 replies | |
| 2/7 | KVM: Introduce struct rtc_statusvirt/ | +12 | 0 replies | |
| 3/7 | KVM: Return destination vcpu on interrupt injectionarch/ arch/ virt/ +2 more | +27 | 0 replies | |
| 4/7 | KVM: Add reset/restore rtc_status supportarch/ arch/ virt/ +1 more | +70 | 0 replies | |
| 5/7 | KVM: Force vmexit with virtual interrupt deliveryvirt/ | +1 | 0 replies | |
| 6/7 | KVM: Let ioapic know the irq line statusarch/ arch/ include/ +6 more | +54 | 1 reply | |
| 7/7 | KVM: Use eoi to track RTC interrupt delivery statusvirt/ | +35 | 0 replies |
Reviews trailers per patch
None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Gleb Natapov |
|---|---|
| Series | R-b |
| 1/7 | |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v10 0/7] Use eoi to track RTC interrupt delivery status
From: Yang Zhang <[email protected]>
Current interrupt coalescing logci which only used by RTC has conflict with Posted Interrupt.
This patch introduces a new mechinism to use eoi to track interrupt:
When delivering an interrupt to vcpu, the pending_eoi set to number of vcpu that received the interrupt. And decrease it when each vcpu writing eoi. No subsequent RTC interrupt can deliver to vcpu until all vcpus write eoi.
Changes from v9 to v10
* Remove irq check and line_status check from rtc_irq_check_coalesced() to kvm_ioapic_set_irq().
* Rebase on top of KVM.
Changes from v8 to v9
* Removing pass vector to __rtc_irq_eoi_tracking_restore_one.
* Rebase on top of KVM.
Changes from v7 to v8
* Revamping restore logic.
* Add BUG_ON to check pending_eoi.
* Rebase on top of KVM.
Yang Zhang (7):
KVM: Add vcpu info to ioapic_update_eoi()
KVM: Introduce struct rtc_status
KVM: Return destination vcpu on interrupt injection
KVM: Add reset/restore rtc_status support
KVM: Force vmexit with virtual interrupt delivery
KVM: Let ioapic know the irq line status
KVM: Use eoi to track RTC interrupt delivery status
arch/x86/kvm/i8254.c | 4 +- arch/x86/kvm/lapic.c | 36 ++++++++++---- arch/x86/kvm/lapic.h | 7 ++- arch/x86/kvm/x86.c | 6 ++- include/linux/kvm_host.h | 11 +++-- virt/kvm/assigned-dev.c | 13 +++-- virt/kvm/eventfd.c | 15 +++-- virt/kvm/ioapic.c | 126 ++++++++++++++++++++++++++++++++++++++++------ virt/kvm/ioapic.h | 20 ++++++- virt/kvm/irq_comm.c | 31 +++++++----- virt/kvm/kvm_main.c | 3 +- 11 files changed, 207 insertions(+), 65 deletions(-)