summaryrefslogtreecommitdiffstats
path: root/drivers/hv
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2013-01-17 21:00:51 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-18 16:03:33 -0800
commit0f3f2f86b22c41bb102a15ca4ca7f41c7414ab0d (patch)
tree0854d6c4e5be20e0a276fd854849ddb58e4f90e9 /drivers/hv
parent83ebf6e562afc31cf4c6346ee87a7dd9fe39c322 (diff)
downloadop-kernel-dev-0f3f2f86b22c41bb102a15ca4ca7f41c7414ab0d.zip
op-kernel-dev-0f3f2f86b22c41bb102a15ca4ca7f41c7414ab0d.tar.gz
Drivers: hv: Bind all vmbbus interrupts to the boot CPU
The default interrupt delivery model in Linux does not support the Hyper-V vmbus delivery model when the guest is configured with multiple VCPUs. I have sent a patch to address this - delivering the vmbus interrupt on a separate IDT vector. Until this patch is applied, bind all vmbus interrupts to the boot CPU. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv')
-rw-r--r--drivers/hv/channel_mgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c
index c80fe62..7478ef9 100644
--- a/drivers/hv/channel_mgmt.c
+++ b/drivers/hv/channel_mgmt.c
@@ -337,7 +337,7 @@ static u32 get_vp_index(uuid_le *type_guid)
return 0;
}
cur_cpu = (++next_vp % max_cpus);
- return hv_context.vp_index[cur_cpu];
+ return 0;
}
/*
OpenPOWER on IntegriCloud