X86: Handle Hyper-V vmbus interrupts as special hypervisor interrupts
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 4 Feb 2013 01:22:39 +0000 (17:22 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 13 Feb 2013 00:27:15 +0000 (16:27 -0800)
commitbc2b0331e077f576369a2b6c75d15ed4de4ef91f
tree49a62da6dae7fbc4cef8e887525d923d746cccec
parentdb34bbb767bdfa1ebed7214b876fe01c5b7ee457
X86: Handle Hyper-V vmbus interrupts as special hypervisor interrupts

Starting with win8, vmbus interrupts can be delivered on any VCPU in the guest
and furthermore can be concurrently active on multiple VCPUs. Support this
interrupt delivery model by setting up a separate IDT entry for Hyper-V vmbus.
interrupts. I would like to thank Jan Beulich <JBeulich@suse.com> and
Thomas Gleixner <tglx@linutronix.de>, for their help.

In this version of the patch, based on the feedback, I have merged the IDT
vector for Xen and Hyper-V and made the necessary adjustments. Furhermore,
based on Jan's feedback I have added the necessary compilation switches.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Link: http://lkml.kernel.org/r/1359940959-32168-3-git-send-email-kys@microsoft.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/irq_vectors.h
arch/x86/include/asm/mshyperv.h
arch/x86/kernel/cpu/mshyperv.c
arch/x86/kernel/entry_32.S
arch/x86/kernel/entry_64.S
drivers/xen/events.c