* [PATCH 1/1] Drivers: hv: Bind all vmbbus interrupts to the boot CPU
@ 2013-01-18 5:00 K. Y. Srinivasan
2013-01-18 17:27 ` KY Srinivasan
0 siblings, 1 reply; 2+ messages in thread
From: K. Y. Srinivasan @ 2013-01-18 5:00 UTC (permalink / raw)
To: x86, gregkh, linux-kernel, devel, olaf, apw, jasowang, tglx
Cc: K. Y. Srinivasan
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>
---
drivers/hv/channel_mgmt.c | 2 +-
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;
}
/*
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH 1/1] Drivers: hv: Bind all vmbbus interrupts to the boot CPU
2013-01-18 5:00 [PATCH 1/1] Drivers: hv: Bind all vmbbus interrupts to the boot CPU K. Y. Srinivasan
@ 2013-01-18 17:27 ` KY Srinivasan
0 siblings, 0 replies; 2+ messages in thread
From: KY Srinivasan @ 2013-01-18 17:27 UTC (permalink / raw)
To: KY Srinivasan, x86, gregkh, linux-kernel, devel, olaf, apw,
jasowang, tglx
> -----Original Message-----
> From: K. Y. Srinivasan [mailto:kys@microsoft.com]
> Sent: Friday, January 18, 2013 12:01 AM
> To: x86@kernel.org; gregkh@linuxfoundation.org; linux-kernel@vger.kernel.org;
> devel@linuxdriverproject.org; olaf@aepfle.de; apw@canonical.com;
> jasowang@redhat.com; tglx@linutronix.de
> Cc: KY Srinivasan
> Subject: [PATCH 1/1] 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>
> ---
> drivers/hv/channel_mgmt.c | 2 +-
> 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;
> }
Greg,
Please apply this patch. This temporary restriction will be removed once the Hyper-V IDT
Patch (or some variant of that) is applied.
Regards,
K. Y
>
> /*
> --
> 1.7.4.1
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-18 17:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-18 5:00 [PATCH 1/1] Drivers: hv: Bind all vmbbus interrupts to the boot CPU K. Y. Srinivasan
2013-01-18 17:27 ` KY Srinivasan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.