[RESEND PATCH v5 3/8] dt-bindings: add exynos-srom device tree binding

2015-12-11 Thread Pankaj Dubey
This patch adds exynos-srom binding information for SROM Controller driver on Exynos SoCs. CC: Rob Herring CC: Mark Rutland CC: Ian Campbell Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim --- .../devicetree/bindings/arm/samsung/exynos-srom.txt

[RESEND PATCH v5 2/8] ARM: EXYNOS: code cleanup in map.h

2015-12-11 Thread Pankaj Dubey
Remove unused exynos5440 uart offset macro. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos/include/mach/map.h | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/mach-exynos/include/mach/map.h

[RESEND PATCH v5 4/8] ARM: dts: add SROM device node for exynos4

2015-12-11 Thread Pankaj Dubey
Add device node of SROM controller for exynos4. CC: Rob Herring CC: Mark Rutland CC: Ian Campbell Signed-off-by: Pankaj Dubey [k.kozlowski: fixed size of mapped SROMC memory region] Signed-off-by: Krzysztof Kozlowski Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim ---

[RESEND PATCH v5 5/8] ARM: dts: add SROM device node for exynos5

2015-12-11 Thread Pankaj Dubey
Add SROM controller device node for exynos5. CC: Rob Herring CC: Mark Rutland CC: Ian Campbell Signed-off-by: Pankaj Dubey [k.kozlowski: fixed size of mapped SROMC memory region] Signed-off-by: Krzysztof Kozlowski Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim ---

[RESEND PATCH v5 6/8] drivers: soc: add support for exynos SROM driver

2015-12-11 Thread Pankaj Dubey
This patch adds Exynos SROM controller driver which will handle save restore of SROM registers during S2R. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski [p.fe...@samsung.com: tested on SMDK5410] Tested-by: Pavel Fedin Signed-off-by: Kukjin Kim --- drivers/soc/Kconfig

[RESEND PATCH v5 7/8] MAINTAINERS: add maintainers entry for drivers/soc/samsung

2015-12-11 Thread Pankaj Dubey
This patch adds maintainers entry for new driver folder drivers/soc/samsung Signed-off-by: Pankaj Dubey Acked-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index e9caa4b..2c4b21f 100644 ---

[RESEND PATCH v5 8/8] ARM: EXYNOS: Remove SROM related register settings from mach-exynos

2015-12-11 Thread Pankaj Dubey
As now we have dedicated driver for SROM controller, it will take care of saving register banks during S2R so we can safely remove these settings from mach-exynos. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos/Kconfig

[RESEND PATCH v5 0/8] Add support for Exynos SROM Controller driver

2015-12-11 Thread Pankaj Dubey
THIS IS A RESEND OF ONCE MERGED INTO kgene/for-next AND LOST PATCHES Series v5 got merged in kgene/for-next but due to last moment change before pull these patches were not accepted during 4.3 merge window.After that kgene/for-next got rebased over 4.4-rc1 these patches got dropped into another

[RESEND PATCH v5 1/8] ARM: EXYNOS: remove unused static mapping of CMU for exynos5

2015-12-11 Thread Pankaj Dubey
Remove unused static mapping of exynos5 CMU and related code. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos/exynos.c | 5 - arch/arm/mach-exynos/include/mach/map.h | 1 - 2 files changed, 6 deletions(-) diff

Re: sched : performance regression 24% between 4.4rc4 and 4.3 kernel

2015-12-11 Thread Mike Galbraith
(it's always a good idea to CC subsystem maintainers when reporting) On Fri, 2015-12-11 at 15:17 +0100, Jirka Hladky wrote: > Hello, > > we are doing performance testing of the new kernel scheduler (commit > 53528695ff6d8b77011bc818407c13e30914a946). In most cases we see > performance

Re: [PATCH 0/4] arm,arm64: uniphier: add a new driver, device tree updates

2015-12-11 Thread Masahiro Yamada
Hi Arnd, Sorry for confusing you. 2015-12-12 9:12 GMT+09:00 Arnd Bergmann : > On Tuesday 24 November 2015 18:39:18 Masahiro Yamada wrote: >> >> Here is another series for UniPhier SoC family: >> >> - 1/4: add a new driver. The UniPhier System Bus is an external bus >> where on-board

Re: [PATCH] staging: dgnc: Patch includes the checkpatch fixes

2015-12-11 Thread Sanidhya Solanki
On Fri, 11 Dec 2015 16:02:33 +0300 Dan Carpenter wrote: > On Fri, Dec 11, 2015 at 03:21:49AM -0500, Sanidhya Solanki wrote: > > >From 1dbe78ce98037da5467d817a9db838d678b338ae Mon Sep 17 00:00:00 2001 > > From: Sanidhya Solanki > > Date: Fri, 11 Dec 2015 03:08:53 -0500 > > Subject: [PATCH]

Re: README Cleanup Project

2015-12-11 Thread Diego Viola
On Sat, Dec 12, 2015 at 4:09 AM, Diego Viola wrote: > On Sat, Dec 12, 2015 at 3:35 AM, Al Viro wrote: >> On Sat, Dec 12, 2015 at 02:46:30AM -0200, Diego Viola wrote: >>> Hello everyone, >>> >>> I would like to do some cleanup on the README, for example, I see it >>> still mentions LILO in a few

Re: [PATCH] staging: dgnc: Update the TODO file

2015-12-11 Thread Sanidhya Solanki
>From ae99848ed2c054e3ec031b3014f4727f6ff94ea3 Mon Sep 17 00:00:00 2001 From: Sanidhya Solanki Date: Fri, 11 Dec 2015 21:12:35 -0500 Subject: [PATCH 2/2] staging: dgnc: Update the TODO file Patch updates the TODO file. Line regarding checkpatch changes removed. Signed-off-by: Sanidhya Solanki

Re: [PATCH: FIXED} staging: dgnc: Patch includes the checkpatch fixes

2015-12-11 Thread Sanidhya Solanki
>From fa54ad27ad5ba8c90e0b42901af09423b1b3d0c7 Mon Sep 17 00:00:00 2001 From: Sanidhya Solanki Date: Fri, 11 Dec 2015 21:08:06 -0500 Subject: [PATCH] staging: dgnc: Patch includes the checkpatch fixes Patch contains the checkpatch fixes as asked by the TODO. Unnecessary do-while() loops are

Re: README Cleanup Project

2015-12-11 Thread Diego Viola
On Sat, Dec 12, 2015 at 3:35 AM, Al Viro wrote: > On Sat, Dec 12, 2015 at 02:46:30AM -0200, Diego Viola wrote: >> Hello everyone, >> >> I would like to do some cleanup on the README, for example, I see it >> still mentions LILO in a few places, e.g. >> >>

[PATCH 1/1] Fix kdb erroneously reporting an INT3 breakpoint is a catastrophic error

2015-12-11 Thread Jeff Merkey
The default kdb setting for entry assumes that a system oops was triggered rather than a request for debugger entry. When an application codes an int3 breakpoint the intent is to break into a debugger -- that's what the instruction is for. I noticed that kdb and kgdb both use an int3 breakpoint

Re: [RFC] kprobe'ing conditionally executed instructions

2015-12-11 Thread David Long
On 12/11/2015 11:09 AM, William Cohen wrote: On 12/11/2015 12:05 AM, David Long wrote: There is a moderate amount of code already in kprobes on ARM and the current ARMv8 patch to deal with conditional execution of instructions. One aspect of how this is handled is that instructions that fail

Re: [PATCH v4 5/5] crypto: AES CBC multi-buffer glue code

2015-12-11 Thread Herbert Xu
On Fri, Dec 11, 2015 at 08:54:40AM -0800, Tim Chen wrote: > Direct call I assume have less overhead. Let me think about static inline int crypto_ablkcipher_encrypt(struct ablkcipher_request *req) { struct ablkcipher_tfm *crt =

Re: [PATCH] crypto: akcipher: fix typos in include/crypto/akcipher.h

2015-12-11 Thread Herbert Xu
On Tue, Dec 08, 2015 at 09:00:23AM +0100, LABBE Corentin wrote: > Fix numerous spelling error in include/crypto/akcipher.h > > Signed-off-by: LABBE Corentin Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key:

Re: [PATCH] crypto: asymmetric_keys/signature.c does not need

2015-12-11 Thread Herbert Xu
On Wed, Dec 09, 2015 at 03:05:28PM -0500, Paul Gortmaker wrote: > This file does not contain any modular related function calls. So get > rid of module.h since it drags in a lot of other headers and adds to > the preprocessing load. It does export some symbols though, so we'll > need to ensure

Re: [PATCH v2 0/4] crypto: add precalculated hash for zero message length

2015-12-11 Thread Herbert Xu
On Tue, Dec 08, 2015 at 09:10:49AM +0100, LABBE Corentin wrote: > Hello > > Some crypto drivers cannot process empty data message and so rely on > precalculated hash. > This patch series add precalculated hash in headers and > make the drivers use them. > > Using those precalculated hash make

Re: [PATCH for-4.4] mtd: fix cmdlinepart parser, early naming for auto-filled MTD

2015-12-11 Thread Brian Norris
On Sat, Dec 12, 2015 at 05:45:21AM +0100, Heiko Schocher wrote: > Am 12.12.2015 um 00:58 schrieb Brian Norris: > >Commit 807f16d4db95 ("mtd: core: set some defaults when dev.parent is > >set") attempted to provide some default settings for MTDs that > > (a) assign the parent device and > > (b)

Re: README Cleanup Project

2015-12-11 Thread Al Viro
On Sat, Dec 12, 2015 at 02:46:30AM -0200, Diego Viola wrote: > Hello everyone, > > I would like to do some cleanup on the README, for example, I see it > still mentions LILO in a few places, e.g. > > https://github.com/torvalds/linux/blob/master/README#L256-L258 > > And: > >

README Cleanup Project

2015-12-11 Thread Diego Viola
Hello everyone, I would like to do some cleanup on the README, for example, I see it still mentions LILO in a few places, e.g. https://github.com/torvalds/linux/blob/master/README#L256-L258 And: https://github.com/torvalds/linux/blob/master/README#L295-L317 Is this still relevant today? Can I

Re: [PATCH for-4.4] mtd: fix cmdlinepart parser, early naming for auto-filled MTD

2015-12-11 Thread Heiko Schocher
Hello Brian, Am 12.12.2015 um 00:58 schrieb Brian Norris: Commit 807f16d4db95 ("mtd: core: set some defaults when dev.parent is set") attempted to provide some default settings for MTDs that (a) assign the parent device and (b) don't provide their own name or owner However, this isn't a

Re: [PATCH v2 0/2] net: thunderx: Support for pass-2 hw features

2015-12-11 Thread David Miller
From: Sunil Goutham Date: Thu, 10 Dec 2015 13:25:18 +0530 > From: Sunil Goutham > > This patch set adds support for new features added in pass-2 revision > of hardware like TSO and count based interrupt coalescing. > > Changes from v1: > - Addressed comments received regarding boolean bit

Re: [PATCH 3.16.y-ckt 024/126] Revert "mm: Check if section present during memory block (un)registering"

2015-12-11 Thread Ben Hutchings
On Wed, 2015-12-09 at 09:36 +, Luis Henriques wrote: > 3.16.7-ckt21 -stable review patch.  If anyone has any objections, please let > me know. > > -- > > From: Greg Kroah-Hartman > > commit 8346aa765e14348b7b436825b3c4740895a2fe1a upstream. > > This reverts commit

Odroid U3 mutex deadlock.

2015-12-11 Thread Anand Moon
Hi Krzysztof, I am just observing this deadlock om my Odroid U3. -- [2.937531] = [2.938733] [ INFO: possible recursive locking

Re: [PATCH 3.16.y-ckt 009/126] sit: fix sit0 percpu double allocations

2015-12-11 Thread Ben Hutchings
On Wed, 2015-12-09 at 09:36 +, Luis Henriques wrote: > 3.16.7-ckt21 -stable review patch.  If anyone has any objections, > please let me know. > > -- > > From: Eric Dumazet > > commit 4ece9009774596ee3df0acba65a324b7ea79387c upstream. > > sit0 device allocates its percpu

Re: [PATCH v2] usb: Use memdup_user to reuse the code

2015-12-11 Thread rahul pathak
Hello Greg, I have already resent the patch yesterday in new mail. -- Sending this mail again because previous mail was blocked as spam. Regards Rahul On Fri, Dec 11, 2015 at 10:01 PM, gre...@linuxfoundation.org wrote: > On Wed, Dec 09, 2015 at 08:02:53AM +, Pathak, Rahul (R.) wrote: >>

Crypto/nx842: Ignore invalid XER[S0] return error

2015-12-11 Thread Haren Myneni
NX842 coprocessor sets 3rd bit in CR register with XER[S0] which is nothing to do with NX request. On powerpc, XER[S0] will be set if overflow in FPU and stays until another floating point operation is executed. Since this bit can be set with other valuable return status, ignore this XER[S0]

RE: [Patch V2 2/2] x86, mce: Need to translate GPA to HPA to inject error in guest.

2015-12-11 Thread Chen, Gong
Hi, Ashok Please add " original author by Huang Ying " at some place. Thanks. > -Original Message- > From: Raj, Ashok > Sent: Friday, December 11, 2015 3:41 AM > To: k...@vger.kernel.org > Cc: Chen, Gong; Gleb Natapov; Paolo Bonzini; qemu-de...@nongnu.org; >

RE: [PATCH 1/4] scsi: storvsc: Fix a bug in the layout of the hv_fc_wwn_packet

2015-12-11 Thread KY Srinivasan
> -Original Message- > From: Johannes Thumshirn [mailto:jthumsh...@suse.de] > Sent: Friday, December 11, 2015 12:48 AM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; oher...@suse.com; > jbottom...@parallels.com;

RE: [PATCH 2/4] scsi: storvsc: Properly support Fibre Channel devices

2015-12-11 Thread KY Srinivasan
> -Original Message- > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > Sent: Friday, December 11, 2015 2:25 AM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; oher...@suse.com; > jbottom...@parallels.com;

RE: [PATCH 3/4] scsi: storvsc: Refactor the code in storvsc_channel_init()

2015-12-11 Thread KY Srinivasan
> -Original Message- > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > Sent: Friday, December 11, 2015 2:41 AM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; oher...@suse.com; > jbottom...@parallels.com;

[RFC 3/3] irq: Privatize irq_common_data::state_use_accessors

2015-12-11 Thread Boqun Feng
According to Peter Zijlstra, irq_common_data::state_use_accessors is not designed for public use. Therefore make it private so that people who write code accessing it directly will get blamed by sparse. Signed-off-by: Boqun Feng --- include/linux/irq.h | 4 ++-- 1 file changed, 2 insertions(+),

[RFC 1/3] sparse: Add __private to privatize members of structs

2015-12-11 Thread Boqun Feng
In C programming language, we don't have a easy way to privatize a member of a structure. However in kernel, sometimes there is a need to privatize a member in case of potential bugs or misuses. Fortunately, the noderef attribute of sparse is a way to privatize a member, as by defining a member

[RFC 2/3] RCU: Privatize rcu_node::lock

2015-12-11 Thread Boqun Feng
In patch: "rcu: Add transitivity to remaining rcu_node ->lock acquisitions" All locking operations on rcu_node::lock are replaced with the wrappers because of the need of transitivity, which indicates we should never write code using LOCK primitives alone(i.e. without a proper barrier following)

[PATCH RESEND 04/27] tools: hv: remove repeated HV_FCOPY string

2015-12-11 Thread K. Y. Srinivasan
From: Olaf Hering HV_FCOPY is already used as identifier in syslog. Signed-off-by: Olaf Hering Signed-off-by: K. Y. Srinivasan --- tools/hv/hv_fcopy_daemon.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/hv/hv_fcopy_daemon.c b/tools/hv/hv_fcopy_daemon.c

[PATCH RESEND 01/27] Drivers: hv: util: Increase the timeout for util services

2015-12-11 Thread K. Y. Srinivasan
Util services such as KVP and FCOPY need assistance from daemon's running in user space. Increase the timeout so we don't prematurely terminate the transaction in the kernel. Host sets up a 60 second timeout for all util driver transactions. The host will retry the transaction if it times out. Set

[RFC 0/3] sparse: Introduce __private to privatize members of structs

2015-12-11 Thread Boqun Feng
Hi all, As I proposed: http://marc.info/?l=linux-arm-kernel=144944469805753 , we can define a __private modifier for sparse to detect misuses of private members of structs. This could make maintenace a little easier and prevent some potential bugs. This patchset serves as a POC and consists of

[PATCH RESEND 06/27] Drivers: hv: utils: use memdup_user in hvt_op_write

2015-12-11 Thread K. Y. Srinivasan
From: Olaf Hering Use memdup_user to handle OOM. Fixes: 14b50f80c32d ('Drivers: hv: util: introduce hv_utils_transport abstraction') Signed-off-by: Olaf Hering Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_utils_transport.c |9 - 1 files changed, 4 insertions(+), 5

[PATCH RESEND 09/27] drivers:hv: Export the API to invoke a hypercall on Hyper-V

2015-12-11 Thread K. Y. Srinivasan
From: Jake Oshins This patch exposes the function that hv_vmbus.ko uses to make hypercalls. This is necessary for retargeting an interrupt when it is given a new affinity. Since we are exporting this API, rename the API as it will be visible outside the hv.c file. Signed-off-by: Jake Oshins

[PATCH RESEND 03/27] tools: hv: report ENOSPC errors in hv_fcopy_daemon

2015-12-11 Thread K. Y. Srinivasan
From: Olaf Hering Currently some "Unspecified error 0x80004005" is reported on the Windows side if something fails. Handle the ENOSPC case and return ERROR_DISK_FULL, which allows at least Copy-VMFile to report a meaning full error. Signed-off-by: Olaf Hering Signed-off-by: K. Y. Srinivasan

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

2015-12-11 Thread K. Y. Srinivasan
From: Jake Oshins This patch exposes the mapping between Linux CPU number and Hyper-V virtual processor number. This is necessary because the hypervisor needs to know which virtual processors to target when making a mapping in the Interrupt Redirection Table in the I/O MMU. Signed-off-by: Jake

[PATCH RESEND 12/27] Drivers: hv: vmbus: Use uuid_le type consistently

2015-12-11 Thread K. Y. Srinivasan
Consistently use uuid_le type in the Hyper-V driver code. Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c |2 +- drivers/hv/vmbus_drv.c | 10 ++-- include/linux/hyperv.h | 92 +- include/linux/mod_devicetable.h |

[PATCH RESEND 17/27] Drivers: hv: vmbus: do sanity check of channel state in vmbus_close_internal()

2015-12-11 Thread K. Y. Srinivasan
From: Dexuan Cui This fixes an incorrect assumption of channel state in the function. Signed-off-by: Dexuan Cui Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/hv/channel.c

[PATCH RESEND 15/27] Drivers: hv: vmbus: Get rid of the unused irq variable

2015-12-11 Thread K. Y. Srinivasan
The irq we extract from ACPI is not used - we deliver hypervisor interrupts on a special vector. Make the necessary adjustments. Signed-off-by: K. Y. Srinivasan --- drivers/hv/vmbus_drv.c | 16 +++- 1 files changed, 3 insertions(+), 13 deletions(-) diff --git

[PATCH RESEND 11/27] Drivers: hv: vss: run only on supported host versions

2015-12-11 Thread K. Y. Srinivasan
From: Olaf Hering The Backup integration service on WS2012 has appearently trouble to negotiate with a guest which does not support the provided util version. Currently the VSS driver supports only version 5/0. A WS2012 offers only version 1/x and 3/x, and vmbus_prep_negotiate_resp correctly

[PATCH RESEND 07/27] drivers/hv: cleanup synic msrs if vmbus connect failed

2015-12-11 Thread K. Y. Srinivasan
From: Andrey Smetanin Before vmbus_connect() synic is setup per vcpu - this means hypervisor receives writes at synic msr's and probably allocate hypervisor resources per synic setup. If vmbus_connect() failed for some reason it's neccessary to cleanup synic setup by call hv_synic_cleanup() at

[PATCH 27/27] tools: hv: vss: fix the write()'s argument: error -> vss_msg

2015-12-11 Thread K. Y. Srinivasan
From: Dexuan Cui Fix the write()'s argument in the daemon code. Cc: Vitaly Kuznetsov Cc: "K. Y. Srinivasan" Signed-off-by: Dexuan Cui Cc: sta...@vger.kernel.org Signed-off-by: K. Y. Srinivasan --- tools/hv/hv_vss_daemon.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[PATCH 26/27] Drivers: hv: utils: Invoke the poll function after handshake

2015-12-11 Thread K. Y. Srinivasan
When the handshake with daemon is complete, we should poll the channel since during the handshake, we will not be processing any messages. This is a potential bug if the host is waiting for a response from the guest. I would like to thank Dexuan for pointing this out. Signed-off-by: K. Y.

Re: [PATCH] misc: mic: fix incorrect use of error codes in SCIF DMA driver

2015-12-11 Thread Sudeep Dutt
On Fri, 2015-12-11 at 20:09 -0600, Eric Biggers wrote: > The error code passed to ERR_PTR() always should be negated. Also, the > return value of scif_add_mmu_notifier() was never checked. > Thanks for the patch Eric. Reviewed-by: Sudeep Dutt > Signed-off-by: Eric Biggers > --- >

[PATCH RESEND 22/27] tools/hv: Use include/uapi with __EXPORTED_HEADERS__

2015-12-11 Thread K. Y. Srinivasan
From: Kamal Mostafa Use the local uapi headers to keep in sync with "recently" added #define's (e.g. VSS_OP_REGISTER1). Fixes: 3eb2094c59e89db2bedd401e23c7a870081c9edb Signed-off-by: Kamal Mostafa Signed-off-by: K. Y. Srinivasan --- tools/hv/Makefile |2 ++ 1 files changed, 2

[PATCH RESEND 23/27] Drivers: hv: vmbus: Fix a Host signaling bug

2015-12-11 Thread K. Y. Srinivasan
Currently we have two policies for deciding when to signal the host: One based on the ring buffer state and the other based on what the VMBUS client driver wants to do. Consider the case when the client wants to explicitly control when to signal the host. In this case, if the client were to defer

[PATCH RESEND 19/27] Drivers: hv: vmbus: release relid on error in vmbus_process_offer()

2015-12-11 Thread K. Y. Srinivasan
From: Dexuan Cui We want to simplify vmbus_onoffer_rescind() by not invoking hv_process_channel_removal(NULL, ...). Signed-off-by: Dexuan Cui Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c | 21 +++-- 1 files changed, 15 insertions(+), 6 deletions(-) diff

[PATCH RESEND 20/27] Drivers: hv: vmbus: channge vmbus_connection.channel_lock to mutex

2015-12-11 Thread K. Y. Srinivasan
From: Dexuan Cui spinlock is unnecessary here. mutex is enough. Signed-off-by: Dexuan Cui Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c | 12 ++-- drivers/hv/connection.c |7 +++ drivers/hv/hyperv_vmbus.h |2 +- 3 files changed, 10 insertions(+), 11

[PATCH RESEND 05/27] Drivers: hv: util: catch allocation errors

2015-12-11 Thread K. Y. Srinivasan
From: Olaf Hering Catch allocation errors in hvutil_transport_send. Fixes: 14b50f80c32d ('Drivers: hv: util: introduce hv_utils_transport abstraction') Signed-off-by: Olaf Hering Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_utils_transport.c |9 ++--- 1 files changed, 6

[PATCH RESEND 16/27] Drivers: hv: vmbus: serialize process_chn_event() and vmbus_close_internal()

2015-12-11 Thread K. Y. Srinivasan
From: Dexuan Cui process_chn_event(), running in the tasklet, can race with vmbus_close_internal() in the case of SMP guest, e.g., when the former is accessing channel->inbound.ring_buffer, the latter could be freeing the ring_buffer pages. To resolve the race, we can serialize them by

[PATCH RESEND 13/27] Drivers: hv: vmbus: Use uuid_le_cmp() for comparing GUIDs

2015-12-11 Thread K. Y. Srinivasan
Use uuid_le_cmp() for comparing GUIDs. Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c |3 +-- drivers/hv/vmbus_drv.c|4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c index 38470aa..dc4fb0b

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

2015-12-11 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 --- drivers/hv/channel_mgmt.c |3 +++ include/linux/hyperv.h| 11 +++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git

[PATCH 25/27] Drivers: hv: vmbus: Force all channel messages to be delivered on CPU 0

2015-12-11 Thread K. Y. Srinivasan
Force all channel messages to be delivered on CPU0. These messages are not performance critical and are used during the setup and teardown of the channel. Signed-off-by: K. Y. Srinivasan --- drivers/hv/connection.c | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) diff --git

[PATCH RESEND 02/27] Drivers: hv: utils: run polling callback always in interrupt context

2015-12-11 Thread K. Y. Srinivasan
From: Olaf Hering All channel interrupts are bound to specific VCPUs in the guest at the point channel is created. While currently, we invoke the polling function on the correct CPU (the CPU to which the channel is bound to) in some cases we may run the polling function in a non-interrupt

Re: [PATCH char-misc-next 4/4] misc: mic: use common error path

2015-12-11 Thread Sudeep Dutt
On Mon, 2015-11-23 at 17:24 +0530, Sudip Mukherjee wrote: > Instead of calling release_firmware() on every error and then jumping > lets have a common release_firmware() in the error path. > This patch also fixes a memory leak where we missed release_firmware() > if mic_x100_load_command_line()

[PATCH RESEND 24/27] drivers/hv: correct tsc page sequence invalid value

2015-12-11 Thread K. Y. Srinivasan
From: Andrey Smetanin Hypervisor Top Level Functional Specification v3/4 says that TSC page sequence value = -1(0x) is used to indicate that TSC page no longer reliable source of reference timer. Unfortunately, we found that Windows Hyper-V guest side implementation uses sequence value =

[PATCH RESEND 21/27] drivers:hv: Allow for MMIO claims that span ACPI _CRS records

2015-12-11 Thread K. Y. Srinivasan
From: Jake Oshins This patch makes 16GB GPUs work in Hyper-V VMs, since, for compatibility reasons, the Hyper-V BIOS lists MMIO ranges in 2GB chunks in its root bus's _CRS object. Signed-off-by: Jake Oshins Signed-off-by: K. Y. Srinivasan --- drivers/hv/vmbus_drv.c | 16 1

[PATCH RESEND 18/27] Drivers: hv: vmbus: fix rescind-offer handling for device without a driver

2015-12-11 Thread K. Y. Srinivasan
From: Dexuan Cui In the path vmbus_onoffer_rescind() -> vmbus_device_unregister() -> device_unregister() -> ... -> __device_release_driver(), we can see for a device without a driver loaded: dev->driver is NULL, so dev->bus->remove(dev), namely vmbus_remove(), isn't invoked. As a result,

[PATCH RESEND 14/27] Drivers: hv: vmbus: Get rid of the unused macro

2015-12-11 Thread K. Y. Srinivasan
The macro VMBUS_DEVICE() is unused; get rid of it. Signed-off-by: K. Y. Srinivasan --- include/linux/hyperv.h | 13 - 1 files changed, 0 insertions(+), 13 deletions(-) diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index b9f3bb2..f773a68 100644 ---

[PATCH RESEND 00/27] Drivers: hv: Miscellaneous fixes.

2015-12-11 Thread K. Y. Srinivasan
Most of the patches in this set are being resent. Andrey Smetanin (2): drivers/hv: cleanup synic msrs if vmbus connect failed drivers/hv: correct tsc page sequence invalid value Dexuan Cui (6): Drivers: hv: vmbus: serialize process_chn_event() and vmbus_close_internal() Drivers: hv:

Re: [PATCH v1 7/8] ARM: dts: rockchip: add core rk3228 dtsi

2015-12-11 Thread Jeffy Chen
Hi Heiko, On 2015-12-11 18:12, Heiko Stübner wrote: Hi Jeffy, Am Freitag, 11. Dezember 2015, 09:53:59 schrieb Jeffy Chen: On 2015-12-10 8:32, Heiko Stuebner wrote: Am Mittwoch, 9. Dezember 2015, 17:04:12 schrieb Jeffy Chen: Initial release for rk3228 shared dtsi. Signed-off-by: Jeffy Chen

[PATCH] misc: mic: fix incorrect use of error codes in SCIF DMA driver

2015-12-11 Thread Eric Biggers
The error code passed to ERR_PTR() always should be negated. Also, the return value of scif_add_mmu_notifier() was never checked. Signed-off-by: Eric Biggers --- drivers/misc/mic/scif/scif_dma.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git

Re: crypto/nx842: Ignore queue overflow informative error

2015-12-11 Thread Haren Myneni
On 12/07/2015 11:34 AM, Dan Streetman wrote: > On Sun, Dec 6, 2015 at 2:46 AM, Haren Myneni wrote: >> >> NX842 coprocessor sets bit 3 if queue is overflow. It is just for >> information to the user. So the driver prints this informative message >> and ignores it. >> >> Signed-off-by: Haren Myneni

Re: [PATCH] usb: host: ehci-sched: silence checkpatch warning

2015-12-11 Thread Geyslan G. Bem
2015-12-11 22:50 GMT-03:00 Geyslan G. Bem : > This patch moves comment into the else branch avoiding the following > misleading warning. > > "braces {} are not necessary for single statement blocks" > > Caught by checkpatch. > > Signed-off-by: Geyslan G. Bem > Suggested-by: Joe Perches > --- >

PELT initial task load and wake_up_new_task()

2015-12-11 Thread Steve Muckle
In init_entity_runnable_average() the last_update_time is initialized to zero. The task is given max load and utilization as a pessimistic initial estimate. But if in wake_up_new_task() the task is placed on a CPU other than where it was created, __update_load_avg() will be called via

Re: [PATCHSET v2] ->follow_link() without dropping from RCU mode

2015-12-11 Thread Al Viro
On Fri, Dec 11, 2015 at 11:16:24PM +, Al Viro wrote: > #define set_delayed_type(call, f, arg) \ > sizeof(f(arg),0), \ > __set_delayed_type(call, __closure_##f, (void *)arg) > > That could be reused for timers with typechecking - we have a lot of timer > callbacks that start with

Re: [PATCH] cpufreq: tegra: add regulator dependency for T124

2015-12-11 Thread Rafael J. Wysocki
On Tuesday, December 08, 2015 10:52:45 PM Arnd Bergmann wrote: > This driver is the only one that calls regulator_sync_voltage(), but it > can currently be built with CONFIG_REGULATOR disabled, producing > this build error: > > drivers/cpufreq/tegra124-cpufreq.c: In function

[PATCH] usb: host: ehci-sched: silence checkpatch warning

2015-12-11 Thread Geyslan G. Bem
This patch moves comment into the else branch avoiding the following misleading warning. "braces {} are not necessary for single statement blocks" Caught by checkpatch. Signed-off-by: Geyslan G. Bem Suggested-by: Joe Perches --- drivers/usb/host/ehci-sched.c | 7 ++- 1 file changed, 2

Re: [BUG] checkpatch warning default switch case

2015-12-11 Thread Geyslan G. Bem
2015-12-11 22:34 GMT-03:00 Joe Perches : > On Fri, 2015-12-11 at 18:56 -0300, Geyslan G. Bem wrote: >> 2015-12-11 17:21 GMT-03:00 Geyslan G. Bem : >> > 2015-12-11 17:08 GMT-03:00 Joe Perches : >> > > On Fri, 2015-12-11 at 16:34 -0300, Geyslan G. Bem wrote: >> > > > Hello, >> > > > >> > > > Running

Re: [BUG] checkpatch warning default switch case

2015-12-11 Thread Joe Perches
On Fri, 2015-12-11 at 18:56 -0300, Geyslan G. Bem wrote: > 2015-12-11 17:21 GMT-03:00 Geyslan G. Bem : > > 2015-12-11 17:08 GMT-03:00 Joe Perches : > > > On Fri, 2015-12-11 at 16:34 -0300, Geyslan G. Bem wrote: > > > > Hello, > > > > > > > > Running > > > > scripts/checkpatch.pl -f

Re: [RFC PATCH 0/7] mtd: partitions: add of_match_table support

2015-12-11 Thread Brian Norris
On Fri, Dec 11, 2015 at 09:44:37AM +0100, Geert Uytterhoeven wrote: > On Thu, Dec 10, 2015 at 9:54 PM, Brian Norris > wrote: > > IOW, I wouldn't expect MBR or GPT to work well on large raw NAND flash, > > and so I don't plan to do that sort of work myself. If you can provide > > some better

Re: [PATCH net-next v3 0/4] mvneta: Introduce RSS support and XPS configuration

2015-12-11 Thread David Miller
From: Gregory CLEMENT Date: Wed, 9 Dec 2015 18:23:47 +0100 > this series is the first step add RSS support on mvneta. Series applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Stupid git question...

2015-12-11 Thread Valdis Kletnieks
OK.. Here's the situation - I've got several sets of patches I'll probably be cooking over the holidays, and I'm planning to base on linux-next (though any other moving-target base has the same issues). What I *want* to accomplish: At any given point, linux-next may or may not have breakages

[PATCH 02/10] usb: host: ehci-sched: move constants to right

2015-12-11 Thread Geyslan G. Bem
This patch moves the constants to right. Tested by compilation only. Caught by coccinelle: scripts/coccinelle/misc/compare_const_fl.cocci Signed-off-by: Geyslan G. Bem --- drivers/usb/host/ehci-sched.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 2/2] devicetree: Add DTS file to support the Nexus7 2013 (flo) device.

2015-12-11 Thread John Stultz
This patch adds a dts file to support the Nexus7 2013 device. Its based off of the qcom-apq8064-ifc6410.dts which is similar hardware. Also includes some comments and context folded in from Vinay Simha BN Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc:

[PATCH 1/2] devicetree: qcom-apq8064.dtsi: Add i2c3 address-cells and size-cells values

2015-12-11 Thread John Stultz
This adds address-cell and size-cell values to the i2c3 bus in the qcom-apq8064.dtsi, which is needed to describe devices on that bus. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: Russell King Cc: Vinay Simha BN Cc: devicet...@vger.kernel.org Cc:

[PATCH 06/10] usb: host: ehci-sched: remove useless else branch

2015-12-11 Thread Geyslan G. Bem
This patch removes an useless else branch after a break, reducing one indent block. Tested by compilation only. Caught by checkpatch. Signed-off-by: Geyslan G. Bem --- drivers/usb/host/ehci-sched.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH 09/10] usb: host: ehci-sched: use sizeof operator with parens

2015-12-11 Thread Geyslan G. Bem
This patch adds parens to sizeof operator uses. Tested by compilation only. Caught by checkpatch. Signed-off-by: Geyslan G. Bem --- drivers/usb/host/ehci-sched.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/ehci-sched.c

[PATCH 10/10] usb: host: ehci-sched: remove unnecessary braces

2015-12-11 Thread Geyslan G. Bem
This patch removes unnecessary braces in single statement blocks at the same time as replaces the if statement with a ternary conditional. Tested by compilation only. Caught by checkpatch. Signed-off-by: Geyslan G. Bem --- drivers/usb/host/ehci-sched.c | 6 +- 1 file changed, 1

[PATCH 08/10] usb: host: ehci-sched: add line after declarations

2015-12-11 Thread Geyslan G. Bem
This patch adds a blank line after declarations. Caught by checkpatch. Signed-off-by: Geyslan G. Bem --- drivers/usb/host/ehci-sched.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c index cf203d6..2e7d20f 100644 ---

[PATCH 05/10] usb: host: ehci-sched: remove prohibited spaces

2015-12-11 Thread Geyslan G. Bem
This patch removes prohibited spaces before open parenthesis and open brackets. It also removes an assignment inside condition and unnecessary braces in single statement block. Tested by compilation only. Caught by checkpatch. Signed-off-by: Geyslan G. Bem --- drivers/usb/host/ehci-sched.c |

[PATCH 07/10] usb: host: ehci-sched: use C89-style comments

2015-12-11 Thread Geyslan G. Bem
This patch changes comments conforming coding style. Caught by checkpatch. Signed-off-by: Geyslan G. Bem --- drivers/usb/host/ehci-sched.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/drivers/usb/host/ehci-sched.c

[PATCH 01/10] usb: host: ehci-sched: refactor scan_isoc function

2015-12-11 Thread Geyslan G. Bem
This patch removes an infinite 'for' loop and makes use of the already existing 'restart' tag instead, reducing one leading tab. The comments and code were corrected conforming coding style. Tested by compilation only. Caught by checkpatch: WARNING: Too many leading tabs - consider code

[PATCH 00/10] usb: host: ehci-sched: cleanup

2015-12-11 Thread Geyslan G. Bem
Cleanup done with the help of coccinelle, checkpatch and cppcheck tools. Geyslan G. Bem (10): usb: host: ehci-sched: refactor scan_isoc function usb: host: ehci-sched: move constants to right usb: host: ehci-sched: remove useless assignments usb: host: ehci-sched: add spaces around

[PATCH 03/10] usb: host: ehci-sched: remove useless assignments

2015-12-11 Thread Geyslan G. Bem
This patch removes useless assignments. Tested by compilation only. Caught by cppcheck. Signed-off-by: Geyslan G. Bem --- drivers/usb/host/ehci-sched.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c index

[PATCH 04/10] usb: host: ehci-sched: add spaces around operators

2015-12-11 Thread Geyslan G. Bem
This patch adds spaces around operators. Tested by compilation only. Caught by checkpatch. Signed-off-by: Geyslan G. Bem --- drivers/usb/host/ehci-sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c index

Re: [PATCH net] ipv6: sctp: clone options to avoid use after free

2015-12-11 Thread David Miller
From: Eric Dumazet Date: Wed, 09 Dec 2015 07:25:06 -0800 > From: Eric Dumazet > > SCTP is lacking proper np->opt cloning at accept() time. > > TCP and DCCP use ipv6_dup_options() helper, do the same > in SCTP. > > We might later factorize this code in a common helper to avoid > future

[PATCH] drivers: memory: check for missing sections in test_pages_in_a_zone

2015-12-11 Thread Andrew Banman
test_pages_in_a_zone does not account for the possibility of missing sections in the given pfn range. pfn_valid_within always returns 1 when CONFIG_HOLES_IN_ZONE is not set, allowing invalid pfns from missing sections to pass the test, leading to a kernel oops. Wrap an additional pfn loop with

Re: [PATCH] mtd: omap_elm: print interrupt resource using %pr

2015-12-11 Thread Brian Norris
Hi Arnd, On Tue, Dec 08, 2015 at 04:39:45PM +0100, Arnd Bergmann wrote: > When CONFIG_LPAE is set on ARM, resource_size_t is 64-bit wide > and we get a warning about an incorrect format string for printing > the interrupt number in elm_probe: > > drivers/mtd/nand/omap_elm.c: In function

Re: new warning on sysrq kernel crash trigger

2015-12-11 Thread Paul E. McKenney
On Fri, Dec 11, 2015 at 04:16:37PM -0800, Ani Sinha wrote: > On Fri, 11 Dec 2015, Paul E. McKenney wrote: > > On Fri, Dec 11, 2015 at 05:10:43PM -0500, Rik van Riel wrote: > > > On 12/11/2015 03:44 PM, Ani Sinha wrote: > > > > > > > > > > > > On Thu, 10 Dec 2015, Paul E. McKenney wrote: > > > >

  1   2   3   4   5   6   7   8   9   10   >