Skip to content

RFC : Fixes to IRQ routing

Chris Lalancette kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Introduce a workqueue to deliver PIT timer interrupts.arch/x86/kvm/i8254.c arch/x86/kvm/i8254.h arch/x86/kvm/irq.c +1 more+73 -4211 replies
2/3Allow any LAPIC to accept PIC interrupts.arch/x86/kvm/lapic.c+5 -70 replies
3/3In DM_LOWEST, only deliver interrupts to vcpus with enabled LAPIC'svirt/kvm/irq_comm.c+1 -14 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC][PATCH 0/3]: Fixes to IRQ routing

As we've discussed previously, here is a series of patches to fix some of the IRQ routing issues we have in KVM. With this series in place I was able to successfully kdump a RHEL-5 64-bit, and RHEL-6 32- and 64-bit guest on CPU's other than the BSP. RHEL-5 32-bit kdump still does not work; it gets stuck on "Checking 'hlt' instruction". However, it does that both before and after this series, so there is something else going on there that I still have to debug.

I also need to change the "kvm_migrate_pit_timer" function to migrate the timer over to the last CPU that handled the timer interrupt, on the theory that that particlar CPU is likely to handle the timer interrupt again in the near future.

The other outstanding question about these patches is how to setup the workqueue. As it stands I have a single workqueue for all guests. However, for efficiency reasons we may want to have one workqueue per guest. Opinions?

Chris Lalancette