[PATCH] ath9k_htc: add adaptive usb receive flow control to repair soft lockup with monitor mode

2015-02-10 Thread Yuwei Zheng
The ath9k_hif_usb_rx_cb function excute on the interrupt context, and ath9k_rx_tasklet excute on the soft irq context. In other words, the ath9k_hif_usb_rx_cb have more chance to excute than ath9k_rx_tasklet. So in the worst condition, the rx.rxbuf receive list is always full, and the do

[LKP] [ipmi] d9b7e4f717a: +52.5% turbostat.%Busy

2015-02-10 Thread Huang Ying
FYI, we noticed the below changes on commit d9b7e4f717a167610a49ceb9e5969e80146c89a8 (ipmi: Periodically check to see if irqs and messages are set right) testbox/testcase/testparams: avoton3/idle/performance-10m 6a11e5c67a397e9a d9b7e4f717a167610a49ceb9e5

Re: [PATCH 3.18 04/57] vm: add VM_FAULT_SIGSEGV handling support

2015-02-10 Thread Greg Kroah-Hartman
On Tue, Feb 10, 2015 at 07:49:27PM -0800, Linus Torvalds wrote: On Tue, Feb 10, 2015 at 7:43 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: Ah, nice, I missed that one. Ugh, to be fair, I missed it too. The alternative to backporting 7fb08eca4527 is to make the backport of

Re: linux-next: manual merge of the pm tree with the pci tree

2015-02-10 Thread Rafael J. Wysocki
On Wednesday, February 11, 2015 12:07:55 PM Stephen Rothwell wrote: Hi Rafael, Today's linux-next merge of the pm tree got a conflict in drivers/of/of_pci.c between commit d2be00c0fb5a (of/pci: Free resources on failure in of_pci_get_host_bridge_resources()) from the pci tree and commit

Re: [PATCH] x86 spinlock: Fix memory corruption on completing completions

2015-02-10 Thread Jeremy Fitzhardinge
On 02/10/2015 05:26 AM, Oleg Nesterov wrote: On 02/10, Raghavendra K T wrote: On 02/10/2015 06:23 AM, Linus Torvalds wrote: add_smp(lock-tickets.head, TICKET_LOCK_INC); if (READ_ONCE(lock-tickets.tail) TICKET_SLOWPATH_FLAG) .. into something like val =

Re: [PATCH v4] ext4: fix indirect punch hole corruption

2015-02-10 Thread Chris J Arges
On 02/10/2015 03:44 PM, Omar Sandoval wrote: Commit 4f579ae7de56 (ext4: fix punch hole on files with indirect mapping) rewrote FALLOC_FL_PUNCH_HOLE for ext4 files with indirect mapping. However, there are bugs in several corner cases. This fixes 5 distinct bugs: 1. When there is at least

Re: [PATCH v2 1/2] mmc: dw_mmc: fix bug that cause 'Timeout sending command'

2015-02-10 Thread Addy
On 2015/02/10 23:22, Alim Akhtar wrote: Hi Addy, On Mon, Feb 9, 2015 at 12:55 PM, Addy Ke addy...@rock-chips.com wrote: Because of some uncertain factors, such as worse card or worse hardware, DAT[3:0](the data lines) may be pulled down by card, and mmc controller will be in busy state. This

Re: [PATCH][v3.2 stable tree] dcache: Balance rcu_read_lock in have_submounts()

2015-02-10 Thread Ben Hutchings
On Sat, 2015-01-17 at 10:38 -0500, Steven Rostedt wrote: Porting -rt to the latest 3.2 stable tree I triggered this bug: = [ BUG: bad unlock balance detected! ] - rm/1638 is trying to release lock (rcu_read_lock) at:

Re: [PATCHv2 1/2] pci: spear: Use platform_driver_probe instead of platform_driver_register

2015-02-10 Thread Viresh Kumar
On 11 February 2015 at 00:31, Matwey V. Kornilov mat...@sai.msu.ru wrote: Use platform_driver_probe instead of platform_driver_register because the former allows us to use probe function placed into __init section and the driver itself is not support hotplugging (yet?). Signed-off-by: Matwey

[PATCH v2 3/6] toshiba_acpi: Add support for Keyboard functions mode

2015-02-10 Thread Azael Avalos
Recent Toshiba laptops that come with the new keyboard layout have the Special Functions (hotkeys) enabled by default, which, in order to access the F{1-12} keys, you need to press the FN-F{1-12} key to access such key. This patch adds support to toggle the Keyboard Functions operation mode by

Re: [GIT] Networking

2015-02-10 Thread Linus Torvalds
On Tue, Feb 10, 2015 at 8:02 PM, Al Viro v...@zeniv.linux.org.uk wrote: Anyway, what userland do you have? I have regular Fedora 21, nothing special. I'm *assuming* that the thing that triggers this is that I use disk encryption on this machine, as that's the only even remotely unusual thing

[PATCH v2 0/6] toshiba_acpi: Add new features plus some procfs ports

2015-02-10 Thread Azael Avalos
These patches add five new files to sysfs. With the first two files we are paving the way to the (hopefully) future removal of the (now deprecated) proc entries. The remaining entries were not ported due to the fact that they duplicate existing kernel functionality (eg.: lcd - backlight, keys -

[PATCH v2 2/6] toshiba_acpi: Add fan entry to sysfs

2015-02-10 Thread Azael Avalos
This patch adds a fan entry to sysfs, enabling the user to get and set the fan status. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_acpi.c | 51 - 1 file changed, 50 insertions(+), 1 deletion(-) diff --git

Re: [PATCHv3 8/8] cgroup: Add documentation for cgroup namespaces

2015-02-10 Thread Serge E. Hallyn
Quoting Tejun Heo (t...@kernel.org): On Wed, Feb 11, 2015 at 04:46:16AM +0100, Serge E. Hallyn wrote: 1. Hierarchy_num in /proc/cgroups and /proc/self/cgroup start at 0. Used to start with 1. I expect many userspace parsers to be broken by this. This is intentional. The unified

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-10 Thread Boris Brezillon
On Tue, 10 Feb 2015 16:16:00 + Mark Rutland mark.rutl...@arm.com wrote: On Tue, Feb 10, 2015 at 03:52:01PM +, Boris Brezillon wrote: Hi Mark, On Tue, 10 Feb 2015 15:36:28 + Mark Rutland mark.rutl...@arm.com wrote: Hi Boris, On Thu, Jan 29, 2015 at 10:33:38AM

[PATCHv2 2/2] pci: spear: Drop __initdata from struct platform_driver spear13xx_pcie_driver

2015-02-10 Thread Matwey V. Kornilov
spear13xx_pcie_driver.driver is allocated in text.init section and then the pointer to it is passed futher. This patch is to avoid crashes like the following, when freed memory is used: #0 __device_attach (drv=0xc0ed5608 spear13xx_pcie_driver+20, data=0xdb622610) at ../drivers/base/dd.c:409

[PATCHv2 1/2] pci: spear: Use platform_driver_probe instead of platform_driver_register

2015-02-10 Thread Matwey V. Kornilov
Use platform_driver_probe instead of platform_driver_register because the former allows us to use probe function placed into __init section and the driver itself is not support hotplugging (yet?). Signed-off-by: Matwey V. Kornilov mat...@sai.msu.ru --- Changes from v1: - Use

Re: [PATCH] rds: rds_cong_queue_updates needs to defer the congestion update transmission

2015-02-10 Thread Chuck Lever
On Feb 10, 2015, at 9:22 AM, Sowmini Varadhan sowmini.varad...@oracle.com wrote: This patch fixes a sock_lock deadlock in the rds_cong_queue_update path. Note that the deadlock appears to exist only with TCP transports. We cannot inline the call to rds_send_xmit from rds_cong_queue_update

Re: [GIT] Networking

2015-02-10 Thread Linus Torvalds
On Tue, Feb 10, 2015 at 8:33 AM, Linus Torvalds torva...@linux-foundation.org wrote: Will try your suggestion, Nope, that wasn't it. It still hangs in the same place (I forgot to get rid of the red hat graphical boot screen so I didn't see the oops, but ..) Looking more closely at the

[PATCH v3] i2c: cadence: fixup wait_for_completion_timeout return handling

2015-02-10 Thread Nicholas Mc Guire
tested with multi_v7_defconfig (implies CONFIG_I2C_CADENCE=y) Patch is against 3.19.0 (localversion-next is -next-20150210) drivers/i2c/busses/i2c-cadence.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-cadence.c b/drivers/i2c/busses/i2c

Re: [PATCH 1/3] perf, x86: Add new cache events table for Haswell

2015-02-10 Thread Andi Kleen
Just in case someone is crazy enough to run a 32bit kernel on HSW, this needs to be BIT_ULL() -- also for compile testing, gcc tends to complain about things like (1UL 32) for ILP32 targets. Ok. Now the other tables create little helpers like: #define HSW_DMND_READ (HSW_DMND_DATA_RD)

Re: [PATCH 1/3] perf, x86: Add new cache events table for Haswell

2015-02-10 Thread Peter Zijlstra
On Tue, Feb 10, 2015 at 09:11:35AM -0800, Andi Kleen wrote: Now the other tables create little helpers like: #define HSW_DMND_READ (HSW_DMND_DATA_RD) #define HSW_DMND_WRITE (HSW_DMND_RFO) #define HSW_L3_ACCESS (HSW_ANY_RESPONSE) #define HSW_L3_MISS (HSW_L3_MISS)

Re: [PATCH 1/6] rcu,nohz: add context_tracking_user_enter/exit wrapper functions

2015-02-10 Thread Frederic Weisbecker
On Tue, Feb 10, 2015 at 09:25:26AM -0800, Paul E. McKenney wrote: On Tue, Feb 10, 2015 at 11:48:37AM -0500, Rik van Riel wrote: On 02/10/2015 10:28 AM, Frederic Weisbecker wrote: On Tue, Feb 10, 2015 at 09:41:45AM -0500, r...@redhat.com wrote: From: Rik van Riel r...@redhat.com

Re: [PATCH 1/2] staging: panel: register driver after checking device

2015-02-10 Thread Willy Tarreau
On Tue, Feb 10, 2015 at 05:26:02PM +0530, Sudip Mukherjee wrote: register the driver only if lcd or keypad has been enabled and if both are disabled then just exit. Signed-off-by: Sudip Mukherjee su...@vectorindia.org Acked-by: Willy Tarreau w...@1wt.eu Willy -- To unsubscribe from this

Re: [PATCH] llist: Fix missing lockless_dereference()

2015-02-10 Thread Paul E. McKenney
On Tue, Feb 10, 2015 at 12:29:24PM -0500, Peter Hurley wrote: On 02/10/2015 11:38 AM, Paul E. McKenney wrote: On Tue, Feb 10, 2015 at 09:03:50AM -0500, Peter Hurley wrote: On 02/06/2015 09:08 PM, Mathieu Desnoyers wrote: A lockless_dereference() appears to be missing in llist_del_first().

Business Deal

2015-02-10 Thread JAAP STEFANO
Hello, I have a proposal for you. Kindly get back to me. Best Regards Jaap Stefano Powered By Zimbra NNS

Re: memcg uaccess (Was: [PATCH 1/2] kernel/fork: handle put_user errors for CLONE_CHILD_SETTID/CLEARTID)

2015-02-10 Thread Johannes Weiner
On Fri, Feb 06, 2015 at 09:32:46PM +0100, Oleg Nesterov wrote: Add cc's. On 02/06, Oleg Nesterov wrote: And in fact I think that this is not set_child_tid/etc-specific. Perhaps I am totally confused, but I think that put_user() simply should not fail this way. Say, why a syscall should

Re: [PATCH] i2c: at91: fixup return type of wait_for_completion_timeout

2015-02-10 Thread Ludovic Desroches
On Sun, Feb 08, 2015 at 11:12:07AM -0500, Nicholas Mc Guire wrote: Return type of wait_for_completion_timeout is unsigned long not int. This patch adds a timeout variable of appropriate type and fixes up the assignment. Signed-off-by: Nicholas Mc Guire hof...@osadl.org Acked-by: Ludovic

3.19 scheduler might_sleep triggered from module loading during boot.

2015-02-10 Thread Dave Jones
I don't recall seeing this one until now.. Dave [3.559609] WARNING: CPU: 0 PID: 181 at kernel/sched/core.c:7326 __might_sleep+0xd0/0xf0() [3.559701] do not call blocking ops when !TASK_RUNNING; state=1 set at [950e1db3] prepare_to_wait_event+0x93/0x1f0 [3.559800]

[for-next][PATCH 3/5] tracing: Add TRACE_EVENT_FN example

2015-02-10 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org If a function should be called before a tracepoint is enabled and/or after it is disabled, the TRACE_EVENT_FN() serves this purpose. But it is not well documented. Having it as a sample would help developers to know how to use it. Signed-off-by:

[for-next][PATCH 0/5] tracing: Some last minute updates for 3.20

2015-02-10 Thread Steven Rostedt
Some last minute updates for this merge window. Mostly documentantion and sample code changes. Nothing risky. But they went through my entire test suite anyway. There is also an urgent patch that got lost in my inbox that I added.

[for-next][PATCH 4/5] tracing: Add samples of DECLARE_EVENT_CLASS() and DEFINE_EVENT()

2015-02-10 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Add to samples/trace_events/ the macros DECLARE_EVENT_CLASS() and DEFINE_EVENT() and recommend using them over multiple TRACE_EVENT() macros if the multiple events have the same format. Signed-off-by: Steven Rostedt rost...@goodmis.org ---

[for-next][PATCH 1/5] tracing: Update the TRACE_EVENT fields available in the sample code

2015-02-10 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org The sample code in samples/trace_events/ is extremely out of date and does not show all the new fields that have been added since the sample code was written. As most people are unaware of these new fields, adding sample code and explanations of

[for-next][PATCH 2/5] tracing: Add TRACE_EVENT_CONDITION sample

2015-02-10 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org The sample code lacks an example of TRACE_EVENT_CONDITION, and it has been expressed to me that this feature for TRACE_EVENT is not well known and not used when it could be. Signed-off-by: Steven Rostedt rost...@goodmis.org ---

[for-next][PATCH 5/5] tracing: Fix unmapping loop in tracing_mark_write

2015-02-10 Thread Steven Rostedt
From: Vikram Mulukutla mark...@codeaurora.org Commit 6edb2a8a385f0cdef51dae37ff23e74d76d8a6ce introduced an array map_pages that contains the addresses returned by kmap_atomic. However, when unmapping those pages, map_pages[0] is unmapped before map_pages[1], breaking the nesting requirement as

Re: [RFC] pstore-ram: remove superfluous memory size check

2015-02-10 Thread Mark Salyzyn
Please refer to '[PATCH v2 2/5] pstore: remove superfluous memory size check' Sincerely -- Mark Salyzyn On 02/10/2015 02:26 AM, Kiran Raparthy wrote: From: Mark Salyzyn saly...@google.com pstore-ram: remove superfluous memory size check All previous checks will fail with error if memory

Re: [PATCH] gpiolib: of: allow of_gpiochip_find_and_xlate to find more than one chip per node

2015-02-10 Thread Robert Jarzmik
Alexandre Courbot gnu...@gmail.com writes: On Tue, Feb 10, 2015 at 5:48 PM, Hans Holmberg hans.holmb...@intel.com wrote: The change: 7b8792bbdffdff3abda704f89c6a45ea97afdc62 gpiolib: of: Correct error handling in of_get_named_gpiod_flags assumed that only one gpio-chip is registred per

Re: [Patch v3 0/6] GSBI CRCI Autoconfiguration Support

2015-02-10 Thread Kumar Gala
On Feb 9, 2015, at 4:01 PM, Andy Gross agr...@codeaurora.org wrote: This patch set adds support for automatic configuration of GSBI DMA CRCI values. DMA operations require that the ADM CRCI mux values be properly configured in the TCSR (Top Control and Status Register) block. During

[GIT PULL] Quota interface unification and misc cleanups

2015-02-10 Thread Jan Kara
Hello Linus, could you please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git for_linus to get the first part of the series unifying XFS and VFS quota interfaces. This part unifies turning quotas on and off so quota-tools and xfs_quota can be used to manage any

Re: [PATCH] libata: fixup return type of wait_for_completion_timeout

2015-02-10 Thread Sergei Shtylyov
On 02/10/2015 06:55 PM, Nicholas Mc Guire wrote: On Tue, Feb 10, 2015 at 03:39:36AM -0500, Nicholas Mc Guire wrote: - if (!rc) { + if (irq_timeout == 0) { Why == 0 tho? This always bothers me. To match this style, we'd use != 0 to test the other direction. In what way is if

Re: [PATCH] llist: Fix missing lockless_dereference()

2015-02-10 Thread Paul E. McKenney
On Tue, Feb 10, 2015 at 09:03:50AM -0500, Peter Hurley wrote: On 02/06/2015 09:08 PM, Mathieu Desnoyers wrote: A lockless_dereference() appears to be missing in llist_del_first(). It should only matter for Alpha in practice. Signed-off-by: Mathieu Desnoyers mathieu.desnoy...@efficios.com

RE: [PATCH] scsi: megaraid_sas: Prevent future %p disaster

2015-02-10 Thread Kashyap Desai
Acked-by: Kashyap Desai kashyap.de...@avagotech.com -Original Message- From: Rasmus Villemoes [mailto:li...@rasmusvillemoes.dk] Sent: Friday, February 06, 2015 8:04 PM To: Kashyap Desai; Sumit Saxena; Uday Lingala; James E.J. Bottomley Cc: Rasmus Villemoes;

Re: [PATCH] rds: rds_cong_queue_updates needs to defer the congestion update transmission

2015-02-10 Thread Sowmini Varadhan
On (02/10/15 11:50), Chuck Lever wrote: This patch fixes a sock_lock deadlock in the rds_cong_queue_update path. Note that the deadlock appears to exist only with TCP transports. True, but the patch does no harm to IB: this actually only reverts the change from commit 2fa57129d. I

Re: [RFC PATCH 6/9] livepatch: create per-task consistency model

2015-02-10 Thread Josh Poimboeuf
On Tue, Feb 10, 2015 at 04:59:17PM +0100, Miroslav Benes wrote: On Mon, 9 Feb 2015, Josh Poimboeuf wrote: Add a basic per-task consistency model. This is the foundation which will eventually enable us to patch those ~10% of security patches which change function prototypes and/or data

[PATCH] staging: lustre: lustre: lov: lov_dev: fix sparse warning of static declaration

2015-02-10 Thread Mohammad Jamal
This patch adds a static keyword to cl_lov_device_mutex_class variable to suppress the warning of static declaration Signed-off-by: Mohammad Jamal md.jamalmohiud...@gmail.com --- drivers/staging/lustre/lustre/lov/lov_dev.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 1/6] rcu,nohz: add context_tracking_user_enter/exit wrapper functions

2015-02-10 Thread Paul E. McKenney
On Tue, Feb 10, 2015 at 11:48:37AM -0500, Rik van Riel wrote: On 02/10/2015 10:28 AM, Frederic Weisbecker wrote: On Tue, Feb 10, 2015 at 09:41:45AM -0500, r...@redhat.com wrote: From: Rik van Riel r...@redhat.com These wrapper functions allow architecture code (eg. ARM) to keep calling

Re: [PATCH] module: Annotate nested sleep in resolve_symbol()

2015-02-10 Thread Dave Jones
On Tue, Feb 10, 2015 at 06:12:55PM +0100, Peter Zijlstra wrote: On which, we should probably do this. --- Subject: module: Replace over-engineered nested sleep Since the introduction of the nested sleep warning; we've established that the occasional sleep inside a wait_event() is

Re: [GIT] Networking

2015-02-10 Thread Linus Torvalds
On Mon, Feb 9, 2015 at 8:52 PM, David Miller da...@davemloft.net wrote: I think the handling of the 'used' local variable for function skcipher_recvmsg() in that commit is suspect. Yeah, skcipher_wait_for_data() waits for it to be non-zero, but it's not reloaded. Will try your suggestion,

[PATCH] module: Annotate nested sleep in resolve_symbol()

2015-02-10 Thread Peter Zijlstra
Because wait_event() loops are safe vs spurious wakeups we can allow the occasional sleep -- which ends up being very similar. Cc: Rusty Russell ru...@rustcorp.com.au Reported-by: Dave Jones da...@codemonkey.org.uk Signed-off-by: Peter Zijlstra (Intel) pet...@infradead.org --- kernel/module.c |

Re: [PATCH] module: Annotate nested sleep in resolve_symbol()

2015-02-10 Thread Peter Zijlstra
On which, we should probably do this. --- Subject: module: Replace over-engineered nested sleep Since the introduction of the nested sleep warning; we've established that the occasional sleep inside a wait_event() is fine. wait_event() loops are invariant wrt. spurious wakeups, and the

Re: [RFC PATCH 2/9] livepatch: separate enabled and patched states

2015-02-10 Thread Josh Poimboeuf
On Tue, Feb 10, 2015 at 05:44:30PM +0100, Jiri Slaby wrote: On 02/09/2015, 06:31 PM, Josh Poimboeuf wrote: Once we have a consistency model, patches and their objects will be enabled and disabled at different times. For example, when a patch is disabled, its loaded objects' funcs can

Re: [PATCH] llist: Fix missing lockless_dereference()

2015-02-10 Thread Peter Hurley
On 02/10/2015 11:38 AM, Paul E. McKenney wrote: On Tue, Feb 10, 2015 at 09:03:50AM -0500, Peter Hurley wrote: On 02/06/2015 09:08 PM, Mathieu Desnoyers wrote: A lockless_dereference() appears to be missing in llist_del_first(). It should only matter for Alpha in practice. Signed-off-by:

Re: [PATCH 2/2] staging: panel: initialize lcd if lcd enabled

2015-02-10 Thread Willy Tarreau
On Tue, Feb 10, 2015 at 05:26:03PM +0530, Sudip Mukherjee wrote: initialiaze lcd parameters only if lcd is enabled. Signed-off-by: Sudip Mukherjee su...@vectorindia.org One minor comment below (cosmetic), but after this it's OK. Acked-by: Willy Tarreau w...@1wt.eu + if (lcd.enabled) {

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-10 Thread Mark Rutland
On Tue, Feb 10, 2015 at 03:52:01PM +, Boris Brezillon wrote: Hi Mark, On Tue, 10 Feb 2015 15:36:28 + Mark Rutland mark.rutl...@arm.com wrote: Hi Boris, On Thu, Jan 29, 2015 at 10:33:38AM +, Boris Brezillon wrote: Add documentation for the virtual irq demuxer.

[PATCH] usb: gadget: f_hid: remove unnecessary usb_ep_dequeue()

2015-02-10 Thread Robert Baldyga
Function usb_ep_disable() causes completion of all requests queued for given endpoint, so there is no need to dequeue them after endpoint disabling. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- drivers/usb/gadget/function/f_hid.c | 1 - 1 file changed, 1 deletion(-) diff --git

randconfig build error with next-20150210, in fs/nfsd

2015-02-10 Thread Jim Davis
Building with the attached random configuration file, In file included from include/linux/linkage.h:4:0, from include/linux/preempt.h:9, from include/linux/spinlock.h:50, from include/linux/mmzone.h:7, from include/linux/gfp.h:5,

Re: [PATCH 1/6] rcu,nohz: add context_tracking_user_enter/exit wrapper functions

2015-02-10 Thread Rik van Riel
On 02/10/2015 10:28 AM, Frederic Weisbecker wrote: On Tue, Feb 10, 2015 at 09:41:45AM -0500, r...@redhat.com wrote: From: Rik van Riel r...@redhat.com These wrapper functions allow architecture code (eg. ARM) to keep calling context_tracking_user_enter context_tracking_user_exit the same

Re: [PATCH] x86, kaslr: propagate base load address calculation

2015-02-10 Thread Kees Cook
On Tue, Feb 10, 2015 at 5:17 AM, Jiri Kosina jkos...@suse.cz wrote: Commit e2b32e678 (x86, kaslr: randomize module base load address) makes the base address for module to be unconditionally randomized in case when CONFIG_RANDOMIZE_BASE is defined and nokaslr option isn't present on the

Re: [PATCH 1/6] rcu,nohz: add context_tracking_user_enter/exit wrapper functions

2015-02-10 Thread Paul E. McKenney
On Tue, Feb 10, 2015 at 06:36:47PM +0100, Frederic Weisbecker wrote: On Tue, Feb 10, 2015 at 09:25:26AM -0800, Paul E. McKenney wrote: On Tue, Feb 10, 2015 at 11:48:37AM -0500, Rik van Riel wrote: On 02/10/2015 10:28 AM, Frederic Weisbecker wrote: On Tue, Feb 10, 2015 at 09:41:45AM

[PATCH v2] libata: fixup wait_for_completion_timeout return handling

2015-02-10 Thread Nicholas Mc Guire
by Tejun Heo t...@kernel.org Patch was only compile tested with x86_64_defconfig (implies CONFIG_ATA=y) Patch is against 3.19.0 (localversion-next is -next-20150210) drivers/ata/libata-core.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/ata/libata-core.c b

[PATCH v2] iio: Export userspace IIO headers

2015-02-10 Thread Daniel Baluta
After UAPI header file split [1] all user-kernel interfaces were placed under include/uapi/. This patch moves IIO user specific API from: * include/linux/iio/events.h = include/uapi/linux/iio/events.h * include/linux/types.h = include/uapi/linux/types.h Now there is no need for

Re: [RFC PATCH 2/9] livepatch: separate enabled and patched states

2015-02-10 Thread Jiri Slaby
On 02/09/2015, 06:31 PM, Josh Poimboeuf wrote: Once we have a consistency model, patches and their objects will be enabled and disabled at different times. For example, when a patch is disabled, its loaded objects' funcs can remain registered with ftrace indefinitely until the unpatching

Re: [RFC PATCH 3/8] kmod - teach call_usermodehelper() to use a namespace

2015-02-10 Thread Oleg Nesterov
On 02/10, Ian Kent wrote: On Mon, 2015-02-09 at 17:03 +0100, Oleg Nesterov wrote: I understand. but I still can't understand why we can't implement something like enter_ns(struct nsproxy *p) { new_nsproxy = create_new_namespaces(...);

Re: [PATCH] scsi: megaraid_sas: Prevent future %p disaster

2015-02-10 Thread Joe Perches
On Tue, 2015-02-10 at 22:16 +0530, Kashyap Desai wrote: Acked-by: Kashyap Desai kashyap.de...@avagotech.com -Original Message- From: Rasmus Villemoes [mailto:li...@rasmusvillemoes.dk] Sent: Friday, February 06, 2015 8:04 PM [] There is currently no %po format extension, so

Re: [PATCH v9 2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-02-10 Thread Ray Jui
On 2/10/2015 12:33 AM, Wolfram Sang wrote: Thanks, Wolfram. I think I'm missing something here and would like to get it clarified, so I don't make the same mistake again in the future: I thought I've already sent these patches as a new thread, i.e., [PATCH v9 ...], isn't it? Yes, but

Re: [RFC PATCH 0/9] livepatch: consistency model

2015-02-10 Thread Josh Poimboeuf
On Tue, Feb 10, 2015 at 09:59:58AM -0600, Josh Poimboeuf wrote: On Tue, Feb 10, 2015 at 08:16:59PM +0900, Masami Hiramatsu wrote: (2015/02/10 2:31), Josh Poimboeuf wrote: This patch set implements a livepatch consistency model, targeted for 3.21. Now that we have a solid livepatch

Re: [PATCH 03/16] tty: serial: 8250_core: read only RX if there is something in the FIFO

2015-02-10 Thread Peter Hurley
On 02/10/2015 07:04 AM, Nicolas Schichan wrote: On 02/10/2015 12:34 AM, Peter Hurley wrote: Hi Nicolas, Thanks for the report. [...] When a caracter is received on the UART while the kernel is printing the boot messages, as soon as the kernel configures the UART for receiving (after root

Re: [PATCH] HID: sony: Enable Gasia third-party PS3 controllers

2015-02-10 Thread Oliver Neukum
On Mon, 2015-02-09 at 20:44 +0200, Lauri Kasanen wrote: On Mon, 09 Feb 2015 11:08:01 +0100 Oliver Neukum oneu...@suse.de wrote: + ret = usb_interrupt_msg(dev, usb_sndintpipe(dev, 0x02), + buf2, sizeof(buf2), + transfered,

Re: [PATCH v5 4/5] ARM: mediatek: Add EINT support to MTK pinctrl driver.

2015-02-10 Thread Linus Walleij
On Wed, Jan 21, 2015 at 1:28 PM, Hongzhou Yang hongzhou.y...@mediatek.com wrote: From: Maoguang Meng maoguang.m...@mediatek.com MTK SoC support external interrupt(EINT) from most SoC pins. Add EINT support to pinctrl driver. Signed-off-by: Maoguang Meng maoguang.m...@mediatek.com

Re: [PATCH 1/2] KVM: x86: extract guest running logic from __vcpu_run

2015-02-10 Thread Paolo Bonzini
On 09/02/2015 23:44, David Matlack wrote: +static inline int __vcpu_run(struct kvm *kvm, struct kvm_vcpu *vcpu) Kind of confusing function body given the name. Maybe put if (vcpu-arch.mp_state == KVM_MP_STATE_RUNNABLE !vcpu-arch.apf.halted) return

Re: [PATCH for-3.20-fixes] workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEMPT_NONE

2015-02-10 Thread Jesper Nilsson
On Mon, Feb 09, 2015 at 05:29:55PM +0100, Jesper Nilsson wrote: On Mon, Feb 09, 2015 at 05:15:27PM +0100, Tejun Heo wrote: Hello, Hi, Can you please verify that the following patch fixes the issue? Rabin will have to report if it fixes it for his synthetic case, but I'll try it in my

[GIT PULL] MMC for v.3.20

2015-02-10 Thread Ulf Hansson
Hi Linus, Here are the PR for MMC for v3.20. Stephen Rothwell has reported about a conflict in drivers/mmc/host/sunxi-mmc.c between commit mmc: sunxi: Convert MMC driver to the standard clock phase API from the sunxi tree and commit mmc: sunxi: Removing unused code from my mmc tree. The

[char-misc-next 14/18] mei: always initialize the callback with the intended operation type

2015-02-10 Thread Tomas Winkler
We set the operation type at initialization time as each cb is used only for a single type of operation As a byproduct we add a convenient wrapper for allocating cb with the data buffer. Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/amthif.c | 4 +--

[char-misc-next 17/18] mei: allow read concurrency

2015-02-10 Thread Tomas Winkler
Replace clunky read state machine with read stack implemented as per client read list, this is important mostly for mei drivers with unsolicited reads Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/bus.c | 36 ++- drivers/misc/mei/client.c| 84

Re: [PATCH 2/2] power: gpio-charger: support disable the wakeup event

2015-02-10 Thread Dmitry Eremin-Solenikov
Hello, 2015-02-10 11:12 GMT+03:00 Chris Zhong z...@rock-chips.com: Support disable the wakeup event of gpio-charger by setting device tree. I have the feelink, that this should be a userspace setting, rather than a kernel/device-tree policy. In the end, the device tree is a hardware description

[char-misc-next 18/18] mei: bus: call device disable handler prior to disconnection

2015-02-10 Thread Tomas Winkler
call device's disable handler prior to disconnection so it can possibly close the communication with fw client in graceful way Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/bus.c | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) diff

[char-misc-next 11/18] mei: iamthif: use client write functions

2015-02-10 Thread Tomas Winkler
Reduce code duplication in amthif code by reusing regular client write functions. Add completed flag to cb so amthif client can add rx credits on write completion Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/amthif.c | 178

[char-misc-next 04/18] mei: me: add io register tracing

2015-02-10 Thread Tomas Winkler
To make debugging a bit easier we add me register access tracing debugfs/tracing/events/mei/mei_reg_{read,write} Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/Makefile| 3 ++ drivers/misc/mei/hw-me.c | 31 --- drivers/misc/mei/mei-trace.c | 25

[char-misc-next 06/18] mei: fix function names and format in KDoc

2015-02-10 Thread Tomas Winkler
From: Alexander Usyskin alexander.usys...@intel.com Align functions names in KDoc with real ones. Fix comment format to be KDoc and fix wrong syntax there. Signed-off-by: Alexander Usyskin alexander.usys...@intel.com Signed-off-by: Tomas Winkler tomas.wink...@intel.com ---

[PATCH] gpiolib: of: allow of_gpiochip_find_and_xlate to find more than one chip per node

2015-02-10 Thread Hans Holmberg
The change: 7b8792bbdffdff3abda704f89c6a45ea97afdc62 gpiolib: of: Correct error handling in of_get_named_gpiod_flags assumed that only one gpio-chip is registred per of-node. Some drivers register more than one chip per of-node, so adjust the matching function of_gpiochip_find_and_xlate to not

Re: [RFC PATCH 0/5] compaction: changing initial position of scanners

2015-02-10 Thread Joonsoo Kim
On Wed, Feb 04, 2015 at 03:39:25PM +0100, Vlastimil Babka wrote: On 02/03/2015 06:07 PM, Joonsoo Kim wrote: 2015-02-04 0:51 GMT+09:00 Vlastimil Babka vba...@suse.cz: Ah, I think I see where the misunderstanding comes from now. So to clarify, let's consider 1. single compaction run - single

[perf/core PATCH v2 4/4] perf buildid-cache: Add --remove-all FILE to remove all caches of FILE

2015-02-10 Thread Masami Hiramatsu
Add --remove-all FILE to remove all caches of FILE. Since the current --remove FILE removes a cache which has same build-id of given FILE. Since the command takes a FILE path, it can confuse user who tries to remove cache about FILE path. - # ./perf buildid-cache -v --add ./perf Adding

[perf/core PATCH v2 3/4] perf buildid-cache: Add new buildid cache if update target is not cached

2015-02-10 Thread Masami Hiramatsu
Add new buildid cache if the update target file is not cached. This can happen when an old binary is replaced by new one after caching the old one. In this case, user sees his operation just failed. But it does not look straight, since user just pass the binary path, not build-id. #

[perf/core PATCH v2 0/4] perf-buildid-cache: Cleanup, enhance --update and add --remove-all

2015-02-10 Thread Masami Hiramatsu
Hi, Here is the 2nd version of of perf buildid-cache update. I've fixed a bug in patch 4/4 reported by Namhyung, Thanks! The first 2 patches are cleanup code, just reducing the redundant code. The 3rd one modifies --update option not to fail but just add new binary if there is no cache entry

Re: [RFC PATCH] iio: Export userspace IIO headers

2015-02-10 Thread Daniel Baluta
On Mon, Feb 9, 2015 at 7:05 PM, Lars-Peter Clausen l...@metafoo.de wrote: On 02/09/2015 05:49 PM, Daniel Baluta wrote: After UAPI header file split [1] all user-kernel interfaces were placed under include/uapi/. This patch moves IIO user specific API from: *

Re: [PATCH] ARM: exynos: Fix wrong hwirq of RTC interrupt for Exynos3250 SoC

2015-02-10 Thread Krzysztof Kozlowski
2015-02-10 4:09 GMT+01:00 Chanwoo Choi cw00.c...@samsung.com: This patch fixes wrong hwirq of RTC irq for Exynos3250 SoC. When entering suspend state, 'enable_irq_wake fail' happen because of the mismatch of RTC hwirq. [ 429.200937] Freezing user space processes ... (elapsed 0.002

Re: Build breakage for allmodconfig

2015-02-10 Thread Andrey Ryabinin
On 02/09/2015 09:12 PM, Lad, Prabhakar wrote: Hi Andrey, There is build breakage for allmodconfig with commit id kasan: enable instrumentation of global variables f39182cbcd0122ad2c943317b5f07eba91b2cfe5 on linux-next. scripts/kconfig/conf --silentoldconfig Kconfig

Re: [GIT PULL rcu/next] RCU commits for 3.20

2015-02-10 Thread David Hildenbrand
OK, so if I understand correctly, I need to add the Cc: stable tags after the last git-format-patch/git-send-email, but (of course) before the git-request-pull. Is that the trick? So I'd try to avoid the unnecessary rebase: teach git-send-email to not Cc: to -stable, even though

Re: BUG: stuck on mmap_sem in 3.18.6

2015-02-10 Thread Konstantin Khlebnikov
That was caused by backport of 33692f27597fcab536d7cbbcc8f52905133e4aa7 (vm: add VM_FAULT_SIGSEGV handling support) into v3.18.y without commit 7fb08eca45270d0ae86e1ad9d39c40b7a55d0190 (x86: mm: move mmap_sem unlock from mm_fault_error() to caller) which have moved mmap_sem around. On Mon, Feb 9,

[PATCH] rtlwifi: ratelimit skb allocation failure message

2015-02-10 Thread Colin King
From: Colin Ian King colin.k...@canonical.com when running low on memory I noticed rtlwifi was producing a large quantity of repeated skb allocation failures messages. This should be ratelimited to reduce the noise. Signed-off-by: Colin Ian King colin.k...@canonical.com ---

Re: [PATCH v3 08/13] mtd: st_spi_fsm: Update the JEDEC probe to handle extended READIDs

2015-02-10 Thread Lee Jones
On Thu, 05 Feb 2015, Brian Norris wrote: On Wed, Jan 21, 2015 at 01:02:04PM +, Lee Jones wrote: On Mon, 12 Jan 2015, Brian Norris wrote: On Mon, Dec 15, 2014 at 11:59:15AM +, Lee Jones wrote: The previous code was based on 3-byte JEDEC IDs, with a possible 2-byte extension.

[PATCH v2 1/1] staging: ozwpan: Remove allocation from delaration line

2015-02-10 Thread Quentin Lambert
This patch removes allocation from declaration line because people are known to gloss over declarations. Signed-off-by: Quentin Lambert lambert.quen...@gmail.com --- Changes since v1: - Remove the blank line between allocation and NULL check drivers/staging/ozwpan/ozhcd.c | 5 +++--

Re: [PATCH v5 2/5] dt-bindings: Add pinctrl bindings for mt65xx/mt81xx.

2015-02-10 Thread Linus Walleij
On Wed, Jan 21, 2015 at 1:28 PM, Hongzhou Yang hongzhou.y...@mediatek.com wrote: From: Hongzhou Yang hongzhou.y...@mediatek.com Add devicetree bindings for Mediatek SoC pinctrl driver. Signed-off-by: Hongzhou Yang hongzhou.y...@mediatek.com OK applied this patch for v3.21 now, relying on

[PATCH 2/2] power: gpio-charger: support disable the wakeup event

2015-02-10 Thread Chris Zhong
Support disable the wakeup event of gpio-charger by setting device tree. Signed-off-by: Chris Zhong z...@rock-chips.com --- drivers/power/gpio-charger.c | 5 - include/linux/power/gpio-charger.h | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v5 5/5] ARM: dts: mt8135: Add pinctrl/GPIO/EINT node for mt8135.

2015-02-10 Thread Linus Walleij
On Wed, Jan 21, 2015 at 1:28 PM, Hongzhou Yang hongzhou.y...@mediatek.com wrote: From: Hongzhou Yang hongzhou.y...@mediatek.com Add pinctrl,GPIO and EINT node to mt8135.dtsi. Signed-off-by: Hongzhou Yang hongzhou.y...@mediatek.com Acked-by: Linus Walleij linus.wall...@linaro.org The

[PATCH 0/2] Support disable the wakeup event of gpio-charger

2015-02-10 Thread Chris Zhong
If you needn't the wakeup event of gpio-charger, this patch can help. Please set gpio-charger,disable-wakeup in gpio-charger node. Chris Zhong (2): dt-bindings: add disable-wakeup property for gpio-charger power: gpio-charger: support disable the wakeup event

[PATCH 1/2] dt-bindings: add disable-wakeup property for gpio-charger

2015-02-10 Thread Chris Zhong
add disable-wakeup for gpio-charger, if you set this property, system will not wakeup by gpio-charger. Signed-off-by: Chris Zhong z...@rock-chips.com --- Documentation/devicetree/bindings/power_supply/gpio-charger.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH 1/3] arm64: mediatek: Add config option for mt8173.

2015-02-10 Thread Linus Walleij
On Tue, Jan 27, 2015 at 3:13 PM, Hongzhou Yang hongzhou.y...@mediatek.com wrote: From: Hongzhou Yang hongzhou.y...@mediatek.com The upcoming MTK pinctrl driver have a big pin table for each SoC, and we don't want to bloat the kernel binary if we don't need it. Add config options so we can

Re: [PATCH 2/3] arm64: mediatek: Add Pinctrl/GPIO/EINT driver for mt8173.

2015-02-10 Thread Linus Walleij
On Tue, Jan 27, 2015 at 3:13 PM, Hongzhou Yang hongzhou.y...@mediatek.com wrote: From: Hongzhou Yang hongzhou.y...@mediatek.com Add mt8173 support using mediatek common pinctrl driver. MT8173 have a different ies_smt setting register than mt8135, so adding this support to common code.

Re: [PATCH 1/7] pinctrl: mediatek: emulate GPIO interrupt on both-edges

2015-02-10 Thread Linus Walleij
On Tue, Jan 27, 2015 at 2:15 PM, Chaotian Jing chaotian.j...@mediatek.com wrote: From: Yingjoe Chen yingjoe.c...@mediatek.com MTK EINT does not support generating interrupt on both edges. Emulate this by changing edge polarity while enable irq, set types and interrupt handling. This follows

<    4   5   6   7   8   9   10   11   12   13   >