Drivers: hv: Setup a mapping for Hyper-V's notion cpu ID
authorK. Y. Srinivasan <kys@microsoft.com>
Sat, 1 Dec 2012 14:46:47 +0000 (06:46 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 19:34:37 +0000 (11:34 -0800)
commit917ea427c78670958488f7f304e4629c325969a4
tree06784d2cd61f6505b2222d2fdfbfeec2b3fb066a
parent3be77774017fc3c7dd0b434265dfa417aac23545
Drivers: hv: Setup a mapping for Hyper-V's notion cpu ID

On win8 (ws2012), incoming vmbus interrupt load can be spread across all
available VCPUs in the guest. On a per-channel basis, the interrupts can
be bound to specific CPUs. The Linux notion of cpu ID may be different
from that of the hypervisor's. Setup a mapping structure.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv.c
drivers/hv/hyperv_vmbus.h