[PATCH 1/1] Drivers: hv: hv_util: Avoid dynamic allocation in time synch

2016-09-08 Thread kys
From: Vivek yadav Under stress, we have seen allocation failure in time synch code. Avoid this dynamic allocation. Signed-off-by: Vivek Yadav Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_util.c | 39

STRICTLY CONFIDENTIAL

2016-09-08 Thread Acct. Dept.
I have important transaction for you as next of kin to claim US$18.37m Mail me on my private email: chimwia...@gmail.com so i can send you more details Thanks Mr.Chim Wai Kim === DISCLAIMER: This email and

Re: [PATCH 3/3] staging: vme_user: alloc buffer when setting slave

2016-09-08 Thread Martyn Welch
On Fri, Sep 02, 2016 at 04:17:01PM -0500, Aaron Sierra wrote: > Some bridges support a minimum slave window larger than this driver's > 128 KB default buffer size. Also bridges typically require the PCI and > VME bases to be aligned to the size of the window. > Which bridge has a minimum slave

Re: staging: vme_user: accept bus_num of zero

2016-09-08 Thread Martyn Welch
On Fri, Sep 02, 2016 at 03:59:45PM -0500, Aaron Sierra wrote: > The driver's bus_num parameter is used to select a VME bus during probe. > This parameter is used both as a boolean to indicate that probing should > occur as well as which bus should be probed. However, the first bus in > the system

Re: [PATCH 2/3] staging: vme_user: look up image once in ioctl

2016-09-08 Thread Martyn Welch
On Fri, Sep 02, 2016 at 04:16:55PM -0500, Aaron Sierra wrote: > Assign a pointer to the image descriptor once at the beginning of > the ioctl to help keep code concise. > Same with this patch. I'm not sure what's gained by doing this. > Signed-off-by: Aaron Sierra > --- >

Re: [PATCH 1/3] staging: vme_user: return retval in vme_user_ioctl

2016-09-08 Thread Martyn Welch
On Fri, Sep 02, 2016 at 04:16:48PM -0500, Aaron Sierra wrote: > Update each case to set retval and return that value at the end of the > function. This also replaces most case statement returns with breaks > and collapses some whitespace. > Sorry if I'm being dense, but is there an advantage to

Re: [PATCH] vme: fake: fix build for 64-bit dma_addr_t

2016-09-08 Thread Martyn Welch
On Tue, Sep 06, 2016 at 02:59:41PM +0200, Arnd Bergmann wrote: > casting between dma_addr_t and a pointer is generally tricky, > as they might not be the same size and almost never point into > the same address space. With 32-bit ARM systems and LPAE, we > get this warning for the vme_fake driver

[PATCH] staging: comedi: comedi_fops: coding style fixes

2016-09-08 Thread Matias Mucciolo
- Fixed coding style in comedi_fops.c Symbolic to octal permission. Signed-off-by: Matias Mucciolo --- drivers/staging/comedi/comedi_fops.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/comedi/comedi_fops.c

Re: [PATCH] staging/lustre/lov: add missing header dependencies

2016-09-08 Thread James Simmons
> We get 1 warning when building kernel with W=1: > drivers/staging/lustre/lustre/lov/lov_object.c:956:23: warning: no previous > prototype for 'lov_lsm_get' [-Wmissing-prototypes] > drivers/staging/lustre/lustre/lov/lov_object.c:972:6: warning: no previous > prototype for 'lov_lsm_put'

Re: [PATCH] staging: comedi: coding style fixes

2016-09-08 Thread Greg Kroah-Hartman
On Thu, Sep 08, 2016 at 02:40:50PM -0300, Matias Mucciolo wrote: > > - Fixed coding style in comedi_fops.c Symbolic to octal permission. > - Fixed coding style in drivers.c block comment align That's multiple things, please break this up into multiple patches. thanks, greg k-h

Re: [PATCH] staging/lustre/obdclass: add missing header dependencies

2016-09-08 Thread James Simmons
> We get 1 warning when building kernel with W=1: > drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c:157:5: warning: > no previous prototype for 'obd_sysctl_init' [-Wmissing-prototypes] > > In fact, this function is declared in ../../include/obd_class.h, > so this patch add missing

[PATCH] staging: comedi: coding style fixes

2016-09-08 Thread Matias Mucciolo
- Fixed coding style in comedi_fops.c Symbolic to octal permission. - Fixed coding style in drivers.c block comment align Signed-off-by: Matias Mucciolo --- drivers/staging/comedi/comedi_fops.c | 6 +++--- drivers/staging/comedi/drivers.c | 2 +- 2 files changed,

Re: [PATCH] android: binder: Disable preemption while holding the global binder lock

2016-09-08 Thread Greg Kroah-Hartman
On Thu, Sep 08, 2016 at 09:12:50AM -0700, Todd Kjos wrote: > In Android systems, the display pipeline relies on low > latency binder transactions and is therefore sensitive to > delays caused by contention for the global binder lock. > Jank is siginificantly reduced by disabling preemption > while

[PATCH] android: binder: Disable preemption while holding the global binder lock

2016-09-08 Thread Todd Kjos
In Android systems, the display pipeline relies on low latency binder transactions and is therefore sensitive to delays caused by contention for the global binder lock. Jank is siginificantly reduced by disabling preemption while the global binder lock is held. Originally-from: Riley Andrews

[PATCH] [media] cec: fix Kconfig help text

2016-09-08 Thread Jean Delvare
MEDIA_CEC is no longer a tristate option, so the user can't actually choose M. Whether the code is built-in or built as a module is decided somewhere else. Signed-off-by: Jean Delvare Fixes: 5bb2399a4fe4 ("[media] cec: fix Kconfig dependency problems") Cc: Hans Verkuil

[PATCH] staging: ks7010: mark symbols static where possible

2016-09-08 Thread Baoyou Xie
We get 3 warnings when building kernel with W=1: drivers/staging/ks7010/ks7010_sdio.c:90:6: warning: no previous prototype for 'ks_wlan_hw_sleep_doze_request' [-Wmissing-prototypes] drivers/staging/ks7010/ks7010_sdio.c:121:6: warning: no previous prototype for 'ks_wlan_hw_sleep_wakeup_request'

[PATCH 2/3] Drivers: hv: utils: Use TimeSync samples to adjust the clock after boot.

2016-09-08 Thread kys
From: Alex Ng Only the first 50 samples after boot were being used to discipline the clock. After the first 50 samples, any samples from the host were ignored and the guest clock would eventually drift from the host clock. This patch allows TimeSync-enabled guests

[PATCH 1/3] Drivers: hv: utils: Rename version definitions to reflect protocol version.

2016-09-08 Thread kys
From: Alex Ng Different Windows host versions may reuse the same protocol version when negotiating the TimeSync, Shutdown, and Heartbeat protocols. We should only refer to the protocol version to avoid conflating the two concepts. Signed-off-by: Alex Ng

[PATCH 3/3] Drivers: hv: utils: Support TimeSync version 4.0 protocol samples.

2016-09-08 Thread kys
From: Alex Ng This enables support for more accurate TimeSync v4 samples when hosted under Windows Server 2016 and newer hosts. The new time samples include a "vmreferencetime" field that represents the guest's TSC value when the host generated its time sample.

[PATCH 0/3] Drivers: hv: util: Support the latest time synch protocol from the host

2016-09-08 Thread kys
From: K. Y. Srinivasan WS2016 has introduced a new protocol for conditioning guest clock. Support this new protocol. Alex Ng (3): Drivers: hv: utils: Rename version definitions to reflect protocol version. Drivers: hv: utils: Use TimeSync samples to adjust the clock

[PATCH] staging/lustre/lov: add missing header dependencies

2016-09-08 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/staging/lustre/lustre/lov/lov_object.c:956:23: warning: no previous prototype for 'lov_lsm_get' [-Wmissing-prototypes] drivers/staging/lustre/lustre/lov/lov_object.c:972:6: warning: no previous prototype for 'lov_lsm_put'

[PATCH] staging/lustre/obdclass: add missing header dependencies

2016-09-08 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c:157:5: warning: no previous prototype for 'obd_sysctl_init' [-Wmissing-prototypes] In fact, this function is declared in ../../include/obd_class.h, so this patch add missing header