Re: [PATCH 1/1] drivers: hv: hv_utils_transport: Fixing validation of correct pointer

2015-07-03 Thread Vitaly Kuznetsov
Maninder Singh writes: > cn_msg should be validated instead of msg after memory allocation. > Thanks, This was already fixed by Dan: http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2015-May/070193.html my Reviewed-by: http://driverdev.linuxdriverproject.org/pipermail/driverde

Re: [PATCH] defines modified to match the 80-char rule

2015-07-03 Thread Krzysztof Hałasa
Joe Perches writes: > -#define LCONSOLE(mask, format, ...) CDEBUG(D_CONSOLE | (mask), format, ## > __VA_ARGS__) > -#define LCONSOLE_INFO(format, ...) CDEBUG_LIMIT(D_CONSOLE, format, ## > __VA_ARGS__) > -#define LCONSOLE_WARN(format, ...) CDEBUG_LIMIT(D_CONSOLE | D_WARNING, > format, ## __VA_

Re: [PATCH net-next] hv_netvsc: Add support to set MTU reservation from guest side

2015-07-03 Thread Dan Carpenter
On Thu, Jul 02, 2015 at 01:17:35PM -0700, Haiyang Zhang wrote: > When packet encapsulation is in use, the MTU needs to be reduced for > headroom reservation. > The existing code takes the updated MTU value only from the host side. > But vSwitch extensions, such as Open vSwitch, require the flexibil

INVESTMENT PROPOSAL.

2015-07-03 Thread Stella Chimbetu
Dear friend, I write to request your co-operation to assist me in the relocation and transfer of $20M which is presently available for investment.Reply me with your full names and phone number.so that i will send you the details. Sincerely,Stella Chimbet _

Re: [lustre-devel] LIBCFS_ALLOC

2015-07-03 Thread Dilger, Andreas
On 2015/07/02, 4:25 PM, "Simmons, James A." wrote: > >>> >Yeah. You're right. Doing a vmalloc() when kmalloc() doesn't have >>>even >>> >a tiny sliver of RAM isn't going to work. It's easier to use >>> >libcfs_kvzalloc() everywhere, but it's probably the wrong thing. >>> >>> The original reas

Re: [PATCH net-next] hv_netvsc: Add support to set MTU reservation from guest side

2015-07-03 Thread David Miller
From: Dan Carpenter Date: Fri, 3 Jul 2015 14:28:47 +0300 > On Thu, Jul 02, 2015 at 01:17:35PM -0700, Haiyang Zhang wrote: >> When packet encapsulation is in use, the MTU needs to be reduced for >> headroom reservation. >> The existing code takes the updated MTU value only from the host side. >> B

Re: [PATCH] scsi: storvsc: make INQUIRY response SPC-compliant

2015-07-03 Thread Christoph Hellwig
On Wed, Jul 01, 2015 at 11:04:08AM +0200, Vitaly Kuznetsov wrote: > SPC-2/3/4 specs state that "The standard INQUIRY data (see table ...) > shall contain at least 36 bytes". Hyper-V host doesn't always honor this > requirement, e.g. when there is no physical device present at a particular > LUN hos

RE: [PATCH] scsi: storvsc: make INQUIRY response SPC-compliant

2015-07-03 Thread KY Srinivasan
> -Original Message- > From: Christoph Hellwig [mailto:h...@infradead.org] > Sent: Friday, July 3, 2015 9:19 AM > To: Vitaly Kuznetsov > Cc: linux-s...@vger.kernel.org; Long Li; KY Srinivasan; Haiyang Zhang; James > E.J. Bottomley; de...@linuxdriverproject.org; linux-ker...@vger.kernel.or

RE: [PATCH 1/1] drivers: hv: hv_utils_transport: Fixing validation of correct pointer

2015-07-03 Thread KY Srinivasan
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Friday, July 3, 2015 1:10 AM > To: Maninder Singh; KY Srinivasan > Cc: Haiyang Zhang; de...@linuxdriverproject.org; linux- > ker...@vger.kernel.org; panka...@samsung.com > Subject: Re: [PATCH 1/1] drivers:

RE: [PATCH] scsi: storvsc: use shost_for_each_device() instead of open coding

2015-07-03 Thread KY Srinivasan
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Wednesday, July 1, 2015 2:31 AM > To: linux-s...@vger.kernel.org > Cc: Long Li; KY Srinivasan; Haiyang Zhang; James E.J. Bottomley; > de...@linuxdriverproject.org; linux-ker...@vger.kernel.org > Subject: [P

Re: [PATCH] defines modified to match the 80-char rule

2015-07-03 Thread Joe Perches
On Fri, 2015-07-03 at 12:58 +0200, Krzysztof Hałasa wrote: > Joe Perches writes: > > > -#define LCONSOLE(mask, format, ...) CDEBUG(D_CONSOLE | (mask), format, ## > > __VA_ARGS__) > > -#define LCONSOLE_INFO(format, ...) CDEBUG_LIMIT(D_CONSOLE, format, ## > > __VA_ARGS__) > > -#define LCONSOLE_W

RE: [PATCH] scsi: storvsc: use shost_for_each_device() instead of open coding

2015-07-03 Thread Long Li
> -Original Message- > From: KY Srinivasan > Sent: Friday, July 03, 2015 11:35 AM > To: Vitaly Kuznetsov; linux-s...@vger.kernel.org > Cc: Long Li; Haiyang Zhang; James E.J. Bottomley; > de...@linuxdriverproject.org; > linux-ker...@vger.kernel.org > Subject: RE: [PATCH] scsi: storvsc: us

[PATCH 0/5] Drivers: hv: Some miscellaneous fixes

2015-07-03 Thread K. Y. Srinivasan
Some miscellaneous fixes. Dan Carpenter (1): hv: util: checking the wrong variable Denis V. Lunev (1): mshyperv: fix recognition of Hyper-V guest crash MSR's K. Y. Srinivasan (1): Drivers: hv: vmbus: Consider ND NIC in binding channels to CPUs Nik Nyby (1): Drivers: hv: vmbus: fix typo

[PATCH 5/5] Drivers: hv: vmbus: Consider ND NIC in binding channels to CPUs

2015-07-03 Thread K. Y. Srinivasan
We cycle through all the "high performance" channels to distribute load across the available CPUs. Process the NetworkDirect as a high performance device. Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/driver

[PATCH 3/5] Drivers: hv: vmbus: don't send CHANNELMSG_UNLOAD on pre-Win2012R2 hosts

2015-07-03 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov Pre-Win2012R2 hosts don't properly handle CHANNELMSG_UNLOAD and wait_for_completion() hangs. Avoid sending such request on old hosts. Signed-off-by: Vitaly Kuznetsov Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c |4 1 files changed, 4 insertions

[PATCH 2/5] Drivers: hv: vmbus: fix typo in hv_port_info struct

2015-07-03 Thread K. Y. Srinivasan
From: Nik Nyby This fixes a typo: base_flag_bumber to base_flag_number Signed-off-by: Nik Nyby Signed-off-by: K. Y. Srinivasan --- drivers/hv/hyperv_vmbus.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h index cd

[PATCH 4/5] mshyperv: fix recognition of Hyper-V guest crash MSR's

2015-07-03 Thread K. Y. Srinivasan
From: Denis V. Lunev Hypervisor Top Level Functional Specification v3.1/4.0 notes that cpuid (0x4003) EDX's 10th bit should be used to check that Hyper-V guest crash MSR's functionality available. This patch should fix this recognition. Currently the code checks EAX register instead of EDX.

[PATCH 1/5] hv: util: checking the wrong variable

2015-07-03 Thread K. Y. Srinivasan
From: Dan Carpenter We don't catch this allocation failure because there is a typo and we check the wrong variable. Fixes: 14b50f80c32d ('Drivers: hv: util: introduce hv_utils_transport abstraction') Signed-off-by: Dan Carpenter Reviewed-by: Vitaly Kuznetsov Signed-off-by: K. Y. Srinivasan

[PATCH 1/1] x86: Hyper-V: Mark the Hyper-V clocksource as being high resolution

2015-07-03 Thread K. Y. Srinivasan
From: Vivek yadav By design, alternative clock sources listed are based on the resolution of current clock source. Once you set a high resolution clock, only high resolution sources are returned. Mark Hyper-V clock source as a high resolution clock source. Signed-off-by: Vivek yadav Signed-off