[PATCH 0/3] Drivers: hv: hv_balloon

2014-12-02 Thread K. Y. Srinivasan
Some bug fixes for the balloon driver. K. Y. Srinivasan (3): Drivers: hv: hv_balloon: Make adjustments in computing the floor Drivers: hv: hv_balloon: Fix a locking bug in the balloon driver Drivers: hv: hv_balloon: Don't post pressure status from interrupt context drivers/hv

[PATCH 1/3] Drivers: hv: hv_balloon: Make adjustments in computing the floor

2014-12-02 Thread K. Y. Srinivasan
Make adjustments in computing the balloon floor. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/hv_balloon.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c index b958ded..9cbbb83 100644

[PATCH 2/3] Drivers: hv: hv_balloon: Fix a locking bug in the balloon driver

2014-12-02 Thread K. Y. Srinivasan
are different from what Windows expects. The state to manage the onlining of pages needs to be correctly protected. Fix this bug. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/hv_balloon.c | 69 +++--- 1 files changed, 64 insertions(+), 5

[PATCH 3/3] Drivers: hv: hv_balloon: Don't post pressure status from interrupt context

2014-12-02 Thread K. Y. Srinivasan
Wheeler sits...@gmail.com reported: http://lkml.iu.edu/hypermail/linux/kernel/1411.1/00075.html Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reported-by: Sitsofe Wheeler sits...@gmail.com --- drivers/hv/hv_balloon.c | 11 --- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git

[PATCH 1/1] X86: Mark the Hyper-V clocksource as being continuous

2014-12-02 Thread K. Y. Srinivasan
The clocksource based on Hyper-V per-partition reference count MSR is continuous. Mark it accordingly. Signed-off-by: K. Y. Srinivasan k...@microsoft.com cc: sta...@vger.kernel.org --- arch/x86/kernel/cpu/mshyperv.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch

[PATCH V2 0/3] Drivers: hv: hv_balloon

2014-12-04 Thread K. Y. Srinivasan
Some bug fixes for the balloon driver. In this version, based on Dan Carpenter's comment, I have added some additional information to the change log. K. Y. Srinivasan (3): Drivers: hv: hv_balloon: Make adjustments in computing the floor Drivers: hv: hv_balloon: Fix a locking bug

[PATCH V2 1/3] Drivers: hv: hv_balloon: Make adjustments in computing the floor

2014-12-04 Thread K. Y. Srinivasan
state. This patch fixes the issue by raising the floor. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/hv_balloon.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c index b958ded..9cbbb83 100644

[PATCH V2 2/3] Drivers: hv: hv_balloon: Fix a locking bug in the balloon driver

2014-12-04 Thread K. Y. Srinivasan
are different from what Windows expects. The state to manage the onlining of pages needs to be correctly protected. Fix this bug. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/hv_balloon.c | 69 +++--- 1 files changed, 64 insertions(+), 5

[PATCH V2 3/3] Drivers: hv: hv_balloon: Don't post pressure status from interrupt context

2014-12-04 Thread K. Y. Srinivasan
Wheeler sits...@gmail.com reported: http://lkml.iu.edu/hypermail/linux/kernel/1411.1/00075.html Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reported-by: Sitsofe Wheeler sits...@gmail.com --- drivers/hv/hv_balloon.c | 11 --- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git

[PATCH 1/1] Drivers: hv: vmbus: Implement a clockevent device

2014-12-04 Thread K. Y. Srinivasan
Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- arch/x86/include/uapi/asm/hyperv.h | 11 + drivers/hv/hv.c| 78 drivers/hv/hyperv_vmbus.h | 21 ++ drivers/hv/vmbus_drv.c | 40

[PATCH V2 1/1] Drivers: hv: vmbus: Implement a clockevent device

2014-12-04 Thread K. Y. Srinivasan
Implement a clockevent device based on the timer support available on Hyper-V. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- arch/x86/include/uapi/asm/hyperv.h | 11 + drivers/hv/hv.c| 78 drivers/hv/hyperv_vmbus.h

[PATCH V3 1/1] Drivers: hv: vmbus: Implement a clockevent device

2014-12-05 Thread K. Y. Srinivasan
Implement a clockevent device based on the timer support available on Hyper-V. In This version of the patch I have addressed Jason's review comments. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Jason Wang jasow...@redhat.com --- arch/x86/include/uapi/asm/hyperv.h | 11

[PATCH 0/2] Drivers: hv: hv_balloon: Fix a deadlock in the hot-add path.

2014-12-05 Thread K. Y. Srinivasan
Fix a deadlock in the hot-add path in the Hyper-V balloon driver. K. Y. Srinivasan (2): Drivers: base: core: Export functions to lock/unlock device hotplug lock Drivers: hv: balloon: Fix the deadlock issue in the memory hot-add code drivers/base/core.c |2 ++ drivers/hv

[PATCH 2/2] Drivers: hv: balloon: Fix the deadlock issue in the memory hot-add code

2014-12-05 Thread K. Y. Srinivasan
if the hv_balloon driver is just doing this wrong. This patch is based on the suggestion from Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/hv_balloon.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/hv

[PATCH 1/2] Drivers: base: core: Export functions to lock/unlock device hotplug lock

2014-12-05 Thread K. Y. Srinivasan
-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/base/core.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/base/core.c b/drivers/base/core.c index 97e2baf..b3073af 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -55,11 +55,13 @@ void

[PATCH 1/1] Drivers: hv: vmbus: Implement a clockevent device

2014-12-05 Thread K. Y. Srinivasan
Implement a clockevent device based on the timer support available on Hyper-V. In this version of the patch I have addressed Jason's review comments. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Jason Wang jasow...@redhat.com --- arch/x86/include/uapi/asm/hyperv.h | 11

[PATCH 1/1] Drivers: hv: vmbus: Fix a bug in vmbus_establish_gpadl()

2014-12-10 Thread K. Y. Srinivasan
Fix a bug in vmbus_establish_gpadl(). I would like to thank Michael Brown mc...@ipxe.org for seeing this bug. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/channel.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hv/channel.c b/drivers/hv

[PATCH V2 1/1] Drivers: hv: vmbus: Fix a bug in vmbus_establish_gpadl()

2014-12-10 Thread K. Y. Srinivasan
Fix a bug in vmbus_establish_gpadl(). I would like to thank Michael Brown mc...@ipxe.org for seeing this bug. In this version, I have added the Reported-by tag. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reported-by: Michael Brown mc...@ipxe.org --- drivers/hv/channel.c |4 ++-- 1

[PATCH V3 1/1] Drivers: hv: vmbus: Fix a bug in vmbus_establish_gpadl()

2014-12-10 Thread K. Y. Srinivasan
Correctly compute the local (gpadl) handle. I would like to thank Michael Brown mc...@ipxe.org for seeing this bug. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reported-by: Michael Brown mc...@ipxe.org --- Changes in V2: Added the Reported-by tag. Changes in V3: Cleaned up the commit log

[PATCH 1/1] Drivers: hv: vmbus: Use get_cpu() to get the current CPU

2014-12-14 Thread K. Y. Srinivasan
Replace calls for smp_processor_id() to get_cpu() to get the CPU ID of the current CPU. In these instances, there is no correctness issue with regards to preemption, we just need the current CPU ID. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/channel_mgmt.c |4

[PATCH 1/1] Drivers: hv: Implement the file copy service

2014-01-08 Thread K. Y. Srinivasan
://technet.microsoft.com/en-us/library/dn464282.aspx Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/Makefile|2 +- drivers/hv/hv_fcopy.c | 451 drivers/hv/hv_util.c | 10 + include/linux/hyperv.h | 60

[PATCH 1/1] Drivers: input: serio:hyperv-keyoard: Handle 0xE1 prefix

2014-01-11 Thread K. Y. Srinivasan
Handle the 0xE1 prefix. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/input/serio/hyperv-keyboard.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/input/serio/hyperv-keyboard.c b/drivers/input/serio/hyperv-keyboard.c index 3a83c3c..6132619

[PATCH V1 1/1] Drivers: hv: Implement the file copy service

2014-01-13 Thread K. Y. Srinivasan
://technet.microsoft.com/en-us/library/dn464282.aspx In this version of the patch I have addressed comments from Olaf Hering o...@aepfle.de and Dan Carpenter dan.carpen...@oracle.com Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/Makefile|2 +- drivers/hv/hv_fcopy.c

[PATCH V2 1/1] Drivers: hv: Implement the file copy service

2014-01-14 Thread K. Y. Srinivasan
://technet.microsoft.com/en-us/library/dn464282.aspx In V1 version of the patch I have addressed comments from Olaf Hering o...@aepfle.de and Dan Carpenter dan.carpen...@oracle.com In this version of the patch I have made globals static. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv

[PATCH 1/1] Drivers: hv: vmbus: Specify the target CPU that should receive notification

2014-01-15 Thread K. Y. Srinivasan
During the initial VMBUS connect phase, starting with WS2012 R2, we should specify the VPCU in the guest that should receive the notification. Fix this issue. This fix is required to properly connect to the host in the kexeced kernel. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta

[PATCH 1/1] Drivers: hv: vmbus: Don't timeout during the initial connection with host

2014-01-16 Thread K. Y. Srinivasan
with the host. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/hv/connection.c | 11 +-- 1 files changed, 1 insertions(+), 10 deletions(-) diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c index 855bbda..f2d7bf9 100644 --- a/drivers/hv

[PATCH V4 1/1] Drivers: hv: Implement the file copy service

2014-01-21 Thread K. Y. Srinivasan
addressed all of Olaf's most recent set of comments/concerns. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/Makefile|2 +- drivers/hv/hv_fcopy.c | 428 drivers/hv/hv_util.c | 10 + include/linux/hyperv.h | 61

Drivers/hv

2014-01-29 Thread K. Y. Srinivasan
Greg, Some time back I had sent a buch of patches for Hyper-V drivers. Are they still in the queue or should I resend them. Regards, K. Y ___ devel mailing list de...@linuxdriverproject.org

[PATCH 1/1] Drivers: hv: vmbus: Extract the mmio information from VMOD

2014-01-29 Thread K. Y. Srinivasan
On Gen2 firmware, Hyper-V does not emulate the PCI bus. However, the MMIO information is packaged up in DSDT. Extract this information and export it for use by the synthetic framebuffer driver. This is the only driver that needs this currently. Signed-off-by: K. Y. Srinivasan k...@microsoft.com

[PATCH V2 1/1] Drivers: hv: vmbus: Extract the mmio information from DSDT

2014-01-29 Thread K. Y. Srinivasan
the hyperv header file (linux/hyperv.h) with mmio definitions. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/vmbus_drv.c | 45 - include/linux/hyperv.h |3 +++ 2 files changed, 35 insertions(+), 13 deletions(-) diff --git

[PATCH 1/2] Drivers: net: hyperv: Get rid of the rndis_filter_packet structure

2014-01-31 Thread K. Y. Srinivasan
This structure is redundant; get rid of it make the code little more efficient - get rid of the unnecessary indirection. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/hyperv_net.h |6 - drivers/net/hyperv

[PATCH 2/2] Drivers: net: hyperv: Cleanup the receive path

2014-01-31 Thread K. Y. Srinivasan
Make the receive path a little more efficient by parameterizing the required state rather than re-establishing that state. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/netvsc.c | 29 + 1

[PATCH 0/2] Drivers: net: hyperv: Cleanup the recive path

2014-01-31 Thread K. Y. Srinivasan
Some minor cleanup of the receive path. Get rid of unnecessary indirection as well as unnecessary re-establishment of state. K. Y. Srinivasan (2): Drivers: net: hyperv: Get rid of the rndis_filter_packet structure Drivers: net: hyperv: Cleanup the receive path drivers/net/hyperv

[PATCH 1/1] Drivers: hv: vmbus: Cleanup the packet send path

2014-02-01 Thread K. Y. Srinivasan
The current channel code is using scatterlist abstraction to pass data to the ringbuffer API on the send path. This causes unnecessary translations between virtual and physical addresses. Fix this. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/channel.c | 42

[PATCH 1/1] Drivers: hv: vmbus: Support per-channel driver state

2014-02-03 Thread K. Y. Srinivasan
As we implement Virtual Receive Side Scaling on the networking side (the VRSS patches are currently under review), it will be useful to have per-channel state that vmbus drivers can manage. Add support for managing per-channel state. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- include

[PATCH V5 1/1] Drivers: hv: Implement the file copy service

2014-02-08 Thread K. Y. Srinivasan
addressed all of Olaf's most recent set of comments/concerns. In this version of the patch I have addressed Greg's most recent comments. I would like to thank Greg for suggesting that I use misc device; it has significantly simplified the code. Signed-off-by: K. Y. Srinivasan k...@microsoft.com

[PATCH V6 1/1] Drivers: hv: Implement the file copy service

2014-02-12 Thread K. Y. Srinivasan
based on Olaf's comments. I have also rebased the patch based on the current tip. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/Makefile |2 +- drivers/hv/hv_fcopy.c | 388 +++ drivers/hv/hv_util.c| 10 + include

[PATCH 1/1] Drivers: hv: Ballon: Make pressure posting thread sleep interruptibly

2014-02-13 Thread K. Y. Srinivasan
The non-interruptible sleep of the memory pressure posting thread results in higher reported load average. Make this sleep interruptible. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/hv_balloon.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git

[PATCH V7 1/1] Drivers: hv: Implement the file copy service

2014-02-16 Thread K. Y. Srinivasan
on Olaf's comments. I have also rebased the patch based on the current tip. In this version of the patch, I have addressed the latest comments from Greg. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/Makefile |2 +- drivers/hv/hv_fcopy.c | 414

[PATCH 0/3] Drivers: net: hyperv: Cleanup the hyper-V networking code

2014-02-16 Thread K. Y. Srinivasan
Get rid of some unnecessary code and some general cleanup. K. Y. Srinivasan (3): Drivers: net: hyperv: Get rid of the rndis_filter_packet structure Drivers: net: hyperv: Cleanup the receive path Drivers: net: hyperv: Cleanup the netvsc receive callback functio drivers/net/hyperv

[PATCH 1/3] Drivers: net: hyperv: Get rid of the rndis_filter_packet structure

2014-02-16 Thread K. Y. Srinivasan
This structure is redundant; get rid of it make the code little more efficient - get rid of the unnecessary indirection. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/hyperv_net.h |6 - drivers/net/hyperv

[PATCH 2/3] Drivers: net: hyperv: Cleanup the receive path

2014-02-16 Thread K. Y. Srinivasan
Make the receive path a little more efficient by parameterizing the required state rather than re-establishing that state. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/netvsc.c | 29 + 1

[PATCH 3/3] Drivers: net: hyperv: Cleanup the netvsc receive callback functio

2014-02-16 Thread K. Y. Srinivasan
Get rid of the buffer allocation in the receive path for normal packets. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h |2 ++ drivers/net/hyperv/netvsc.c | 33 ++--- 2 files changed, 12 insertions(+), 23 deletions

[PATCH 1/1] Drivers: hv: vmbus: Fix a bug in getting ACPI specified resources

2014-02-20 Thread K. Y. Srinivasan
Fix a bug in the resource walking code. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/vmbus_drv.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index b37c91b..2352ae48 100644 --- a/drivers/hv

[PATCH 0/6] Drivers: net: hyperv: Enable various offloads

2014-03-06 Thread K. Y. Srinivasan
This patch set enables both checksum as well as segmentation offload. As part of this effort I have enabled scatter gather I/O a well. K. Y. Srinivasan (6): Drivers: net: hyperv: Enable scatter gather I/O Drivers: net: hyperv: Cleanup the send path Drivers: net: hyperv: Enable offloads

[PATCH 2/6] Drivers: net: hyperv: Cleanup the send path

2014-03-06 Thread K. Y. Srinivasan
In preparation for enabling offloads, cleanup the send path. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/hyperv_net.h |7 +--- drivers/net/hyperv/netvsc_drv.c | 87

[PATCH 6/6] Drivers: net: hyperv: Enable large send offload

2014-03-06 Thread K. Y. Srinivasan
Enable segmentation offload. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 40 +++ drivers/net/hyperv/netvsc_drv.c | 38 +--- 2

[PATCH 1/1] Drivers: hv: util: Fix a bug in version negotiation code for util services

2013-07-02 Thread K. Y. Srinivasan
-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/hv/channel_mgmt.c | 75 +++- drivers/hv/hv_kvp.c | 24 ++- drivers/hv/hv_snapshot.c | 18 +++--- drivers/hv/hv_util.c

[PATCH V2 1/2] Drivers: hv: balloon: Fix a bug in the hot-add code

2013-07-14 Thread K. Y. Srinivasan
and the only failure is that the memory is not onlined within the allowed time, we should not be rolling back the state. Fix this bug. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: Stable sta...@vger.kernel.org --- drivers/hv/hv_balloon.c | 13 + 1 files changed, 5 insertions

[PATCH V2 2/2] Drivers: hv: balloon: Do not post pressure status if interrupted

2013-07-14 Thread K. Y. Srinivasan
When we are posting pressure status, we may get interrupted and handle the un-balloon operation. In this case just don't post the status as we know the pressure status is stale. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: Stable sta...@vger.kernel.org --- drivers/hv/hv_balloon.c

[PATCH V2 0/2] Drivers: hv: balloon: Fix some issues in the balloon driver

2013-07-14 Thread K. Y. Srinivasan
additional comments to the patch: 0001-Drivers-hv-balloon-Fix-a-bug-in-the-hot-add-code.patch based on the comments from Ben Hutchings b...@decadent.org.uk. K. Y. Srinivasan (2): Drivers: hv: balloon: Fix a bug in the hot-add code Drivers: hv: balloon: Do not post pressure status if interrupted

[PATCH 1/1] Drivers: hv: balloon: Initialize the transaction ID just before sending the packet

2013-07-17 Thread K. Y. Srinivasan
Each message sent from the guest carries with it a transaction ID. Assign the transaction ID just before putting the message on the VMBUS. This would help in debugging on the host side. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/hv_balloon.c |4 ++-- 1 files changed, 2

[PATCH 1/2] Drivers: base: memory: Export functionality for in kernel onlining of memory

2013-07-24 Thread K. Y. Srinivasan
The current machinery for hot-adding memory requires having user level to bring the memory segments online. Export the necessary functionality to bring the memory segment online without involving user space code. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/base/memory.c

[PATCH 0/2] Drivers: hv: balloon: Online memory segments in context

2013-07-24 Thread K. Y. Srinivasan
within a driver. K. Y. Srinivasan (2): Drivers: base: memory: Export functionality for in kernel onlining of memory Drivers: hv: balloon: Online the hot-added memory in context drivers/base/memory.c | 35 +++ drivers/hv/hv_balloon.c | 20

[PATCH 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-08-26 Thread K. Y. Srinivasan
o...@aepfle.de, Jan Beulich jbeul...@suse.com and H. Peter Anvin h.peter.an...@intel.com for their help in this effort. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- arch/x86/include/uapi/asm/hyperv.h | 13 + arch/x86/kernel/cpu/mshyperv.c | 17 + 2

[PATCH 1/1] Drivers: hv: vmbus: Do not attempt to negoatiate a new version prematurely

2013-08-28 Thread K. Y. Srinivasan
. Y. Srinivasan k...@microsoft.com --- drivers/hv/connection.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c index ec3b8cd..8f4743a 100644 --- a/drivers/hv/connection.c +++ b/drivers/hv/connection.c @@ -195,7 +195,10

[PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-03 Thread K. Y. Srinivasan
o...@aepfle.de, Jan Beulich jbeul...@suse.com and H. Peter Anvin h.peter.an...@intel.com for their help in this effort. In this version of the patch, I have addressed Jan's comments. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- arch/x86/include/uapi/asm/hyperv.h | 19

[PATCH 1/1] Drivers: input: serio: New driver to support Hyper-V synthetic keyboard

2013-09-15 Thread K. Y. Srinivasan
-by: K. Y. Srinivasan k...@microsoft.com --- drivers/input/serio/Kconfig |7 + drivers/input/serio/Makefile |1 + drivers/input/serio/hyperv-keyboard.c | 379 + 3 files changed, 387 insertions(+), 0 deletions(-) create mode 100644 drivers

[PATCH V2 1/1] Drivers: input: serio: New driver to support Hyper-V synthetic keyboard

2013-09-17 Thread K. Y. Srinivasan
like to thank Dan Carpenter dan.carpen...@oracle.com and Dmitry Torokhov dmitry.torok...@gmail.com for their detailed review of this driver. I have addressed all the comments of Dan and Dmitry in this version of the patch Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/input/serio

Drivers: scsi: FLUSH timeout

2013-09-20 Thread K. Y. Srinivasan
The SD_FLUSH_TIMEOUT value is currently hardcoded. On our cloud, we sometimes hit this timeout. I was wondering if we could make this a module parameter. If this is acceptable, I can send you a patch for this. Regards, K. Y ___ devel mailing list

[PATCH 1/1] [SCSI] Fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout

2014-06-04 Thread K. Y. Srinivasan
Commit ID: 7e660100d85af860e7ad763202fff717adcdaacd added code to derive the FLUSH_TIMEOUT from the basic I/O timeout. However, this patch did not use the basic I/O timeout of the device. Fix this bug. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/scsi/sd.c |4 +++- 1 files

[PATCH 0/2] Drivers: hv

2014-07-07 Thread K. Y. Srinivasan
This patch set fixes a bug in the VMBUS driver that dispatches driver specific callback as well as a bug in the KVP code. K. Y. Srinivasan (2): Drivers: hv: vmbus: Fix a bug in the channel callback dispatch code Drivers: hv: util: Fix a bug in the KVP code drivers/hv/connection.c |8

[PATCH 1/2] Drivers: hv: vmbus: Fix a bug in the channel callback dispatch code

2014-07-07 Thread K. Y. Srinivasan
. Make adjustments to the callback dispatch code to account for the way non-performance critical drivers handle reading of the channel. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/hv/connection.c |8 ++-- 1 files changed, 6 insertions(+), 2

[PATCH 2/2] Drivers: hv: util: Fix a bug in the KVP code

2014-07-07 Thread K. Y. Srinivasan
Add code to poll the channel since we process only one message at a time and the host may not interrupt us. Also increase the receive buffer size since some KVP messages are close to 8K bytes in size. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/hv

[PATCH 0/8] Drivers: scsi: storvsc: Bug fixes and improvements

2014-07-08 Thread K. Y. Srinivasan
In this patch set I have fixed a few bugs and implemented some enhancements. K. Y. Srinivasan (8): Drivers: scsi: storvsc: Change the limits to reflect the values on the host Drivers: scsi: storvsc: Filter commands based on the storage protocol version Drivers: scsi: storvsc: Fix

[PATCH 2/8] Drivers: scsi: storvsc: Filter commands based on the storage protocol version

2014-07-08 Thread K. Y. Srinivasan
Going forward it is possible that some of the commands that are not currently implemented will be implemented on future Windows hosts. Make command filtering depend on the host version. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/scsi/storvsc_drv.c

[PATCH 5/8] Drivers: scsi: storvsc: Fix a bug in the handling of SRB status flags

2014-07-08 Thread K. Y. Srinivasan
SRB status can have additional information. Mask these out before processing SRB status. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/scsi/storvsc_drv.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/scsi

[PATCH 4/8] Drivers: scsi: storvsc: Filter WRITE_SAME_16

2014-07-08 Thread K. Y. Srinivasan
Host does not handle WRITE_SAME_16; filter this command out. This patch is required to handle large devices (greater than 2 TB disks). Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/scsi/storvsc_drv.c |1 + 1 files changed, 1 insertions(+), 0

[PATCH 3/8] Drivers: scsi: storvsc: Fix a bug in handling VMBUS protocol version

2014-07-08 Thread K. Y. Srinivasan
this. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/scsi/storvsc_drv.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index 759853c..d9d8051 100644 --- a/drivers/scsi

[PATCH 1/8] Drivers: scsi: storvsc: Change the limits to reflect the values on the host

2014-07-08 Thread K. Y. Srinivasan
Hyper-V hosts can support multiple targets and multiple channels and larger number of LUNs per target. Update the code to reflect this. With this patch we can correctly enumerate all the paths in a multi-path storage environment. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta

[PATCH 8/8] drivers: scsi: storvsc: Correctly handle TEST_UNIT_READY failure

2014-07-08 Thread K. Y. Srinivasan
On some Windows hosts on FC SANs, TEST_UNIT_READY can return SRB_STATUS_ERROR. Correctly handle this. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/scsi/storvsc_drv.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git

[PATCH 6/8] Drivers: scsi: storvsc: Implement an abort handler

2014-07-08 Thread K. Y. Srinivasan
Implement a simple abort handler. The host does not support Abort; just ensure that all inflight I/Os have been accounted for. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/scsi/storvsc_drv.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff

[PATCH 7/8] drivers: scsi: storvsc: Set srb_flags in all cases

2014-07-08 Thread K. Y. Srinivasan
Correctly set SRB flags for all valid I/O directions. Some IHV drivers on the Windows host require this. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/scsi/storvsc_drv.c | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git

[PATCH V2 0/8] Drivers: scsi: storvsc: Bug fixes and improvements

2014-07-09 Thread K. Y. Srinivasan
In this patch set I have fixed a few bugs and implemented some enhancements. In this version of the patch I have addressed comments from Christoph Hellwig h...@infradead.org K. Y. Srinivasan (8): Drivers: scsi: storvsc: Change the limits to reflect the values on the host Drivers: scsi

[PATCH V2 4/8] Drivers: scsi: storvsc: Fix a bug in handling VMBUS protocol version

2014-07-09 Thread K. Y. Srinivasan
this. In this version of the patch I have addressed comments from Christoph Hellwig h...@infradead.org Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/scsi/storvsc_drv.c | 17 ++--- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git

[PATCH V2 5/8] Drivers: scsi: storvsc: Fix a bug in the handling of SRB status flags

2014-07-09 Thread K. Y. Srinivasan
SRB status can have additional information. Mask these out before processing SRB status. In this version of the patch I have addressed comments from Christoph Hellwig h...@infradead.org Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/scsi/storvsc_drv.c

[PATCH V2 3/8] Drivers: scsi: storvsc: Filter commands based on the storage protocol version

2014-07-09 Thread K. Y. Srinivasan
). Make command filtering depend on the host version. In this version of the patch I have addressed comments from Christoph Hellwig h...@infradead.org Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/scsi/storvsc_drv.c | 16 +--- 1 files changed

[PATCH V2 6/8] Drivers: scsi: storvsc: Implement an abort handler

2014-07-09 Thread K. Y. Srinivasan
Implement a simple abort handler. The host does not support Abort; just ensure that all inflight I/Os have been accounted for. In this version of the patch I have addressed comments from Christoph Hellwig h...@infradead.org Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/scsi

[PATCH V2 8/8] drivers: scsi: storvsc: Correctly handle TEST_UNIT_READY failure

2014-07-09 Thread K. Y. Srinivasan
On some Windows hosts on FC SANs, TEST_UNIT_READY can return SRB_STATUS_ERROR. Correctly handle this. In this version of the patch I have addressed comments from Christoph Hellwig h...@infradead.org Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/scsi

[PATCH V2 2/8] Drivers: scsi: storvsc: Set cmd_per_lun to reflect value supported by the Host

2014-07-09 Thread K. Y. Srinivasan
Set cmd_per_lun to reflect value supported by the Host. In this version of the patch I have addressed comments from Christoph Hellwig h...@infradead.org Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/scsi/storvsc_drv.c |2 +- 1 files changed, 1

[PATCH V2 2/8] Drivers: scsi: storvsc: Set cmd_per_lun to reflect value supported by the Host

2014-07-10 Thread K. Y. Srinivasan
Set cmd_per_lun to reflect value supported by the Host. In this version of the patch I have addressed comments from Christoph Hellwig h...@infradead.org Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/scsi/storvsc_drv.c |2 +- 1 files changed, 1

[PATCH V3 0/7] Drivers: scsi: storvsc: Bug fixes and improvements

2014-07-12 Thread K. Y. Srinivasan
In this patch set I have fixed a few bugs and implemented some enhancements. In this version of the patch I have addressed comments from Christoph Hellwig h...@infradead.org K. Y. Srinivasan (7): Drivers: scsi: storvsc: Change the limits to reflect the values on the host Drivers: scsi

[PATCH V3 1/7] Drivers: scsi: storvsc: Change the limits to reflect the values on the host

2014-07-12 Thread K. Y. Srinivasan
Christoph Hellwig h...@infradead.org Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/scsi/storvsc_drv.c | 47 +--- 1 files changed, 31 insertions(+), 16 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers

[PATCH 6/7] drivers: scsi: storvsc: Set srb_flags in all cases

2014-07-12 Thread K. Y. Srinivasan
Correctly set SRB flags for all valid I/O directions. Some IHV drivers on the Windows host require this. The host validates the command and SRB flags prior to passing the command down to native driver stack. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org

[PATCH 7/7] drivers: scsi: storvsc: Correctly handle TEST_UNIT_READY failure

2014-07-12 Thread K. Y. Srinivasan
Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/scsi/storvsc_drv.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index 9342ba4..29d0329 100644 --- a/drivers/scsi

[PATCH V3 2/7] Drivers: scsi: storvsc: Set cmd_per_lun to reflect value supported by the Host

2014-07-12 Thread K. Y. Srinivasan
Set cmd_per_lun to reflect value supported by the Host. In this version of the patch I have addressed comments from Christoph Hellwig h...@infradead.org Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/scsi/storvsc_drv.c |2 +- 1 files changed, 1

[PATCH 5/7] Drivers: scsi: storvsc: Implement a timedout handler

2014-07-12 Thread K. Y. Srinivasan
On Azure, we have seen instances of unbounded I/O latencies. To deal with this issue, implement handler that can reset the timeout. Note that the host gaurantees that it will respond to each command that has been issued. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta

[PATCH V3 4/7] Drivers: scsi: storvsc: Fix a bug in handling VMBUS protocol version

2014-07-12 Thread K. Y. Srinivasan
this. In this version of the patch I have addressed comments from Christoph Hellwig h...@infradead.org Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/scsi/storvsc_drv.c | 17 ++--- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git

[PATCH V3 3/7] Drivers: scsi: storvsc: Filter commands based on the storage protocol version

2014-07-12 Thread K. Y. Srinivasan
). Make command filtering depend on the host version. In this version of the patch I have addressed comments from Christoph Hellwig h...@infradead.org Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/scsi/storvsc_drv.c | 16 +--- 1 files changed

[PATCH 1/1] Drivers: scsi: storvsc: Add blist flags

2014-07-21 Thread K. Y. Srinivasan
Add blist flags to permit the reading of the VPD pages even when the target may claim SPC-2 compliance. MSFT targets currently claim SPC-2 compliance while they implement post SPC-2 features. With this patch we can correctly handle WRITE_SAME_16 issues. Signed-off-by: K. Y. Srinivasan k

[PATCH 5/6] Drivers: net: hyperv: Enable send side checksum offload

2014-03-06 Thread K. Y. Srinivasan
Enable send side checksum offload. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/netvsc_drv.c | 70 +- 1 files changed, 68 insertions(+), 2 deletions(-) diff --git a/drivers/net

[PATCH 4/6] Drivers: net: hyperv: Enable receive side IP checksum offload

2014-03-06 Thread K. Y. Srinivasan
Enable receive side checksum offload. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 33 - drivers/net/hyperv/netvsc_drv.c | 20 drivers/net

[PATCH 3/6] Drivers: net: hyperv: Enable offloads on the host

2014-03-06 Thread K. Y. Srinivasan
Prior to enabling guest side offloads, enable the offloads on the host. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 55 drivers/net/hyperv/rndis_filter.c | 83

[PATCH V3 3/6] Drivers: net: hyperv: Enable offloads on the host

2014-03-06 Thread K. Y. Srinivasan
Prior to enabling guest side offloads, enable the offloads on the host. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 55 + drivers/net/hyperv/rndis_filter.c | 80

[PATCH V2 1/6] Drivers: net: hyperv: Enable scatter gather I/O

2014-03-06 Thread K. Y. Srinivasan
Cleanup the code and enable scatter gather I/O. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/netvsc_drv.c | 153 +-- 1 files changed, 114 insertions(+), 39 deletions(-) diff --git

[PATCH V2 5/6] Drivers: net: hyperv: Enable send side checksum offload

2014-03-06 Thread K. Y. Srinivasan
Enable send side checksum offload. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 10 ++ drivers/net/hyperv/netvsc_drv.c | 69 +- 2 files changed, 77 insertions

[PATCH V2 4/6] Drivers: net: hyperv: Enable receive side IP checksum offload

2014-03-06 Thread K. Y. Srinivasan
Enable receive side checksum offload. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 33 - drivers/net/hyperv/netvsc_drv.c | 19 +++ drivers/net

[PATCH V2 6/6] Drivers: net: hyperv: Enable large send offload

2014-03-06 Thread K. Y. Srinivasan
Enable segmentation offload. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 40 +++ drivers/net/hyperv/netvsc_drv.c | 38 +--- 2

[PATCH V2 2/6] Drivers: net: hyperv: Cleanup the send path

2014-03-06 Thread K. Y. Srinivasan
In preparation for enabling offloads, cleanup the send path. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/hyperv_net.h |7 +--- drivers/net/hyperv/netvsc_drv.c | 88

[PATCH 1/1] Drivers: hv: vmbus: Include the limit on the number of pfns we can handle

2014-03-06 Thread K. Y. Srinivasan
Increase the maximum number of pfns we can handle is a single vmbus packet. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- include/linux/hyperv.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 330ec44

  1   2   3   4   5   6   7   8   9   >