[PATCH v2 4/7] Input: synaptics - retrieve the extended capabilities in query $10

2015-02-06 Thread Benjamin Tissoires
Newer Synaptics touchpads need to get information from the query $10. Retrieve it if available. Signed-off-by: Benjamin Tissoires benjamin.tissoi...@redhat.com --- v2: - brand new drivers/input/mouse/synaptics.c | 23 --- drivers/input/mouse/synaptics.h | 23

[PATCH v2 6/7] Input: synaptics - re-route tracksticks buttons on the Lenovo 2015 series

2015-02-06 Thread Benjamin Tissoires
The 2015 series of the Lenovo thinkpads added back the hardware buttons on top of the touchpad for the trackstick. Unfortunately, they are wired to the touchpad, and not the trackstick. Thus, they are seen as extra buttons from the kernel point of view. This leads to a problem in user space

[PATCH v2 3/7] Input: synaptics - do not retrieve the board id on old firmwares

2015-02-06 Thread Benjamin Tissoires
The board id capability has been added in firmware 7.5. Cc: sta...@vger.kernel.org Signed-off-by: Benjamin Tissoires benjamin.tissoi...@redhat.com --- v2: - brand new drivers/input/mouse/synaptics.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/input/mouse/synaptics.c

[PATCH v2 5/7] Input: synaptics - remove TOPBUTTONPAD property for Lenovos 2015

2015-02-06 Thread Benjamin Tissoires
The 2015 series of the Lenovo thinkpads added back the hardware buttons on top of the touchpad for the trackstick. Unfortunately, Lenovo used the PNPIDs that are supposed to be 5 buttons touchpads, so the new laptops also have the INPUT_PROP_TOPBUTTONPAD. Yay! Instead of manually removing each

Re: [PATCH v5 3/5] x86: Split syscall_trace_enter into two phases

2015-02-06 Thread H. Peter Anvin
On 02/06/2015 11:23 AM, Kees Cook wrote: Strictly speaking (ISO C, man 3 errno), errno is supposed to be a full int, though digging around I find this in include/linux/err.h: That doesn't mean the kernel has to support them. /* * Kernel pointers have redundant information, so we can use

Re: [PATCH v5 3/5] x86: Split syscall_trace_enter into two phases

2015-02-06 Thread Andy Lutomirski
On Fri, Feb 6, 2015 at 12:16 PM, Kees Cook keesc...@chromium.org wrote: On Fri, Feb 6, 2015 at 12:12 PM, Andy Lutomirski l...@amacapital.net wrote: On Fri, Feb 6, 2015 at 12:07 PM, Kees Cook keesc...@chromium.org wrote: On Fri, Feb 6, 2015 at 11:32 AM, Andy Lutomirski l...@amacapital.net

Re: [PATCH v6 3/7] of: fix size when dma-range is not used

2015-02-06 Thread Murali Karicheri
On 02/06/2015 10:12 AM, Catalin Marinas wrote: On Fri, Feb 06, 2015 at 02:54:23PM +, Murali Karicheri wrote: On 02/06/2015 09:38 AM, Catalin Marinas wrote: On Thu, Feb 05, 2015 at 09:52:55PM +, Murali Karicheri wrote: Fix the dma-range size when the DT attribute is missing. i.e set

Re: [PATCH 1/1] drivers/base: Remove unnecessary OOM message

2015-02-06 Thread Joe Perches
On Fri, 2015-02-06 at 21:58 +0100, Pavel Machek wrote: On Fri 2015-02-06 16:39:12, Quentin Lambert wrote: This patch fix checkpatch warnings concerning the possible duplication of an out of memory message. So, instead of nice and readable not enough memory for clock... we get OOM,

Re: [PATCH] drm: atmel-hlcdc: add discard area support

2015-02-06 Thread Daniel Vetter
On Fri, Feb 06, 2015 at 04:31:02PM +0100, Boris Brezillon wrote: The HLCDC IP provides a way to discard a specific area on the primary plane (in case at least one of the overlay is activated and alpha blending is disabled). Doing this will reduce the amount of data to transfer from the main

Re: [PATCH v2 1/2] sched/rt: Check to push the task when changing its affinity

2015-02-06 Thread Steven Rostedt
On Thu, 5 Feb 2015 23:59:33 +0800 Xunlei Pang xlp...@126.com wrote: return p; @@ -1886,28 +1892,73 @@ static void set_cpus_allowed_rt(struct task_struct *p, const struct cpumask *new_mask) { struct rq *rq; - int weight; + int old_weight,

Re: [PATCH 1/1] drivers/base: Remove unnecessary OOM message

2015-02-06 Thread Pavel Machek
On Fri 2015-02-06 13:04:30, Joe Perches wrote: On Fri, 2015-02-06 at 21:58 +0100, Pavel Machek wrote: On Fri 2015-02-06 16:39:12, Quentin Lambert wrote: This patch fix checkpatch warnings concerning the possible duplication of an out of memory message. So, instead of nice and

Re: [RFC][PATCH v2 5/7] trace: make filter_parse_regex() provide the length of substring to compare with

2015-02-06 Thread Steven Rostedt
On Fri, 6 Feb 2015 04:00:13 + Al Viro v...@zeniv.linux.org.uk wrote: --- a/kernel/trace/trace_events_filter.c +++ b/kernel/trace/trace_events_filter.c @@ -321,7 +321,7 @@ static int regex_match_end(char *str, struct regex *r, int len) * not returns 1 if buff started with a '!' *

Re: [PATCH 1/2] m25p80, spi-nor: Update id list of Macronix chips

2015-02-06 Thread Brian Norris
(fixed Huang's current email) Hi, On Fri, Feb 06, 2015 at 10:33:29PM +0800, Jim-Ting Kuo wrote: On Fri, Feb 6, 2015 at 9:18 AM, Brian Norris computersforpe...@gmail.com wrote: On Fri, Feb 06, 2015 at 02:44:04AM +0800, Jim Kuo wrote: --- a/drivers/mtd/devices/m25p80.c +++

[PATCH v2 3/3] clk: Replace of_clk_get_by_clkspec() with of_clk_get_from_provider()

2015-02-06 Thread Stephen Boyd
of_clk_get_by_clkspec() has the same function signature as of_clk_get_from_provider() struct clk *of_clk_get_by_clkspec(struct of_phandle_args *clkspec) struct clk *of_clk_get_from_provider(struct of_phandle_args *clkspec) except of_clk_get_by_clkspec() checks to make sure clkspec is not

[PATCH v2 0/3] CCF fixes/cleanup for per-user series

2015-02-06 Thread Stephen Boyd
Here are some fixes from yesterdays's dive into the fallout from the per-user constraints patches. We should do a final sweep later to rename local variables with type struct clk_core to core. Changes from v1: * Picked up tags * Dropped clk.h include in last patch * Handled IS_ERR() retrurn

[PATCH v2 1/3] clkdev: Always allocate a struct clk and call __clk_get() w/ CCF

2015-02-06 Thread Stephen Boyd
of_clk_get_by_clkspec() returns a struct clk pointer but it doesn't create a new handle for the consumers when we're using the common clock framework. Instead it just returns whatever the clk provider hands out. When the consumers go to call clk_put() we get an Oops. Unable to handle kernel

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

2015-02-06 Thread Davidlohr Bueso
On Fri, 2015-02-06 at 08:25 -0800, Linus Torvalds wrote: On Fri, Feb 6, 2015 at 6:49 AM, Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote: Paravirt spinlock clears slowpath flag after doing unlock. [ fix edited out ] So I'm not going to be applying this for 3.19, because it's much

[PATCH v5 0/3] irqchip: vf610-mscm: add support for MSCM interrupt router

2015-02-06 Thread Stefan Agner
So far the MSCM interrupt router was initialized by the boot loader and configured all interrupts for the Cortex-A5 CPU. There are two use cases where a proper driver is necessary: - To run Linux on the Cortex-M4. When the kernel is running on the non-preconfigured CPU, the interrupt router need

[PATCH v5 3/3] ARM: dts: vf610: add Miscellaneous System Control Module (MSCM)

2015-02-06 Thread Stefan Agner
Add the Miscellaneous System Control Module (MSCM) to the base device tree for Vybrid SoC's. This module contains registers to get information of the individual and current (accessing) CPU. In a second block, there is an interrupt router, which handles the routing of the interrupts between the two

[PATCH] ARM: shmobile: r8a73a4: Move pfc node to work around probe ordering bug

2015-02-06 Thread Geert Uytterhoeven
Currently the pin function controller (which is also a GPIO controller) is instantiated before the interrupt controllers due to the order in the DTS. At that time, the irq domains for the interrupt controllers referenced by its interrupts-extended property cannot be found yet: irq: no irq

Re: [PATCH 2/2] x86/tbl/trace: Do not trace on CPU that is offline

2015-02-06 Thread Sedat Dilek
On Fri, Feb 6, 2015 at 9:21 PM, Steven Rostedt rost...@goodmis.org wrote: On Fri, 6 Feb 2015 21:11:57 +0100 Sedat Dilek sedat.di...@gmail.com wrote: On Fri, Feb 6, 2015 at 9:06 PM, Steven Rostedt rost...@goodmis.org wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Subject:

Re: [RFC 0/2] Experience on full stack profiling using eBPF.

2015-02-06 Thread Alexei Starovoitov
On Thu, Feb 5, 2015 at 10:56 PM, He Kuang heku...@huawei.com wrote: Our goal is to profile production systems by analyzing end-to-end trace of particular procedures, including full IO request through sys_write() system call to underlying disk driver, full network processes through

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

2015-02-06 Thread Oleg Nesterov
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 return -EFAULT if memory allocation silently fails? Confused.

Re: [PATCH v2] coresight: Adding coresight support for arm64 architecture

2015-02-06 Thread Will Deacon
On Tue, Feb 03, 2015 at 09:42:36PM +, mathieu.poir...@linaro.org wrote: From: Mathieu Poirier mathieu.poir...@linaro.org Most CoreSight blocks are 64-bit ready. As such move configuration entries from arch/arm/Kconfig.config to the driver's subdirectory and source the newly created

Re: [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-02-06 Thread Stephen Boyd
On 02/06/15 05:39, Russell King - ARM Linux wrote: On Thu, Feb 05, 2015 at 05:35:28PM -0800, Stephen Boyd wrote: From what I can tell this code is now broken because we made all clk getting functions (there's quite a few...) return unique pointers every time they're called. It seems that the

Re: [PATCHv6 0/5] Add Altera peripheral memories to EDAC framework

2015-02-06 Thread Mark Rutland
On Thu, Jan 29, 2015 at 08:53:06PM +, Thor Thayer wrote: Hi Device Tree Maintainers, Hi Thor, Apologies for being silent for so long on this. On 01/08/2015 08:53 PM, ttha...@opensource.altera.com wrote: From: Thor Thayer ttha...@opensource.altera.com This patch adds the L2 cache and

[PATCH] seccomp: cap SECCOMP_RET_ERRNO data to MAX_ERRNO

2015-02-06 Thread Kees Cook
The value resulting from the SECCOMP_RET_DATA mask could exceed MAX_ERRNO when setting errno during a SECCOMP_RET_ERRNO filter action. This makes sure we have a reliable value being set, so that an invalid errno will not be ignored by userspace. Reported-by: Dmitry V. Levin l...@altlinux.org

Re: [PATCH 2/2] kernel/fork: handle put_user errors for CLONE_PARENT_SETTID

2015-02-06 Thread Oleg Nesterov
I am not sure about these changes too, but On 02/06, Linus Torvalds wrote: What's the upside? If somebody passes in a bad pointer, it's their problem. Yes. But unless I am totally confused (quite possible) this put_user() can fail even if the pointer is valid. So at least I think Konstantin

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

2015-02-06 Thread Sasha Levin
On 02/06/2015 02:42 PM, Davidlohr Bueso wrote: On Fri, 2015-02-06 at 08:25 -0800, Linus Torvalds wrote: On Fri, Feb 6, 2015 at 6:49 AM, Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote: Paravirt spinlock clears slowpath flag after doing unlock. [ fix edited out ] So I'm not going to

Re: [PATCH v5 3/5] x86: Split syscall_trace_enter into two phases

2015-02-06 Thread Kees Cook
On Thu, Feb 5, 2015 at 6:38 PM, Andy Lutomirski l...@amacapital.net wrote: On Thu, Feb 5, 2015 at 6:32 PM, Dmitry V. Levin l...@altlinux.org wrote: On Thu, Feb 05, 2015 at 04:09:06PM -0800, Andy Lutomirski wrote: On Thu, Feb 5, 2015 at 3:49 PM, Kees Cook keesc...@chromium.org wrote: On Thu,

Re: [PATCH v2 1/2] mtd: nand: pxa3xx: Fix PIO FIFO draining

2015-02-06 Thread Brian Norris
On Fri, Feb 06, 2015 at 11:17:15AM -0300, Ezequiel Garcia wrote: On 02/06/2015 05:13 AM, Boris Brezillon wrote: On Thu, 5 Feb 2015 17:08:35 -0800 Brian Norris computersforpe...@gmail.com wrote: On Wed, Feb 04, 2015 at 11:10:28AM +0100, Boris Brezillon wrote: I know the datasheet says this

[PATCH v2 2/7] Input: synaptics - handle spurious release of trackstick buttons

2015-02-06 Thread Benjamin Tissoires
The Fimware 8.1 has a bug in which the extra buttons are only sent when the ExtBit is 1. This should be fixed in a future FW update which should have a bump of the minor version. Cc: sta...@vger.kernel.org Signed-off-by: Benjamin Tissoires benjamin.tissoi...@redhat.com --- v2: - break out extra

[PATCH v2 0/7] New Lenovos 2015 touchpads: party time!

2015-02-06 Thread Benjamin Tissoires
Hi, This is the second episode of the Lenovo 2015 party :) Thanks to Andrew, we now have an idea within the driver of what are the extra buttons aimed for, and the patch series looks cleaner. Many thanks for your help. I marked only patches 1/7, 2/7 and 3/7 as stable because they are really

[PATCH 1/2 v2] tracing: Add condition check to RCU lockdep checks

2015-02-06 Thread Steven Rostedt
From 2836d3eec0cbbb14ddb50e78506f9835bab59d5b Mon Sep 17 00:00:00 2001 Date: Fri, 6 Feb 2015 14:30:50 -0500 Subject: tracing: Add condition check to RCU lockdep checks From: Steven Rostedt (Red Hat) rost...@goodmis.org The trace_tlb_flush() tracepoint can be called when a CPU is going offline.

Re: [PATCH v5 3/5] x86: Split syscall_trace_enter into two phases

2015-02-06 Thread Andy Lutomirski
On Fri, Feb 6, 2015 at 12:07 PM, Kees Cook keesc...@chromium.org wrote: On Fri, Feb 6, 2015 at 11:32 AM, Andy Lutomirski l...@amacapital.net wrote: On Fri, Feb 6, 2015 at 11:23 AM, Kees Cook keesc...@chromium.org wrote: And especially since a ptracer can change syscalls during

Re: [PATCH v2 1/2] mtd: nand: pxa3xx: Fix PIO FIFO draining

2015-02-06 Thread Maxime Ripard
On Fri, Feb 06, 2015 at 11:38:59AM -0800, Brian Norris wrote: An alternative would be to move this part into the read/write_buf functions, but that's a lot of work... Yeah, indeed. This also has other benefits. As we discussed on IRC, it would allow to support raw writes (i.e. ECC

issues on last 32 bit m68k toolchain

2015-02-06 Thread Angelo Dureghello
Dear all, i was using the public x86 32bit toolchain from kernel.org: https://www.kernel.org/pub/tools/crosstool/files/bin/i686/4.6.3/i686-gcc-4.6.3-nolibc_m68k-linux.tar.gz Unfortunately, for ColdFire arch, there is a bug in gas/binutils for this toolchain:

Re: [PATCH 3/3] dm ioctl: Delete an unnecessary check before the function call dm_table_destroy

2015-02-06 Thread Mike Snitzer
On Mon, Feb 02 2015 at 10:23am -0500, SF Markus Elfring elfr...@users.sourceforge.net wrote: From: Markus Elfring elfr...@users.sourceforge.net Date: Mon, 2 Feb 2015 15:30:37 +0100 The dm_table_destroy() function tests whether its argument is NULL and then returns immediately. Thus the test

Re: [PATCH 2/2] kernel/fork: handle put_user errors for CLONE_PARENT_SETTID

2015-02-06 Thread Konstantin Khlebnikov
On Fri, Feb 6, 2015 at 11:49 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Fri, Feb 6, 2015 at 8:23 AM, Konstantin Khlebnikov khlebni...@yandex-team.ru wrote: Handling of flag CLONE_PARENT_SETTID has the same problem: error returned from put_user() is ignored. Glibc completely

Re: [PATCH 0/2] tracing/tlb/x85: Fix splat of calling RCU trace code on offline CPU

2015-02-06 Thread Sedat Dilek
On Fri, Feb 6, 2015 at 10:18 PM, Steven Rostedt rost...@goodmis.org wrote: On Fri, 6 Feb 2015 22:07:56 +0100 Sedat Dilek sedat.di...@gmail.com wrote: Your patchset fixes the issue for me (look at the attached files for more detailed information). So I can add your Tested-by tag? Yes. I

Re: [PATCH 2/2] x86/tbl/trace: Do not trace on CPU that is offline

2015-02-06 Thread Sedat Dilek
On Fri, Feb 6, 2015 at 10:34 PM, Steven Rostedt rost...@goodmis.org wrote: On Fri, 6 Feb 2015 21:11:57 +0100 Sedat Dilek sedat.di...@gmail.com wrote: On Fri, Feb 6, 2015 at 9:06 PM, Steven Rostedt rost...@goodmis.org wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Subject:

Re: [PATCH 2/2] kernel/fork: handle put_user errors for CLONE_PARENT_SETTID

2015-02-06 Thread Linus Torvalds
On Fri, Feb 6, 2015 at 1:13 PM, Konstantin Khlebnikov koc...@gmail.com wrote: Currently that works fine only because kernel retries 0-order allocations endlessly. But pagefault_out_of_memory() is never called for non-user PF. For kernel PF all oom-kills are triggered by buddy-allocator. This

Re: [PATCH] llist: Fix missing memory barrier

2015-02-06 Thread Mathieu Desnoyers
- Original Message - From: Peter Hurley pe...@hurleysoftware.com To: Mathieu Desnoyers mathieu.desnoy...@efficios.com, Pranith Kumar bobby.pr...@gmail.com Cc: Huang Ying ying.hu...@intel.com, LKML linux-kernel@vger.kernel.org, Paul McKenney paul...@linux.vnet.ibm.com, David Howells

Re: [PATCH] seccomp: cap SECCOMP_RET_ERRNO data to MAX_ERRNO

2015-02-06 Thread Dmitry V. Levin
On Fri, Feb 06, 2015 at 01:03:09PM -0800, Kees Cook wrote: The value resulting from the SECCOMP_RET_DATA mask could exceed MAX_ERRNO when setting errno during a SECCOMP_RET_ERRNO filter action. This makes sure we have a reliable value being set, so that an invalid errno will not be ignored by

Re: [PATCH 2/2] x86/tbl/trace: Do not trace on CPU that is offline

2015-02-06 Thread Sedat Dilek
On Fri, Feb 6, 2015 at 10:42 PM, Steven Rostedt rost...@goodmis.org wrote: On Fri, 6 Feb 2015 22:39:52 +0100 Sedat Dilek sedat.di...@gmail.com wrote: Man man man you write and test your stuff still on ancient x85 arch. What's coming next... revive/reinclude i386 code? Real mode for Real

Re: [v7,2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-02-06 Thread Dmitry Torokhov
On Fri, Feb 6, 2015 at 2:31 PM, Kevin Cernekee cerne...@chromium.org wrote: On Mon, Jan 19, 2015 at 01:51:49PM -0800, Ray Jui wrote: + + dev_dbg(iproc_i2c-device, xfer %c, addr=0x%02x, len=%d\n, + (msg-flags I2C_M_RD) ? 'R' : 'W', msg-addr, + msg-len); +

Re: [PATCH 5/5] ARM: dts: pxa: add pxa-timer to pxa27x

2015-02-06 Thread Robert Jarzmik
Sergei Shtylyov sergei.shtyl...@cogentembedded.com writes: +clocksources { +#address-cells = 1; +#size-cells = 1; +ranges; + +pxa-timer@40a0 { Just timer@40a0, please. Hi Sergei, I forgot that in the v2, sorry. I'll put it in

Re: [RFC][PATCH v2 2/7] implement memmem()

2015-02-06 Thread Rasmus Villemoes
On Fri, Feb 06 2015, Steven Rostedt rost...@goodmis.org wrote: The functionality of strnstr() does not change with this patch, so it does not need to address your concern. Yeah, I should have checked that, of course. Sorry. Feel free to submit a patch that states the difference of the kernel

Re: [PATCH 2/2] x86/tbl/trace: Do not trace on CPU that is offline

2015-02-06 Thread Paul E. McKenney
On Fri, Feb 06, 2015 at 03:06:55PM -0500, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org When taking a CPU down for suspend and resume, a tracepoint may be called when the CPU has been designated offline. As tracepoints require RCU for protection, they must not be

Re: [PATCH 0/2] tracing/tlb/x85: Fix splat of calling RCU trace code on offline CPU

2015-02-06 Thread Sedat Dilek
On Fri, Feb 6, 2015 at 10:19 PM, Steven Rostedt rost...@goodmis.org wrote: On Fri, 6 Feb 2015 16:18:03 -0500 Steven Rostedt rost...@goodmis.org wrote: But the first patch is a much broader change and more generic which could affect many other locations as well. It is specific to

Re: [PATCH] ARM: print cma-reserved pages from show_mem

2015-02-06 Thread Laura Abbott
On 2/6/2015 1:14 PM, Gregory Fong wrote: On Thu, Feb 5, 2015 at 4:41 PM, Laura Abbott lau...@codeaurora.org wrote: On 2/4/2015 3:22 PM, Gregory Fong wrote: Add cma reserved information to the ARM-specific show_mem. It was added to the generic implementation by commit

Re: [PATCHv6 2/5] arm: socfpga: Enable OCRAM ECC on startup.

2015-02-06 Thread Thor Thayer
Hi Mark, On 02/06/2015 12:45 PM, Mark Rutland wrote: On Fri, Jan 09, 2015 at 02:53:53AM +, ttha...@opensource.altera.com wrote: From: Thor Thayer ttha...@opensource.altera.com This patch enables the ECC for On-Chip RAM on machine startup. The ECC has to be enabled before data is is

Re: [Update] Re: [PATCH v3]PM/Sleep: Timer quiesce in freeze state

2015-02-06 Thread Rafael J. Wysocki
On Friday, February 06, 2015 07:29:22 PM Peter Zijlstra wrote: On Fri, Feb 06, 2015 at 05:14:54PM +0100, Peter Zijlstra wrote: On Fri, Feb 06, 2015 at 02:20:13AM +0100, Rafael J. Wysocki wrote: void freeze_wake(void) { + unsigned long flags; + +

Re: [PATCH 0/2] tracing/tlb/x85: Fix splat of calling RCU trace code on offline CPU

2015-02-06 Thread Sedat Dilek
On Fri, Feb 6, 2015 at 10:38 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Fri, Feb 06, 2015 at 10:07:56PM +0100, Sedat Dilek wrote: On Fri, Feb 6, 2015 at 9:06 PM, Steven Rostedt rost...@goodmis.org wrote: Paul, I found a much better fix than adding the rcu_nocheck(). Simply

[PATCH 1/4] SCSI-QLA4...: Deletion of unnecessary checks before three function calls

2015-02-06 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Fri, 6 Feb 2015 20:38:23 +0100 The following functions perform also input parameter validation. * iscsi_boot_destroy_kset * kfree * vfree Thus the test around their calls is not needed. This issue was detected by using the Coccinelle

Re: [RFC 0/3] Mirrored memory support for boot time allocations

2015-02-06 Thread Tony Luck
On Fri, Feb 6, 2015 at 1:54 PM, Tony Luck tony.l...@intel.com wrote: Platforms that support a mix of mirrored and regular memory are coming. Obviously I don't do enough -mm work to remember where linux-mm mailing list is hosted :-( Let's see who finds this on the linux-kernel list (that I did

Re: [PATCH] llist: Fix missing memory barrier

2015-02-06 Thread Greg Kroah-Hartman
On Fri, Feb 06, 2015 at 10:16:25PM +, Mathieu Desnoyers wrote: - Original Message - From: Greg Kroah-Hartman gre...@linuxfoundation.org To: Mathieu Desnoyers mathieu.desnoy...@efficios.com Cc: Pranith Kumar bobby.pr...@gmail.com, Huang Ying ying.hu...@intel.com, LKML

Re: [v7,2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-02-06 Thread Kevin Cernekee
On Fri, Feb 6, 2015 at 2:48 PM, Dmitry Torokhov d...@chromium.org wrote: On Fri, Feb 6, 2015 at 2:31 PM, Kevin Cernekee cerne...@chromium.org wrote: On Mon, Jan 19, 2015 at 01:51:49PM -0800, Ray Jui wrote: + + dev_dbg(iproc_i2c-device, xfer %c, addr=0x%02x, len=%d\n, +

Re: [PATCH 0/2] tracing/tlb/x85: Fix splat of calling RCU trace code on offline CPU

2015-02-06 Thread Sedat Dilek
On Fri, Feb 6, 2015 at 11:51 PM, Sedat Dilek sedat.di...@gmail.com wrote: On Fri, Feb 6, 2015 at 11:48 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Fri, Feb 06, 2015 at 05:35:48PM -0500, Steven Rostedt wrote: On Fri, 6 Feb 2015 23:13:02 +0100 Sedat Dilek sedat.di...@gmail.com

Re: [PATCH 0/2] tracing/tlb/x85: Fix splat of calling RCU trace code on offline CPU

2015-02-06 Thread Sedat Dilek
On Fri, Feb 6, 2015 at 10:24 PM, Steven Rostedt rost...@goodmis.org wrote: On Fri, 6 Feb 2015 16:19:24 -0500 Steven Rostedt rost...@goodmis.org wrote: On Fri, 6 Feb 2015 16:18:03 -0500 Steven Rostedt rost...@goodmis.org wrote: But the first patch is a much broader change and more generic

gpio-pxa: getting GPIOs by devicetree phandle broken

2015-02-06 Thread Tyler Hall
Hi, Commit 7b8792b (gpiolib: of: Correct error handling in of_get_named_gpiod_flags) seems to break the ability to use DT bindings to reference this driver's GPIOs by phandle for banks above the first. The issue is that gpio-pxa registers multiple gpio chips - one for each bank - but they're all

Re: [PATCH 2/2] x86/tbl/trace: Do not trace on CPU that is offline

2015-02-06 Thread Steven Rostedt
On Fri, 6 Feb 2015 21:11:57 +0100 Sedat Dilek sedat.di...@gmail.com wrote: On Fri, Feb 6, 2015 at 9:06 PM, Steven Rostedt rost...@goodmis.org wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Subject: x86/tbl/trace: --- .../tlb/... But you missed that the cover letter was for

Re: [RFC][PATCH v2 2/7] implement memmem()

2015-02-06 Thread Rasmus Villemoes
On Fri, Feb 06 2015, Al Viro v...@zeniv.linux.org.uk wrote: +/** + * strnstr - Find the first substring in a length-limited string + * @s1: The string to be searched + * @s2: The string to search for + * @len: the maximum number of characters to search + */ +char *strnstr(const char *s1,

[PATCH 5/8] fbdev: ssd1307fb: Add module parameter bitsperpixel.

2015-02-06 Thread niederp
From: Thomas Niederprüm nied...@physik.uni-kl.de This patch adds a module parameter 'bitsperpixel' to adjust the colordepth of the framebuffer. All values 1 will result in memory map of the requested color depth. However only the MSB of each pixel will be sent to the device. The framebuffer

[PATCH 0/8] Cleanup and add support for SSD1305

2015-02-06 Thread niederp
From: Thomas Niederprüm nied...@physik.uni-kl.de This patch series is the result of making the ssd1307fb driver work with a Newhaven OLED display using the Solomon SSD1305 controller. To achieve this the intialization code for the SSD1306 and the SSD1307 is merged and based on device tree

[PATCH 7/8] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-02-06 Thread niederp
From: Thomas Niederprüm nied...@physik.uni-kl.de This patch adds sysfs handles to enable userspace control over the display contrast as well as the dim mode. The handles are available as contrast and dim in the framebuffers sysfs domain. Signed-off-by: Thomas Niederprüm nied...@physik.uni-kl.de

[PATCH 8/8] fbdev: ssd1307fb: Turn off display on driver unload.

2015-02-06 Thread niederp
From: Thomas Niederprüm nied...@physik.uni-kl.de Signed-off-by: Thomas Niederprüm nied...@physik.uni-kl.de --- drivers/video/fbdev/ssd1307fb.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index 02931c7..be91dfc 100644

[PATCH 4/8] fbdev: ssd1307fb: Use vmalloc to allocate video memory.

2015-02-06 Thread niederp
From: Thomas Niederprüm nied...@physik.uni-kl.de It makes sense to use vmalloc to allocate the video buffer since it has to be page aligned memory for using it with mmap. Also deffered io seems buggy in combination with kmalloc'ed memory (crash on unloading the module). Signed-off-by: Thomas

[PATCH 2/3] perf/e6500: Create a sysfs format entry for e6500 events

2015-02-06 Thread Tom Huynh
Create a sysfs entry, '/sys/bus/event_source/devices/cpu/format/event' which describes the format of the e6500 PMU events. e6500 has = 512 events, so use the 9 lsb to specify the raw event code. $ cat /sys/devices/cpu/format/event config:0-8 Similar to commit 3bf7b07ece6e

Re: [PATCH] classmate-laptop: fix sparse warning

2015-02-06 Thread Thadeu Lima de Souza Cascardo
On Thu, Feb 05, 2015 at 02:57:44PM +, Lad Prabhakar wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com this patch fixes following sparse warning: classmate-laptop.c:523:61: warning: Using plain integer as NULL pointer Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com

Re: [RFC][PATCH v2 2/7] implement memmem()

2015-02-06 Thread Steven Rostedt
On Fri, 06 Feb 2015 23:30:19 +0100 Rasmus Villemoes li...@rasmusvillemoes.dk wrote: On Fri, Feb 06 2015, Al Viro v...@zeniv.linux.org.uk wrote: +/** + * strnstr - Find the first substring in a length-limited string + * @s1: The string to be searched + * @s2: The string to search for

Re: [PATCH 1/5] rcu,nohz: add state parameter to context_tracking_user_enter/exit

2015-02-06 Thread Frederic Weisbecker
On Fri, Feb 06, 2015 at 01:51:56PM -0500, Rik van Riel wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/06/2015 01:23 PM, Frederic Weisbecker wrote: On Fri, Feb 06, 2015 at 01:20:21PM -0500, Rik van Riel wrote: On 02/06/2015 12:22 PM, Frederic Weisbecker wrote: On Thu, Feb 05,

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

2015-02-06 Thread Davidlohr Bueso
On Fri, 2015-02-06 at 16:15 -0500, Sasha Levin wrote: On 02/06/2015 02:42 PM, Davidlohr Bueso wrote: On Fri, 2015-02-06 at 08:25 -0800, Linus Torvalds wrote: On Fri, Feb 6, 2015 at 6:49 AM, Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote: Paravirt spinlock clears slowpath flag

Re: [RFC] Making memcg track ownership per address_space or anon_vma

2015-02-06 Thread Greg Thelen
On Fri, Feb 6, 2015 at 6:17 AM, Tejun Heo t...@kernel.org wrote: Hello, Greg. On Thu, Feb 05, 2015 at 04:03:34PM -0800, Greg Thelen wrote: So this is a system which charges all cgroups using a shared inode (recharge on read) for all resident pages of that shared inode. There's only

Re: [PATCH 2/2] x86/tbl/trace: Do not trace on CPU that is offline

2015-02-06 Thread Steven Rostedt
On Fri, 6 Feb 2015 22:39:52 +0100 Sedat Dilek sedat.di...@gmail.com wrote: Man man man you write and test your stuff still on ancient x85 arch. What's coming next... revive/reinclude i386 code? Real mode for Real men! Yeah Baby! -- Steve -- To unsubscribe from this list: send the line

[RFC 1/3] mm/memblock: Add extra flag to memblock to allow selection of memory based on attribute

2015-02-06 Thread Tony Luck
No functional changes Signed-off-by: Tony Luck tony.l...@intel.com --- arch/s390/kernel/crash_dump.c | 4 ++-- arch/sparc/mm/init_64.c | 4 ++-- arch/x86/kernel/check.c | 2 +- arch/x86/kernel/e820.c| 2 +- arch/x86/mm/init_32.c | 2 +- arch/x86/mm/memtest.c

[RFC 0/3] Mirrored memory support for boot time allocations

2015-02-06 Thread Tony Luck
Platforms that support a mix of mirrored and regular memory are coming. We'd like to use the mirrored memory for kernel code, data and dynamically allocated data because our machine check recovery code cannot fix problems there. This series modifies the memblock allocator to comprehend mirrored

Re: [v7,2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-02-06 Thread Kevin Cernekee
On Mon, Jan 19, 2015 at 01:51:49PM -0800, Ray Jui wrote: Add initial support to the Broadcom iProc I2C controller found in the iProc family of SoCs. The iProc I2C controller has separate internal TX and RX FIFOs, each has a size of 64 bytes. The iProc I2C controller supports two bus speeds

[PATCH v2 2/5] ARM: dts: pxa: add clocks

2015-02-06 Thread Robert Jarzmik
Add clocks to the IPs already described in the pxa device-tree files. There are more clocks in the clock tree than IPs described in the current pxa device-tree. This patch ensures that : - the current description is correct - the clocks are actually claimed, so that clock framework doesn't

Re: [PATCH 0/2] tracing/tlb/x85: Fix splat of calling RCU trace code on offline CPU

2015-02-06 Thread Paul E. McKenney
On Fri, Feb 06, 2015 at 05:35:48PM -0500, Steven Rostedt wrote: On Fri, 6 Feb 2015 23:13:02 +0100 Sedat Dilek sedat.di...@gmail.com wrote: OK, so both patches go through Steve's tree. The second patch will require acks from those that maintain the files I touch. Yep, that is required

[PATCH v2 1/5] ARM: dts: pxa: add pwri2c to pxa device-tree

2015-02-06 Thread Robert Jarzmik
Each pxa variant has 2 I2C busses on the SoC : - the casual I2C - the power I2C, normally driving power regulators, and capable of receiving orders on core frequency modifications Add the missing pwri2c to pxa description. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr ---

[PATCH v2 5/5] ARM: dts: pxa: add pxa-timer to pxa27x

2015-02-06 Thread Robert Jarzmik
Each pxa has an embedded OS Timers IP. The kernel cannot work without a valid clocksource, and this adds the OS Timers to the pxa device-tree description. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since v1: removed clocksource node, pxa-timer being directly under pxabus

[PATCH 0/3] Add e6500 perf events to sysfs and update perf doc

2015-02-06 Thread Tom Huynh
This patch set adds generic events, specific events, and format attribute for the e6500 pmu to sysfs. This makes perf more convenient to use on the e6500 by allowing the users to see all supported events and specify events using meaningful names instead of raw event codes. This patchset includes

Re: [PATCH 0/2] tracing/tlb/x85: Fix splat of calling RCU trace code on offline CPU

2015-02-06 Thread Steven Rostedt
On Fri, 6 Feb 2015 14:48:36 -0800 Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Fri, Feb 06, 2015 at 05:35:48PM -0500, Steven Rostedt wrote: On Fri, 6 Feb 2015 23:13:02 +0100 Sedat Dilek sedat.di...@gmail.com wrote: OK, so both patches go through Steve's tree. The

Re: [PATCH 0/2] tracing/tlb/x85: Fix splat of calling RCU trace code on offline CPU

2015-02-06 Thread Paul E. McKenney
On Fri, Feb 06, 2015 at 11:51:19PM +0100, Sedat Dilek wrote: On Fri, Feb 6, 2015 at 11:48 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Fri, Feb 06, 2015 at 05:35:48PM -0500, Steven Rostedt wrote: On Fri, 6 Feb 2015 23:13:02 +0100 Sedat Dilek sedat.di...@gmail.com wrote:

Re: [PATCH 0/2] tracing/tlb/x85: Fix splat of calling RCU trace code on offline CPU

2015-02-06 Thread Steven Rostedt
On Fri, 6 Feb 2015 22:21:58 +0100 Sedat Dilek sedat.di...@gmail.com wrote: Important for me is that the reference is embedded. Note, my patch will have this: Link: http://lkml.kernel.org/r/CA+icZUUGiGDoL5NU8RuxKzFjoLjEKRtUWx=jb8b9a0eqv-e...@mail.gmail.com -- Steve -- To unsubscribe from

Re: [PATCH 0/2] tracing/tlb/x85: Fix splat of calling RCU trace code on offline CPU

2015-02-06 Thread Paul E. McKenney
On Fri, Feb 06, 2015 at 10:07:56PM +0100, Sedat Dilek wrote: On Fri, Feb 6, 2015 at 9:06 PM, Steven Rostedt rost...@goodmis.org wrote: Paul, I found a much better fix than adding the rcu_nocheck(). Simply have the rcu check inside the condition check as well. This way the rcu splat will

[PATCH net-next] Driver: Vmxnet3: Change the hex constant to its decimal equivalent

2015-02-06 Thread Shrikrishna Khare
The hex constant chosen for VMXNET3_REV1_MAGIC is offensive, replace it with its decimal equivalent. Signed-off-by: Shrikrishna Khare skh...@vmware.com Reviewed-by: Shreyas Bhatewara sbhatew...@vmware.com --- drivers/net/vmxnet3/vmxnet3_defs.h |2 +- drivers/net/vmxnet3/vmxnet3_int.h |4

Re: [PATCHv6 5/5] arm: dts: Add Altera L2 Cache and OCRAM EDAC entries

2015-02-06 Thread Thor Thayer
Hi Mark On 02/06/2015 01:24 PM, Mark Rutland wrote: On Fri, Jan 09, 2015 at 02:53:56AM +, ttha...@opensource.altera.com wrote: From: Thor Thayer ttha...@opensource.altera.com Adding the device tree entries and bindings needed to support the Altera L2 cache and On-Chip RAM EDAC. This patch

[RFC 3/3] x86, mirror: x86 enabling - find mirrored memory ranges and tell memblock

2015-02-06 Thread Tony Luck
Can't post this part yet because it uses things in an upcoming[*] ACPI, UEFI, or some other four-letter-ending-in-I standard. So just imagine a call someplace early in startup that reads information about mirrored address ranges and does: + for (...) { + start = ...; +

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

2015-02-06 Thread Oleksij Rempel
formatting of this patch is still badly broken. ./scripts/checkpatch.pl ~/Downloads/patch.eml ERROR: DOS line endings #442: FILE: drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:1170: +^I^IAURFC_STAT_SET(aurfc_submit_delay, delay);^M$ total: 195 errors, 6 warnings, 1 checks, 310 lines checked

[RFC 2/3] mm/memblock: Allocate boot time data structures from mirrored memory

2015-02-06 Thread Tony Luck
Try to allocate all boot time kernel data structures from mirrored memory. If we run out of mirrored memory print warnings, but fall back to using non-mirrored memory to make sure that we still boot. Signed-off-by: Tony Luck tony.l...@intel.com --- include/linux/memblock.h | 8 ++

[PATCH 1/8] Documentation: dts: add missing Solomon Systech vendor prefix.

2015-02-06 Thread niederp
From: Thomas Niederprüm nied...@physik.uni-kl.de This patch adds the solomon prefix for Solomon Systech Limited. Signed-off-by: Thomas Niederprüm nied...@physik.uni-kl.de --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 2/8] fbdev: ssd1307fb: Unify init code and make controller configurable from device tree

2015-02-06 Thread niederp
From: Thomas Niederprüm nied...@physik.uni-kl.de This patches unifies the init code for the ssd130X chips and adds device tree bindings to describe the hardware configuration of the used controller. This gets rid of the magic bit values used in the init code so far. Signed-off-by: Thomas

[PATCH 3/8] fbdev: ssd1307fb: Add support for SSD1305

2015-02-06 Thread niederp
From: Thomas Niederprüm nied...@physik.uni-kl.de This patch adds support for the SSD1305 OLED controller. Signed-off-by: Thomas Niederprüm nied...@physik.uni-kl.de --- Documentation/devicetree/bindings/video/ssd1307fb.txt | 2 +- drivers/video/fbdev/ssd1307fb.c | 13

Re: [PATCH 0/2] tracing/tlb/x85: Fix splat of calling RCU trace code on offline CPU

2015-02-06 Thread Steven Rostedt
On Fri, 6 Feb 2015 22:21:58 +0100 Sedat Dilek sedat.di...@gmail.com wrote: Important for me is that the reference is embedded. Actually the first patch fixes another bug, which was added to find bugs for tlb tracepoints. -- Steve -- To unsubscribe from this list: send the line unsubscribe

[PATCH 2/4] SCSI-QLA4...: Less function calls in qla4xxx_is_session_exists() after error detection

2015-02-06 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Fri, 6 Feb 2015 21:14:40 +0100 The vfree() function was called in two cases by the qla4xxx_is_session_exists() function during error handling even if the passed variables fw_tddb and tmp_tddb contained still a null pointer. * This

[PATCH 4/4] SCSI-QLA4...: Less function calls in qla4xxx_sysfs_ddb_logout() after error detection

2015-02-06 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Fri, 6 Feb 2015 22:44:23 +0100 The vfree() function was called in three cases by the qla4xxx_sysfs_ddb_logout() function during error handling even if the passed variables flash_tddb and tmp_tddb contained still a null pointer. * This

[PATCH 3/4] SCSI-QLA4...: Less function calls in qla4xxx_is_flash_ddb_exists() after error detection

2015-02-06 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Fri, 6 Feb 2015 21:55:55 +0100 The vfree() function was called in two cases by the qla4xxx_is_flash_ddb_exists() function during error handling even if the passed variables fw_tddb and tmp_tddb contained still a null pointer. * This

[PATCH v2 4/5] ARM: dts: pxa: add pxa27x-keypad to pxa27x

2015-02-06 Thread Robert Jarzmik
Each pxa27x has an embedded keypad controller. Add it in the pxa27x device-tree description. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/boot/dts/pxa27x.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/pxa27x.dtsi

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