Re: [PATCH v10 8/8] tpm: TPM 2.0 FIFO Interface

2014-12-14 Thread Stefan Berger
On 12/14/2014 10:40 AM, Jarkko Sakkinen wrote: On Sun, Dec 14, 2014 at 09:48:26AM -0500, Stefan Berger wrote: On 12/12/2014 02:46 PM, Jarkko Sakkinen wrote: Detect TPM 2.0 by sending idempotent TPM 2.x command. Ordinals for TPM 2.0 are higher than TPM 1.x commands so this should be fail-safe.

Re: [PATCH RFC] clk: mxs: Fix invalid 32-bit access to frac registers

2014-12-14 Thread Marek Vasut
On Sunday, December 14, 2014 at 04:28:53 PM, Stefan Wahren wrote: According to i.MX23 and i.MX28 reference manual the fractional clock control registers must be addressed by byte instructions. This patch fixes the erroneous 32-bit access to these registers. The changes has been tested only

Re: [tip:x86/urgent] MAINTAINERS: Add me as x86 VDSO submaintainer

2014-12-14 Thread Andy Lutomirski
On Dec 13, 2014 11:54 PM, tip-bot for Andy Lutomirski tip...@zytor.com wrote: Commit-ID: f0905c5a32ce6e9b743b4d9c70e53d1ce447852d Gitweb: http://git.kernel.org/tip/f0905c5a32ce6e9b743b4d9c70e53d1ce447852d Author: Andy Lutomirski l...@amacapital.net AuthorDate: Fri, 12 Dec 2014

Re: linux-next: question about the luto-misc tree

2014-12-14 Thread Andy Lutomirski
On Sun, Dec 14, 2014 at 4:03 AM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Sat, Dec 13, 2014 at 11:26:36PM -0800, Andy Lutomirski wrote: On Dec 13, 2014 10:58 PM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Andy, The luto-misc tree seems to have a whole series of commits

Re: [PATCH v2 1/4] pci: iProc: define Broadcom iProc PCIe binding

2014-12-14 Thread Arnd Bergmann
On Sunday 14 December 2014 10:48:01 Arend van Spriel wrote: On 12/13/14 20:46, Arnd Bergmann wrote: On Saturday 13 December 2014 11:05:52 Arend van Spriel wrote: Makes sense. I think that is what Hauke meant by adding additional support for registering to bcma. So the discovery info is a

[PATCH 3/3] tracing: Add tp_printk cmdline to have tracepoints go to printk()

2014-12-14 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Add the kernel command line tp_printk option that will have tracepoints that are active sent to printk() as well as to the trace buffer. Passing tp_printk will activate this. To turn it off, the sysctl /proc/sys/kernel/tracepoint_printk can have

[PATCH 2/3] tracing: Move enabling tracepoints to just after mm_init()

2014-12-14 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Enabling tracepoints at boot up can be very useful. The tracepoint can be initialized right after memory has been. There's no need to wait for the early_initcall() to be called. That's too late for some things that can use tracepoints for

[PATCH 0/3] tracing: Enable tracepoints early and allow printk to use them

2014-12-14 Thread Steven Rostedt
As the merge window is still open, and this code was not as complex as I thought it might be. I'm thinking of pushing this in now. This will allow Thomas to debug his irq work for 3.20. This code is not that intrusive and I'm currently running it through all my tests (which caught the

[PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org In order to move enabling of trace events to just after mm_init(), the tracepoint enable code can not use call_rcu_sched() because rcu isn't even initialized yet. Since this can only happen before SMP is set up (and even before interrupts are

[PATCH 00/18] uaccess: fix sparse warning on get_user for bitwise types

2014-12-14 Thread Michael S. Tsirkin
At the moment, if p and x are both tagged as bitwise types, get_user(x, p) produces a sparse warning on many architectures. This is because *p on these architectures is loaded into long (typically using asm), then cast back to typeof(*p). When typeof(*p) is a bitwise type (which is uncommon),

[PATCH 01/18] x86/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- arch/x86/include/asm/uaccess.h | 2 +- 1 file changed, 1

[PATCH 02/18] alpha/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- arch/alpha/include/asm/uaccess.h | 4 ++-- 1 file changed,

[PATCH 08/18] m32r/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- arch/m32r/include/asm/uaccess.h | 4 ++-- 1 file changed,

[PATCH 04/18] avr32/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- arch/avr32/include/asm/uaccess.h | 4 ++-- 1 file changed,

[PATCH 18/18] m68k/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- arch/m68k/include/asm/uaccess_mm.h | 4 ++-- 1 file

[PATCH 15/18] sparc/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- arch/sparc/include/asm/uaccess_32.h | 8 1 file

[PATCH 11/18] openrisc/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- arch/openrisc/include/asm/uaccess.h | 4 ++-- 1 file

[PATCH 06/18] cris/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- arch/cris/include/asm/uaccess.h | 4 ++-- 1 file changed,

[PATCH 13/18] powerpc/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- arch/powerpc/include/asm/uaccess.h | 6 +++--- 1 file

[PATCH 03/18] arm64/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- arch/arm64/include/asm/uaccess.h | 2 +- 1 file changed, 1

[PATCH 16/18] sparc/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- arch/sparc/include/asm/uaccess_64.h | 4 ++-- 1 file

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Steven Rostedt
On Sun, 14 Dec 2014 11:41:05 -0500 Steven Rostedt rost...@goodmis.org wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org In order to move enabling of trace events to just after mm_init(), the tracepoint enable code can not use call_rcu_sched() because rcu isn't even initialized yet.

[PATCH 17/18] xtensa/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- arch/xtensa/include/asm/uaccess.h | 4 ++-- 1 file

[PATCH 12/18] parisc/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- arch/parisc/include/asm/uaccess.h | 2 +- 1 file changed,

[PATCH 10/18] microblaze/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- arch/microblaze/include/asm/uaccess.h | 4 ++-- 1 file

[PATCH 09/18] metag/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- arch/metag/include/asm/uaccess.h | 4 ++-- 1 file changed,

[PATCH 14/18] sh/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- arch/sh/include/asm/uaccess.h | 4 ++-- 1 file changed, 2

[PATCH 05/18] blackfin/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- arch/blackfin/include/asm/uaccess.h | 2 +- 1 file

[PATCH 07/18] ia64/uaccess: fix sparse errors

2014-12-14 Thread Michael S. Tsirkin
virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- arch/ia64/include/asm/uaccess.h | 2 +- 1 file changed, 1

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Mathieu Desnoyers
- Original Message - From: Steven Rostedt rost...@goodmis.org To: linux-kernel@vger.kernel.org Cc: Linus Torvalds torva...@linux-foundation.org, Ingo Molnar mi...@kernel.org, Andrew Morton a...@linux-foundation.org, Thomas Gleixner t...@linutronix.de, Mathieu Desnoyers

Re: [PATCH 0/3] tracing: Enable tracepoints early and allow printk to use them

2014-12-14 Thread Steven Rostedt
On Sun, 14 Dec 2014 11:41:04 -0500 Steven Rostedt rost...@goodmis.org wrote: As the merge window is still open, and this code was not as complex as I thought it might be. I'm thinking of pushing this in now. This will allow Thomas to debug his irq work for 3.20. Bah, my cover letters have

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Steven Rostedt
On Sun, 14 Dec 2014 17:05:49 + (UTC) Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: #ifdef CONFIG_MODULES /* * Tracepoint module list mutex protects the local module list. @@ -76,7 +85,16 @@ static inline void release_probes(struct tracepoint_func *old) if (old)

Re: [PATCH RFC] clk: mxs: Fix invalid 32-bit access to frac registers

2014-12-14 Thread Stefan Wahren
Hi Marek, Marek Vasut ma...@denx.de hat am 14. Dezember 2014 um 17:12 geschrieben: static void __iomem *digctrl; #define DIGCTRL digctrl @@ -118,11 +119,12 @@ static void __init clk_misc_init(void) /* * 480 MHz seems too high to be ssp clock source directly, * so set frac0 to get

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Steven Rostedt
On Sun, 14 Dec 2014 12:14:57 -0500 Steven Rostedt rost...@goodmis.org wrote: If IRQ setup, or other core pieces of code can use this, then I would agree that rcu should be changed. But until then, I rather not add another conditional to the core RCU code. Also, call_rcu*() is called from

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Mathieu Desnoyers
- Original Message - From: Steven Rostedt rost...@goodmis.org To: Mathieu Desnoyers mathieu.desnoy...@efficios.com Cc: linux-kernel@vger.kernel.org, Linus Torvalds torva...@linux-foundation.org, Ingo Molnar mi...@kernel.org, Andrew Morton a...@linux-foundation.org, Thomas Gleixner

Re: linux-next: question about the luto-misc tree

2014-12-14 Thread Paul E. McKenney
On Sun, Dec 14, 2014 at 08:29:33AM -0800, Andy Lutomirski wrote: On Sun, Dec 14, 2014 at 4:03 AM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Sat, Dec 13, 2014 at 11:26:36PM -0800, Andy Lutomirski wrote: On Dec 13, 2014 10:58 PM, Stephen Rothwell s...@canb.auug.org.au wrote:

Re: linux-next: question about the luto-misc tree

2014-12-14 Thread Andy Lutomirski
On Sun, Dec 14, 2014 at 9:37 AM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Sun, Dec 14, 2014 at 08:29:33AM -0800, Andy Lutomirski wrote: On Sun, Dec 14, 2014 at 4:03 AM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Sat, Dec 13, 2014 at 11:26:36PM -0800, Andy Lutomirski

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Steven Rostedt
On Sun, 14 Dec 2014 17:29:28 + (UTC) Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: Given that your reason for having this RCU-specific logic in tracepoint.c rather than within call_rcu*() is not slowing down a fast-path, how about creating a new call_rcu_early() and

Re: frequent lockups in 3.18rc4

2014-12-14 Thread Paul E. McKenney
On Sat, Dec 13, 2014 at 10:07:52AM -0800, Paul E. McKenney wrote: On Sat, Dec 13, 2014 at 10:53:35AM -0500, Sasha Levin wrote: On 12/13/2014 03:30 AM, Ingo Molnar wrote: This is my no_hz related config: $ grep NO_HZ .config CONFIG_NO_HZ_COMMON=y # CONFIG_NO_HZ_IDLE is not

Re: [PATCH] USB: serial: add nt124 usb to serial driver

2014-12-14 Thread George McCollister
Johan, While working on the tx_empty changes you suggested it occurred to me that it might not be obvious to others that the firmware doesn't send a packet with the NT124_CTRL_TXEMPTY flag cleared when it begins transmitting. The practical implication is that if the driver sets tx_empty = true

Re: [PATCH] sched: Fix lost reschedule in __cond_resched()

2014-12-14 Thread Frederic Weisbecker
On Sat, Dec 13, 2014 at 08:36:34AM +0100, Ingo Molnar wrote: * Linus Torvalds torva...@linux-foundation.org wrote: I'm also not sure if the bug ever happens with preemption disabled. Sasha, was that you who reported that you cannot reproduce it without preemption? It strikes me that

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Paul E. McKenney
On Sun, Dec 14, 2014 at 11:53:32AM -0500, Steven Rostedt wrote: On Sun, 14 Dec 2014 11:41:05 -0500 Steven Rostedt rost...@goodmis.org wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org In order to move enabling of trace events to just after mm_init(), the tracepoint enable code

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Paul E. McKenney
On Sun, Dec 14, 2014 at 12:44:31PM -0500, Steven Rostedt wrote: On Sun, 14 Dec 2014 17:29:28 + (UTC) Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: Given that your reason for having this RCU-specific logic in tracepoint.c rather than within call_rcu*() is not slowing down a

Re: [PATCH 2/3] tracing: Move enabling tracepoints to just after mm_init()

2014-12-14 Thread Paul E. McKenney
On Sun, Dec 14, 2014 at 11:41:06AM -0500, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Enabling tracepoints at boot up can be very useful. The tracepoint can be initialized right after memory has been. There's no need to wait for the early_initcall() to be called.

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Steven Rostedt
On Sun, 14 Dec 2014 10:08:54 -0800 Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Sun, Dec 14, 2014 at 11:53:32AM -0500, Steven Rostedt wrote: On Sun, 14 Dec 2014 11:41:05 -0500 Steven Rostedt rost...@goodmis.org wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org

Re: need help to clear kernel (2.6.16.17) cached memory

2014-12-14 Thread Bruno Prémont
Hi, On Sat, 13 December 2014 Manish Yadav kmanish@gmail.com wrote: on my system (based on 2.6.16.17), i am trying to clear the cached memory but it is not being cleared. mars# free -m total used free sharedbuffers cached Mem: 925

Re: linux-next: question about the luto-misc tree

2014-12-14 Thread Paul E. McKenney
On Sun, Dec 14, 2014 at 09:41:04AM -0800, Andy Lutomirski wrote: On Sun, Dec 14, 2014 at 9:37 AM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Sun, Dec 14, 2014 at 08:29:33AM -0800, Andy Lutomirski wrote: On Sun, Dec 14, 2014 at 4:03 AM, Paul E. McKenney paul...@linux.vnet.ibm.com

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Paul E. McKenney
On Sun, Dec 14, 2014 at 01:15:38PM -0500, Steven Rostedt wrote: On Sun, 14 Dec 2014 10:08:54 -0800 Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Sun, Dec 14, 2014 at 11:53:32AM -0500, Steven Rostedt wrote: On Sun, 14 Dec 2014 11:41:05 -0500 Steven Rostedt rost...@goodmis.org

Re: [PATCH 2/3] tracing: Move enabling tracepoints to just after mm_init()

2014-12-14 Thread Steven Rostedt
On Sun, 14 Dec 2014 10:14:44 -0800 Paul E. McKenney paul...@linux.vnet.ibm.com wrote: diff --git a/init/main.c b/init/main.c index 800a0daede7e..060e60b6aa59 100644 --- a/init/main.c +++ b/init/main.c @@ -561,6 +561,9 @@ asmlinkage __visible void __init start_kernel(void)

Re: Kernel boot panic 3.12-34 3.12.35

2014-12-14 Thread Borislav Petkov
On Sun, Dec 14, 2014 at 03:41:20PM +, Richard Farthing wrote: I patched 3.12.34 to 3.12.35 and the attached now happens at boot. Sorry I don't have better than a photo, cannot get past this. The root FS is EXT2. It's admittedly an old test machine that I'm using to build up a new

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Steven Rostedt
On Sun, 14 Dec 2014 10:18:35 -0800 Paul E. McKenney paul...@linux.vnet.ibm.com wrote: With your feed back, and because I would like this to go into 3.19, I would like to keep the current patch as is (with the read_mostly update, which I'm currently testing). We can always change it later

Re: [PATCH v4 2/3] PM / devfreq: tegra: add devfreq driver for Tegra Activity Monitor

2014-12-14 Thread Paul Walmsley
Hi I have not reviewed this code closely, but a few items just caught my eye at a brief glance. On Tue, 9 Dec 2014, Tomeu Vizoso wrote: The ACTMON block can monitor several counters, providing averaging and firing interrupts based on watermarking configuration. This implementation monitors

Re: [PATCH v10 8/8] tpm: TPM 2.0 FIFO Interface

2014-12-14 Thread Scot Doyle
On Sun, 14 Dec 2014, Stefan Berger wrote: On 12/14/2014 10:40 AM, Jarkko Sakkinen wrote: On Sun, Dec 14, 2014 at 09:48:26AM -0500, Stefan Berger wrote: On 12/12/2014 02:46 PM, Jarkko Sakkinen wrote: Detect TPM 2.0 by sending idempotent TPM 2.x command. Ordinals for TPM 2.0 are higher

RE: [PATCH 2/2] Drivers: hv: balloon: Fix the deadlock issue in the memory hot-add code

2014-12-14 Thread KY Srinivasan
-Original Message- From: Michal Hocko [mailto:mho...@suse.cz] Sent: Thursday, December 11, 2014 4:58 AM To: KY Srinivasan Cc: Yasuaki Ishimatsu; gre...@linuxfoundation.org; linux- ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com;

Re: bluetooth: Add hci_h4p driver

2014-12-14 Thread Pavel Machek
Hi! Hacks surrounding bluetooth address were removed; this results in working driver with address that is probably not unique. Just set HCI_QUIRK_INVALID_BDADDR and let someone deal with that in userspace. You can use the btmgmt public-addr command for testing. Ok, it took me a while

Re: [PATCH v4] CPU hotplug: active_writer not woken up in some cases - deadlock

2014-12-14 Thread Oleg Nesterov
On 12/12, David Hildenbrand wrote: This is subjective, but how about static bool xxx(void) { mutex_lock(cpu_hotplug.lock); if (atomic_read(cpu_hotplug.refcount) == 0) return true; mutex_unlock(cpu_hotplug.lock);

Re: [PATCH v5] CPU hotplug: active_writer not woken up in some cases - deadlock

2014-12-14 Thread Oleg Nesterov
On 12/12, David Hildenbrand wrote: void get_online_cpus(void) { @@ -103,8 +95,7 @@ void get_online_cpus(void) return; cpuhp_lock_acquire_read(); mutex_lock(cpu_hotplug.lock); - apply_puts_pending(65536); - cpu_hotplug.refcount++; +

Re: [PATCH] sched: Fix lost reschedule in __cond_resched()

2014-12-14 Thread Ingo Molnar
* Frederic Weisbecker fweis...@gmail.com wrote: On Sat, Dec 13, 2014 at 08:36:34AM +0100, Ingo Molnar wrote: * Linus Torvalds torva...@linux-foundation.org wrote: I'm also not sure if the bug ever happens with preemption disabled. Sasha, was that you who reported that you cannot

[GIT PULL] x86 fixes

2014-12-14 Thread Ingo Molnar
Linus, Please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus # HEAD: 0e58af4e1d2166e9e33375a0f121e4867010d4f8 x86/tls: Disallow unusual TLS segments Misc fixes (mainly Andy's TLS fixes), plus a cleanup.

Re: [PATCH] sched: Fix lost reschedule in __cond_resched()

2014-12-14 Thread Linus Torvalds
On Sun, Dec 14, 2014 at 10:04 AM, Frederic Weisbecker fweis...@gmail.com wrote: Such as: So I like your patch, but quite frankly, can we go one step further? Look at the callers of __schedule(). EVERY SINGLE ONE now has that loop around it that goes along the lines of do { ..

[PATCH 2/2 v2] tracing: Add tp_printk cmdline to have tracepoints go to printk()

2014-12-14 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Add the kernel command line tp_printk option that will have tracepoints that are active sent to printk() as well as to the trace buffer. Passing tp_printk will activate this. To turn it off, the sysctl /proc/sys/kernel/tracepoint_printk can have

[PATCH 0/2 v2] tracing: Enable tracepoints early and allow printk to use them

2014-12-14 Thread Steven Rostedt
Version 2: Removed the update to tracepoint.c code and just call trace_init() after rcu_init() where call_rcu_sched() can be used. Version 1 at: http://lkml.kernel.org/r/20141214164104.307127...@goodmis.org This adds two new features: 1) Allow traceopoints to be enabled right after

[PATCH 1/2 v2] tracing: Move enabling tracepoints to just after rcu_init()

2014-12-14 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Enabling tracepoints at boot up can be very useful. The tracepoint can be initialized right after RCU has been. There's no need to wait for the early_initcall() to be called. That's too late for some things that can use tracepoints for debugging.

[PATCH 3.10 01/24] mm: frontswap: invalidate expired data on a dup-store failure

2014-12-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Weijie Yang weijie.y...@samsung.com commit fb993fa1a2f669215fa03a09eed7848f2663e336 upstream. If a frontswap dup-store failed, it should invalidate the expired page in the backend, or it could

[PATCH 3.10 10/24] AHCI: Add DeviceIDs for Sunrise Point-LP SATA controller

2014-12-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Devin Ryles devin.ry...@intel.com commit 249cd0a187ed4ef1d0af7f74362cc2791ec5581b upstream. This patch adds DeviceIDs for Sunrise Point-LP. Signed-off-by: Devin Ryles devin.ry...@intel.com

[PATCH 3.10 13/24] ipv6: gre: fix wrong skb-protocol in WCCP

2014-12-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Yuri Chislov yuri.chis...@gmail.com [ Upstream commit be6572fdb1bfbe23b2624d477de50af50b02f5d6 ] When using GRE redirection in WCCP, it sets the wrong skb-protocol, that is, ETH_P_IP instead

[PATCH 3.10 11/24] ahci: disable MSI on SAMSUNG 0xa800 SSD

2014-12-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo t...@kernel.org commit 2b21ef0aae65f22f5ba86b13c4588f6f0c2dbefb upstream. Just like 0x1600 which got blacklisted by 66a7cbc303f4 (ahci: disable MSI instead of NCQ on Samsung pci-e

[PATCH 3.10 12/24] sata_fsl: fix error handling of irq_of_parse_and_map

2014-12-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov d...@chromium.org commit aad0b624129709c94c2e19e583b6053520353fa8 upstream. irq_of_parse_and_map() returns 0 on error (the result is unsigned int), so testing for negative

[PATCH 3.10 16/24] rtnetlink: release net refcnt on error in do_setlink()

2014-12-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel nicolas.dich...@6wind.com [ Upstream commit e0ebde0e131b529fd721b24f62872def5ec3718c ] rtnl_link_get_net() holds a reference on the 'struct net', we need to release it in case

[GIT PULL] aio: changes for 3.19

2014-12-14 Thread Benjamin LaHaise
Hello Linus everyone, The following changes since commit b2776bf7149bddd1f4161f14f79520f17fc1d71d: Linux 3.18 (2014-12-07 14:21:05 -0800) are available in the git repository at: git://git.kvack.org/~bcrl/aio-next.git master for you to fetch changes up to

[PATCH 3.10 17/24] net: mvneta: fix Tx interrupt delay

2014-12-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: willy tarreau w...@1wt.eu [ Upstream commit aebea2ba0f7495e1a1c9ea5e753d146cb2f6b845 ] The mvneta driver sets the amount of Tx coalesce packets to 16 by default. Normally that does not cause

[PATCH 3.10 14/24] tg3: fix ring init when there are more TX than RX channels

2014-12-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Thadeu Lima de Souza Cascardo casca...@linux.vnet.ibm.com [ Upstream commit a620a6bc1c94c22d6c312892be1e0ae171523125 ] If TX channels are set to 4 and RX channels are set to less than 4, using

[PATCH 3.10 15/24] net/mlx4_core: Limit count field to 24 bits in qp_alloc_res

2014-12-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jack Morgenstein ja...@dev.mellanox.co.il [ Upstream commit 2d5c57d7fbfaa642fb7f0673df24f32b83d9066c ] Some VF drivers use the upper byte of param1 (the qp count field) in

[PATCH 3.10 19/24] nEPT: Nested INVEPT

2014-12-14 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Nadav Har'El n...@il.ibm.com commit bfd0a56b90005f8c8a004baf407ad90045c2b11e upstream. If we let L1 use EPT, we should probably also support the INVEPT instruction. In our current nested EPT

Re: [PATCH 1/3] tracepoints: Do not use call_rcu_sched() before early_initcall()

2014-12-14 Thread Paul E. McKenney
On Sun, Dec 14, 2014 at 01:25:56PM -0500, Steven Rostedt wrote: On Sun, 14 Dec 2014 10:18:35 -0800 Paul E. McKenney paul...@linux.vnet.ibm.com wrote: With your feed back, and because I would like this to go into 3.19, I would like to keep the current patch as is (with the read_mostly

[PATCH 3.17 30/47] Fix race condition between vxlan_sock_add and vxlan_sock_release

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Leitner mleit...@redhat.com [ Upstream commit 00c83b01d58068dfeb2e1351cca6fccf2a83fa8f ] Currently, when trying to reuse a socket, vxlan_sock_add will grab vn-sock_lock, locate a

[PATCH 3.17 28/47] ipv6: gre: fix wrong skb-protocol in WCCP

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Yuri Chislov yuri.chis...@gmail.com [ Upstream commit be6572fdb1bfbe23b2624d477de50af50b02f5d6 ] When using GRE redirection in WCCP, it sets the wrong skb-protocol, that is, ETH_P_IP instead

[PATCH 3.17 24/47] AHCI: Add DeviceIDs for Sunrise Point-LP SATA controller

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Devin Ryles devin.ry...@intel.com commit 249cd0a187ed4ef1d0af7f74362cc2791ec5581b upstream. This patch adds DeviceIDs for Sunrise Point-LP. Signed-off-by: Devin Ryles devin.ry...@intel.com

[PATCH 3.17 27/47] ip_tunnel: the lack of vti_link_ops dellink() cause kernel panic

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: lucien lucien@gmail.com [ Upstream commit 20ea60ca9952bd19d4b0d74719daba305aef5178 ] Now the vti_link_ops do not point the .dellink, for fb tunnel device (ip_vti0), the net_device will be

[PATCH 3.17 23/47] media: smiapp: Only some selection targets are settable

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Sakari Ailus sakari.ai...@iki.fi commit b31eb901c4e5eeef4c83c43dfbc7fe0d4348cb21 upstream. Setting a non-settable selection target caused BUG() to be called. The check for valid selections

[PATCH 3.17 22/47] media: s2255drv: fix payload size for JPG, MJPEG

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: sensoray-dev linux-...@sensoray.com commit 1f391217ad8d7cd7b1e48e6e2abf49970cd91d18 upstream. length is the size of the buffer, not the payload. That's set using vb2_set_plane_payload().

[PATCH 3.17 26/47] sata_fsl: fix error handling of irq_of_parse_and_map

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov d...@chromium.org commit aad0b624129709c94c2e19e583b6053520353fa8 upstream. irq_of_parse_and_map() returns 0 on error (the result is unsigned int), so testing for negative

[PATCH 3.17 25/47] ahci: disable MSI on SAMSUNG 0xa800 SSD

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo t...@kernel.org commit 2b21ef0aae65f22f5ba86b13c4588f6f0c2dbefb upstream. Just like 0x1600 which got blacklisted by 66a7cbc303f4 (ahci: disable MSI instead of NCQ on Samsung pci-e

[PATCH 3.17 05/47] mm: fix swapoff hang after page migration and fork

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins hu...@google.com commit 2022b4d18a491a578218ce7a4eca8666db895a73 upstream. I've been seeing swapoff hangs in recent testing: it's cycling around trying unsuccessfully to find an

[PATCH 3.17 43/47] Revert: ACPI / EC: Add support to disallow QR_EC to be issued before completing previous QR_EC

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- This reverts commit 2dbfff81a40b5b2be553042ad5c767e34fdd214c, which really is commit 558e4736f2e1b0e6323adf7a5e4df77ed6cfc1a4 upstream. Sorry for the confusion, this got applied twice, and reverted

[PATCH 3.17 45/47] ALSA: hda - Add EAPD fixup for ASUS Z99He laptop

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai ti...@suse.de commit f62f5eff3d40a56ad1cf0d81a6cac8dd8743e8a1 upstream. The same fixup to enable EAPD is needed for ASUS Z99He with AD1986A codec like another ASUS machine.

[PATCH 3.17 07/47] slab: fix nodeid bounds check for non-contiguous node IDs

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras pau...@samba.org commit 7c3fbbdd04a681a1992ad6a3d7a36a63ff668753 upstream. The bounds check for nodeid in cache_alloc_node gives false positives on machines where the node

[PATCH 3.17 42/47] netlink: use jhash as hashfn for rhashtable

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann dbork...@redhat.com [ Upstream commit 7f19fc5e0b617593dcda0d9956adc78b559ef1f5 ] For netlink, we shouldn't be using arch_fast_hash() as a hashing discipline, but rather jhash()

[PATCH 3.17 41/47] xen-netfront: use correct linear area after linearizing an skb

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: David Vrabel david.vra...@citrix.com [ Upstream commit 11d3d2a16cc1f05c6ece69a4392e99efb85666a6 ] Commit 97a6d1bb2b658ac85ed88205ccd1ab809899884d (xen-netfront: Fix handling packets on

Re: [PATCH 2/3] tracing: Move enabling tracepoints to just after mm_init()

2014-12-14 Thread Paul E. McKenney
On Sun, Dec 14, 2014 at 01:20:20PM -0500, Steven Rostedt wrote: On Sun, 14 Dec 2014 10:14:44 -0800 Paul E. McKenney paul...@linux.vnet.ibm.com wrote: diff --git a/init/main.c b/init/main.c index 800a0daede7e..060e60b6aa59 100644 --- a/init/main.c +++ b/init/main.c @@ -561,6

Re: bluetooth: Add hci_h4p driver

2014-12-14 Thread Marcel Holtmann
Hi Pavel, Hacks surrounding bluetooth address were removed; this results in working driver with address that is probably not unique. Just set HCI_QUIRK_INVALID_BDADDR and let someone deal with that in userspace. You can use the btmgmt public-addr command for testing. Ok, it took me a

[PATCH 3.17 38/47] net: mvneta: fix Tx interrupt delay

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: willy tarreau w...@1wt.eu [ Upstream commit aebea2ba0f7495e1a1c9ea5e753d146cb2f6b845 ] The mvneta driver sets the amount of Tx coalesce packets to 16 by default. Normally that does not cause

[PATCH 3.17 36/47] gre: Set inner mac header in gro complete

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Tom Herbert therb...@google.com [ Upstream commit 6fb2a756739aa507c1fd5b8126f0bfc2f070dc46 ] Set the inner mac header to point to the GRE payload when doing GRO. This is needed if we proceed

[PATCH 3.17 39/47] net: mvneta: fix race condition in mvneta_tx()

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet eduma...@google.com [ Upstream commit 5f478b41033606d325e420df693162e2524c2b94 ] mvneta_tx() dereferences skb to get skb-len too late, as hardware might have completed the

[PATCH 3.17 37/47] mips: bpf: Fix broken BPF_MOD

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Denis Kirjanov k...@linux-powerpc.org [ Upstream commit 2e46477a12f6fd273e31a220b155d66e8352198c ] Remove optimize_div() from BPF_MOD | BPF_K case since we don't know the dividend and fix the

[PATCH 3.17 34/47] bond: Check length of IFLA_BOND_ARP_IP_TARGET attributes

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Graf tg...@suug.ch [ Upstream commit f6c6fda4c9e17940b0a2ba206b0408babfdc930c ] Fixes: 7f28fa10 (bonding: add arp_ip_target netlink support) Reported-by: John Fastabend

[PATCH 3.17 35/47] rtnetlink: release net refcnt on error in do_setlink()

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel nicolas.dich...@6wind.com [ Upstream commit e0ebde0e131b529fd721b24f62872def5ec3718c ] rtnl_link_get_net() holds a reference on the 'struct net', we need to release it in case

[PATCH 3.17 33/47] net-timestamp: make tcp_recvmsg call ipv6_recv_error for AF_INET6 socks

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn will...@google.com [ Upstream commit f4713a3dfad045d46afcb9c2a7d0bba288920ed4 ] TCP timestamping introduced MSG_ERRQUEUE handling for TCP sockets. If the socket is of family

[PATCH 3.17 08/47] xen-netfront: Remove BUGs on paged skb data which crosses a page boundary

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Seth Forshee seth.fors...@canonical.com commit 8d609725d4357f499e2103e46011308b32f53513 upstream. These BUGs can be erroneously triggered by frags which refer to tail pages within a compound

[PATCH 3.17 32/47] net/mlx4_core: Limit count field to 24 bits in qp_alloc_res

2014-12-14 Thread Greg Kroah-Hartman
3.17-stable review patch. If anyone has any objections, please let me know. -- From: Jack Morgenstein ja...@dev.mellanox.co.il [ Upstream commit 2d5c57d7fbfaa642fb7f0673df24f32b83d9066c ] Some VF drivers use the upper byte of param1 (the qp count field) in

<    1   2   3   4   5   6   7   8   9   10   >