[PATCH 0/5] Drivers: hv: Miscellaneous fixes

2015-09-15 Thread K. Y. Srinivasan
The Copy-VMFile cmdlet on the host may fail because the guest fcopy driver state machine gets out of sync. This happens because the ->state and ->context variables are accessed by the main thread and from interrupt context. If an interrupt happens between fcopy_respond_to_host and hv_poll_channel i

[PATCH 1/5] Drivers: hv: vmbus: fix init_vp_index() for reloading hv_netvsc

2015-09-15 Thread K. Y. Srinivasan
From: Dexuan Cui This fixes the recent commit 3b71107d73b16074afa7658f3f0fcf837aabfe24: Drivers: hv: vmbus: Further improve CPU affiliation logic Without the fix, reloading hv_netvsc hangs the guest. Signed-off-by: Dexuan Cui Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c

[PATCH 2/5] hv: add helpers to handle hv_util device state

2015-09-15 Thread K. Y. Srinivasan
changes via get/set helpers with a memory barrier. Signed-off-by: Olaf Hering Signed-off-by: K. Y. Srinivasan --- drivers/hv/hyperv_vmbus.h | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h index 4b1eb6d

[PATCH 4/5] hv: kvp: use wrappers to propaigate state

2015-09-15 Thread K. Y. Srinivasan
From: Olaf Hering The "state" is used by several threads of execution. Propagate the state to make changes visible. Also propagate context change in kvp_on_msg. Signed-off-by: Olaf Hering Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_kv

[PATCH 5/5] hv: vss: use wrappers to propagate state

2015-09-15 Thread K. Y. Srinivasan
From: Olaf Hering The "state" is used by several threads of execution. Propagate the state to make changes visible. Also propagate context change in vss_on_msg. Signed-off-by: Olaf Hering Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_snapsho

[PATCH 0/3] Drivers: hv: vmbus: Support PCI Express pass-through driver

2015-09-15 Thread K. Y. Srinivasan
The patch set for supporting PCI Express pass through on Hyper-V has been posted and is currently under review. These vmbus patches are needed for the PCI Express pass through driver. Since these need to go through Greg's tree, I am posting these separately here. Jake Oshins (3): drivers:hv: E

[PATCH 1/3] drivers:hv: Export a function that maps Linux CPU num onto Hyper-V proc num

2015-09-15 Thread K. Y. Srinivasan
Oshins Signed-off-by: K. Y. Srinivasan --- drivers/hv/vmbus_drv.c | 17 + include/linux/hyperv.h |2 ++ 2 files changed, 19 insertions(+), 0 deletions(-) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index 0a344fa..1a45302 100644 --- a/drivers/hv/vmbus_drv.c

[PATCH 2/3] drivers:hv: Export the API to invoke a hypercall on Hyper-V

2015-09-15 Thread K. Y. Srinivasan
Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv.c|9 + include/linux/hyperv.h |1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/hv/hv.c b/drivers/hv/hv.c index 6341be8..a7b6c6a 100644 --- a/drivers/hv/hv.c +++ b/drivers/hv/hv.c @@ -89,9 +89,9

[PATCH 3/3] drivers:hv: Define the channel type for Hyper-V PCI Express pass-through

2015-09-15 Thread K. Y. Srinivasan
From: Jake Oshins This defines the channel type for PCI front-ends in Hyper-V VMs. Signed-off-by: Jake Oshins Signed-off-by: K. Y. Srinivasan --- include/linux/hyperv.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/include/linux/hyperv.h b/include/linux

[PATCH 3/5] hv: fcopy: use wrappers to propagate state

2015-09-15 Thread K. Y. Srinivasan
From: Olaf Hering The "state" is used by several threads of execution. Propagate the state to make changes visible. Also propagate context change in hv_fcopy_onchannelcallback. Without this change fcopy may hang at random points. Signed-off-by: Olaf Hering Signed-off-by: K. Y.

[PATCH 1/3] scsi_scan: don't dump trace when scsi_prep_async_scan() is called twice

2015-09-17 Thread K. Y. Srinivasan
nd in case previous scan is still running we get the message and stack dump on console. Signed-off-by: Vitaly Kuznetsov Reviewed-by: K. Y. Srinivasan Tested-by: Alex Ng Signed-off-by: K. Y. Srinivasan --- drivers/scsi/scsi_scan.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) di

[PATCH RESEND 3/3] storvsc: Don't set the SRB_FLAGS_QUEUE_ACTION_ENABLE flag

2015-09-17 Thread K. Y. Srinivasan
Don't set the SRB_FLAGS_QUEUE_ACTION_ENABLE flag since we are not specifying tags. Qlogic driver does not work correctly if the SRB_FLAGS_QUEUE_ACTION_ENABLE is set and no action tag is specified. Signed-off-by: K. Y. Srinivasan Tested-by: Vivek Yadav Reviewed-by: Long Li --- drivers

[PATCH 2/3] scsi: introduce short_inquiry flag for broken host adapters

2015-09-17 Thread K. Y. Srinivasan
36' messages on console. This can be problematic for slow consoles. Introduce short_inquiry host template flag to avoid printing error messages for such adapters. Signed-off-by: Vitaly Kuznetsov Reviewed-by: K. Y. Srinivasan Tested-by: Alex Ng Signed-off-by: K. Y. Srinivasan --- drivers/scsi/

[PATCH 0/3] scsi: Some miscellaneous fixes

2015-09-17 Thread K. Y. Srinivasan
Some miscellaneous fixes. K. Y. Srinivasan (1): storvsc: Don't set the SRB_FLAGS_QUEUE_ACTION_ENABLE flag Vitaly Kuznetsov (2): scsi_scan: don't dump trace when scsi_prep_async_scan() is called twice scsi: introduce short_inquiry flag for broken host adapters drivers/scsi/s

[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 Cc: --- drivers/hv/connection.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/hv

[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 Cc: --- drivers/hv/hv_kvp.c | 17

[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 a

[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 Cc: --- drivers/scsi/storvsc_drv.c | 11 --- 1 files changed, 8

[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 Cc: --- drivers/scsi/storvsc_drv.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c

[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 Cc: --- drivers/scsi/storvsc_drv.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/scsi

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

2014-07-08 Thread K. Y. Srinivasan
. Signed-off-by: K. Y. Srinivasan Cc: --- 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/storvsc_drv.c +++ b/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 Cc: --- drivers/scsi

[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 Cc: --- drivers/scsi/storvsc_drv.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi

[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 --- drivers/scsi/storvsc_drv.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git

[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 Cc: --- drivers/scsi/storvsc_drv.c | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers

[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 K. Y. Srinivasan (8): Drivers: scsi: storvsc: Change the limits to reflect the values on the host Drivers: scsi: storvsc: Set

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

2014-07-09 Thread K. Y. Srinivasan
Christoph Hellwig Signed-off-by: K. Y. Srinivasan Cc: --- drivers/scsi/storvsc_drv.c | 47 +--- 1 files changed, 31 insertions(+), 16 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index 9969fa1..8938b13 100644 --- a

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

2014-07-09 Thread K. Y. Srinivasan
this version of the patch I have addressed comments from Christoph Hellwig Signed-off-by: K. Y. Srinivasan Cc: --- drivers/scsi/storvsc_drv.c | 17 ++--- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index

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

2014-07-09 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 Cc: --- drivers/scsi/storvsc_drv.c | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers

[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 Signed-off-by: K. Y. Srinivasan Cc: --- drivers/scsi/storvsc_drv.c |5 - 1 files changed, 4 insertions(+), 1

[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 Signed-off-by: K. Y. Srinivasan Cc: --- drivers/scsi/storvsc_drv.c | 16 +--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/drivers

[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 Signed-off-by: K. Y. Srinivasan --- drivers/scsi/storvsc_dr

[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 Signed-off-by: K. Y. Srinivasan Cc: --- drivers/scsi/storvsc_drv.c |7 +++ 1 files changed, 7 insertions

[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 Signed-off-by: K. Y. Srinivasan Cc: --- drivers/scsi/storvsc_drv.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/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 Signed-off-by: K. Y. Srinivasan Cc: --- drivers/scsi/storvsc_drv.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi

[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 K. Y. Srinivasan (7): Drivers: scsi: storvsc: Change the limits to reflect the values on the host Drivers: scsi: storvsc: Set

[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 Signed-off-by: K. Y. Srinivasan Cc: --- drivers/scsi/storvsc_drv.c | 47 +--- 1 files changed, 31 insertions(+), 16 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index 9969fa1..8938b13 100644 --- a

[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 Cc: --- drivers/scsi/storvsc_drv.c | 12

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

2014-07-12 Thread K. Y. Srinivasan
. Y. Srinivasan Cc: --- 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/storvsc_drv.c +++ b/drivers/scsi/storvsc_drv.c @@ -1018,6

[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 Signed-off-by: K. Y. Srinivasan Cc: --- drivers/scsi/storvsc_drv.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi

[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 Cc: --- drivers/scsi/storvsc_drv.c

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

2014-07-12 Thread K. Y. Srinivasan
this version of the patch I have addressed comments from Christoph Hellwig Signed-off-by: K. Y. Srinivasan Cc: --- drivers/scsi/storvsc_drv.c | 17 ++--- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index

[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 Signed-off-by: K. Y. Srinivasan Cc: --- drivers/scsi/storvsc_drv.c | 16 +--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/drivers

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

2014-07-20 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

[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

[PATCH 1/1] Drivers: net-next: hyperv

2014-07-30 Thread K. Y. Srinivasan
For forwarding scenarios, it will be useful to allocate larger sendbuf. Make the necessary adjustments to permit this. Signed-off-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h |2 +- drivers/net/hyperv/netvsc.c |7 ++- 2 files changed, 3 insertions(+), 6 deletions

[PATCH 1/1] Drivers: net-next: hyperv: Increase the size of the sendbuf region

2014-07-30 Thread K. Y. Srinivasan
For forwarding scenarios, it will be useful to allocate larger sendbuf. Make the necessary adjustments to permit this. Signed-off-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h |2 +- drivers/net/hyperv/netvsc.c |7 ++- 2 files changed, 3 insertions(+), 6 deletions

[PATCH 1/1 V2] Drivers: net-next: hyperv: Increase the size of the sendbuf region

2014-08-02 Thread K. Y. Srinivasan
effect on throughput beyond 16MB. Thus I have chosen 16MB here. Increasing the sendbuf value makes a material difference in small packet handling In this version of the patch, based on David's feedback, I have added additional details in the commit log. Signed-off-by: K. Y. Srini

[PATCH 1/1] Drivers: net-next: hyperv: Adjust the size of sendbuf region to support ws2008r2

2014-08-06 Thread K. Y. Srinivasan
WS2008R2 is a supported platform and it turns out that the maximum sendbuf size that ws2008R2 can support is only 15MB. Make the necessary adjustment. Signed-off-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a

[PATCH 0/2] Drivers: scsi: storvsc: Fix issues with hot-add/remove of LUNs

2014-08-16 Thread K. Y. Srinivasan
This patch-set addresses issues with LUN hot-add and remove. When the host notifies the guest that a scan is needed, scan the host. Also, prior to discovering new devices that may have been added, ensure we handle the LUN remove case first. K. Y. Srinivasan (2): Drivers: scsi: storvsc: In

[PATCH 1/2] Drivers: scsi: storvsc: In responce to a scan event, scan the host

2014-08-16 Thread K. Y. Srinivasan
The virtual HBA that storvsc implements can support multiple channels and targets. So, scan the host when the host notifies that a scan is needed. Signed-off-by: K. Y. Srinivasan --- drivers/scsi/storvsc_drv.c | 19 +++ 1 files changed, 7 insertions(+), 12 deletions(-) diff

[PATCH 2/2] Drivers: scsi: storvsc: Force discovery of LUNs that may have been removed.

2014-08-16 Thread K. Y. Srinivasan
for an I/O to remove the device, force the discovery of LUNs that may have been removed prior to discovering LUNs that may have been added. Signed-off-by: K. Y. Srinivasan --- drivers/scsi/storvsc_drv.c | 26 ++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git

[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 Reviewed-by: Haiyang Zhang --- drivers/hv/channel_mgmt.c | 75 +++- drivers/hv/hv_kvp.c | 24 ++- drivers/hv/hv_snapshot.c | 18 +++--- drivers/hv/hv_util.c | 21 +++-- include/linux

[PATCH 1/1] Tools: hv: KVP: Fix a bug in IPV6 subnet enumeration

2013-07-11 Thread K. Y. Srinivasan
Each subnet string needs to be separated with a semicolon. Fix this bug. Signed-off-by: K. Y. Srinivasan Cc: Stable --- tools/hv/hv_kvp_daemon.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/hv/hv_kvp_daemon.c b/tools/hv/hv_kvp_daemon.c index ca9fa4d

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

2013-07-12 Thread K. Y. Srinivasan
This patch set adresses a couple of issues discovered in the balloon driver: 1. Prevent stale pressure report being posted. 2. If memory is not brought online within the allowed time, do not roll back hot add state if hot add succeeded. K. Y. Srinivasan (2): Drivers: hv: balloon: Fix a bug

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

2013-07-12 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 Cc: Stable --- drivers/hv/hv_balloon.c |8 1 files chang

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

2013-07-12 Thread K. Y. Srinivasan
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 Cc: Stable --- drivers/hv/hv_balloon.c | 10 ++ 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/hv

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

2013-07-14 Thread K. Y. Srinivasan
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 Cc: Stable --- drivers/hv/hv_balloon.c | 13 + 1 files changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers/hv

[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 Cc: Stable --- drivers/hv/hv_balloon.c |8 1 files chang

[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 . 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 drivers/hv/hv_balloon.c

[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 --- drivers/hv/hv_balloon.c |4 ++-- 1 files changed, 2 insertions(+), 2

[PATCH 1/1] Drivers: base: memory: Export symbols for onlining memory blocks

2013-07-19 Thread K. Y. Srinivasan
The current machinery for hot-adding memory requires having udev rules to bring the memory segments online. Export the necessary functionality to to bring the memory segment online without involving user space code. Signed-off-by: K. Y. Srinivasan --- drivers/base/memory.c |5

[PATCH 2/2] Drivers: hv: balloon: Online the hot-added memory "in context"

2013-07-24 Thread K. Y. Srinivasan
Leverage the newly exported functionality to bring memory online without involving user level code. Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_balloon.c | 20 +++- 1 files changed, 3 insertions(+), 17 deletions(-) diff --git a/drivers/hv/hv_balloon.c b/drivers/hv

[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 --- drivers/base/memory.c | 35

[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

[PATCH 1/1] Drivers: hv: vmbus: Fix a bug in the handling of channel offers

2013-08-26 Thread K. Y. Srinivasan
The channel state should be correctly set before registering the device. In the current code the driver probe would fail for channels that have been rescinded and subsequently re-offered. Fix the bug. Signed-off-by: K. Y. Srinivasan Cc: --- drivers/hv/channel_mgmt.c | 14 +++--- 1

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

2013-08-26 Thread K. Y. Srinivasan
thank Olaf Hering , Jan Beulich and H. Peter Anvin for their help in this effort. Signed-off-by: K. Y. Srinivasan --- arch/x86/include/uapi/asm/hyperv.h | 13 + arch/x86/kernel/cpu/mshyperv.c | 17 + 2 files changed, 30 insertions(+), 0 deletions(-) diff --git

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

2013-08-28 Thread K. Y. Srinivasan
. Y. Srinivasan --- 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 @@ int vmbus_connect

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

2013-09-03 Thread K. Y. Srinivasan
thank Olaf Hering , Jan Beulich and H. Peter Anvin for their help in this effort. In this version of the patch, I have addressed Jan's comments. Signed-off-by: K. Y. Srinivasan --- arch/x86/include/uapi/asm/hyperv.h | 19 +++ arch/x86/kernel/cpu/mshype

[PATCH 1/1] Drivers: hv: vmbus: Terminate vmbus version negotiation on timeout

2013-09-04 Thread K. Y. Srinivasan
commit 666b9adc801ef012612c4e43e0f44b2cdc1979cf terminated vmbus version negotiation incorrectly. We need to terminate the version negotiation only if the current negotiation were to timeout. Signed-off-by: K. Y. Srinivasan --- drivers/hv/connection.c |2 +- 1 files changed, 1 insertions

[PATCH 1/1] Drivers: hv: util: Correctly support ws2008R2 and earlier

2013-09-06 Thread K. Y. Srinivasan
...@suse.com) for identifying the problem. Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_kvp.c | 38 + drivers/hv/hv_snapshot.c |6 ++-- drivers/hv/hv_util.c | 71 +++--- include/linux/hyperv.h |7 +++- 4

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

2013-09-15 Thread K. Y. Srinivasan
Add a new driver to support synthetic keyboard. On the next generation Hyper-V guest firmware, many legacy devices will not be emulated and this driver will be required. I would like to thank Vojtech Pavlik for helping me with the details of the AT keyboard driver. Signed-off-by: K. Y

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

2013-09-17 Thread K. Y. Srinivasan
Carpenter and Dmitry Torokhov 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 --- drivers/input/serio/Kconfig |7 + drivers/input/serio/Makefile |1 + drivers

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 de

<    5   6   7   8   9   10