Re: [PATCH 0/4] mm: cma: add some debug information for CMA

2015-02-16 Thread Stefan Strogin
Hello Joonsoo, Thank you for your answer. On 13/02/15 06:03, Joonsoo Kim wrote: On Fri, Feb 13, 2015 at 01:15:40AM +0300, Stefan Strogin wrote: Here is an example use case when we need it. We want a big (megabytes) CMA buffer to be allocated in runtime in default CMA region. If someone

[PATCH 0/3] prevent /proc/pid/stack garbage for running tasks

2015-02-16 Thread Josh Poimboeuf
Reading /proc/pid/stack for a running task (other than current) can print garbage because the saved stack pointer is no longer accurate and the stack itself can be inconsistent. Add new sched and stacktrace functions so that /proc/pid/stack only walks the stack for sleeping tasks and the current

RE: chelsio: Use a more common const struct pci_device_id foo[] style

2015-02-16 Thread Casey Leedom
I understand that OS-independence issues aren't something which are normally accommodated, but as long as definitions don't introduce unnecessary foreign intrusion I would hope that it would be okay. As I noted, our t4_regs.h file is also OS-independent and used by six other OS device

Re: [GIT PULL] please pull file-locking related changes for v3.20

2015-02-16 Thread Linus Torvalds
On Mon, Feb 16, 2015 at 10:46 AM, Linus Torvalds torva...@linux-foundation.org wrote: This code is so broken that my initial reaction is We need to just revert the crap. How the hell is flock_lock_file() supposed to work at all, btw? Say we have an existing flock, and now do a new one that

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

2015-02-16 Thread Robert Jarzmik
Maxime Ripard maxime.rip...@free-electrons.com writes: drivers/mtd/nand/pxa3xx_nand.c | 47 -- 1 file changed, 41 insertions(+), 6 deletions(-) diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c index

Re: [PATCH RFC 02/12] Documentation: thermal docbook: add glossary

2015-02-16 Thread Eduardo Valentin
Randy On Tue, Feb 10, 2015 at 02:50:47PM -0800, Randy Dunlap wrote: On 02/09/15 13:34, Eduardo Valentin wrote: This change introduces a section in the Introduction Chapter to list concepts used by the Thermal Framework. Signed-off-by: Eduardo Valentin edubez...@gmail.com ---

[PATCH 1/1] futex: don't spin waiting for PF_EXITING - PF_EXITPIDONE transition

2015-02-16 Thread Oleg Nesterov
It is absolutely not clear why attach_to_pi_owner() returns -EAGAIN which triggers retry if the lock owner is PF_EXITING but not PF_EXITPIDONE. This burns CPU for no reason and this can even livelock if the rt_task() caller preempts a PF_EXITING owner. Remove the PF_EXITING check altogether. We

Re: [PATCH RFC 01/12] Documentation: Introduce Linux Kernel Thermal Framework DocBook

2015-02-16 Thread Eduardo Valentin
On Tue, Feb 10, 2015 at 02:50:36PM -0800, Randy Dunlap wrote: On 02/09/15 13:34, Eduardo Valentin wrote: + chapter id=introduction + titleIntroduction/title + paraThermal management is any method or technique implied to + mitigate emergencies caused by

[PATCH 0/1] futex: don't spin waiting for PF_EXITING - PF_EXITPIDONE transition

2015-02-16 Thread Oleg Nesterov
On 02/02, Oleg Nesterov wrote: And another question. Lets forget about this -mm check. I simply can not understand this ret = (p-flags PF_EXITPIDONE) ? -ESRCH : -EAGAIN logic in attach_to_pi_owner(). First of all, why do we need to retry if PF_EXITING is set but PF_EXITPIDONE is

Re: [PATCH 2/8] x86, fpu: unlazy_fpu: don't do __thread_fpu_end() if use_eager_fpu()

2015-02-16 Thread Borislav Petkov
On Fri, Feb 06, 2015 at 03:01:59PM -0500, r...@redhat.com wrote: From: Oleg Nesterov o...@redhat.com unlazy_fpu()-__thread_fpu_end() doesn't look right if use_eager_fpu(). Unconditional __thread_fpu_end() is only correct if we know that this thread can't return to user-mode and use FPU.

[PATCH] sched: Fix preempt_schedule_common() triggering tracing recursion

2015-02-16 Thread Frederic Weisbecker
Since the function graph tracer needs to disable preemption, it might call preempt_schedule() after reenabling it if something triggered the need for rescheduling in between. Therefore we can't trace preempt_schedule() itself because we would face a function tracing recursion otherwise as the

[PATCH 0/2] bmc150-accel driver optimizations

2015-02-16 Thread Irina Tirdea
Adds optimization of i2c transactions in trigger handler and usage of available_scan_masks for bmc150-accel. Irina Tirdea (2): iio: accel: bmc150: use available_scan_masks iio: accel: bmc150: optimize i2c transfers in trigger handler drivers/iio/accel/bmc150-accel.c | 49

Re: [PATCH 1/1] pty: BREAK for pseudoterminals

2015-02-16 Thread Peter Hurley
On 02/16/2015 12:16 PM, Petr Tesarik wrote: On Mon, 16 Feb 2015 11:24:16 -0500 Peter Hurley pe...@hurleysoftware.com wrote: Hi Petr, On 02/16/2015 08:22 AM, Petr Tesarik wrote: On Mon, 16 Feb 2015 08:04:02 -0500 Peter Hurley pe...@hurleysoftware.com wrote: On 02/05/2015 02:11 PM, Nan Li

Re: [PATCH 1/4] mm: cma: add currently allocated CMA buffers list to debugfs

2015-02-16 Thread Stefan Strogin
Hello, On 13/02/15 06:10, Joonsoo Kim wrote: On Fri, Feb 13, 2015 at 01:15:41AM +0300, Stefan Strogin wrote: This linear searching make cma_release() slow if we have many allocated cma buffers. It wouldn't cause any problem? Thanks. On my board the usual number of CMA buffers is

Re: [PATCH] lib/vsprintf.c:Avoid extra operation in dentry_name

2015-02-16 Thread Richard Weinberger
On Mon, Feb 16, 2015 at 7:49 PM, Anshul Garg aksgarg1...@gmail.com wrote: From: Anshul Garg aksgarg1...@gmail.com Remove unnecessary increment and decrement operation in dentry_name function as after increment operation loop is breaked and then decrement operation is performed. So remove

Re: [PATCH 0/2] kxcjk-1013 driver optimizations

2015-02-16 Thread Peter Meerwald
Adds optimization of i2c transactions in trigger handler and usage of available_scan_masks for kxcjk-1013. the 'optimization' changes the capabilities of the driver, reading individual channel is not possible anymore Adriana Reus (2): iio: accel: kxcjk-1013: use available_scan_masks

[PATCH 0/3] staging: lustre: Remove use of return val of seq_printf

2015-02-16 Thread Joe Perches
seq_printf should eventually be converted to a void function. Remove the uses of seq_printf return values and use seq_has_overflowed() instead. Joe Perches (3): staging: lustre: Convert return seq_printf(...) uses to seq_has_overflowed staging: lustre: Convert uses of int rc =

Re: make mandocs build failure with next-20150210

2015-02-16 Thread Jonathan Corbet
On Mon, 16 Feb 2015 16:21:30 + Alan Cox a...@linux.intel.com wrote: This warning started to appear on Linus's tree, after staging pull request was merged. I sent GregKH a fix for it a while ago He seemed to indicate that he doesn't have it. The following would seem to fit the bill;

Re: [PATCH 0/4] mm: cma: add some debug information for CMA

2015-02-16 Thread Stefan Strogin
Hello Gioh, Thank you for your answer. On 14/02/15 10:40, Gioh Kim wrote: If this tracer is justifiable, I think that making it conditional is better than just enabling always on CONFIG_CMA_DEBUGFS. Some users don't want to this feature although they enable CONFIG_CMA_DEBUGFS. Thanks.

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

2015-02-16 Thread Kees Cook
On Mon, Feb 16, 2015 at 3:55 AM, Borislav Petkov b...@alien8.de wrote: On Fri, Feb 13, 2015 at 03:25:26PM -0800, Kees Cook wrote: No, no; I agree: a malicious boot loader is a lost cause. I mean mostly from a misbehavior perspective. Like, someone sees kaslr in the setup args and thinks they

Re: [PATCH] x86, irq: Fix regression caused by commit b568b8601f05

2015-02-16 Thread Pavel Machek
On Mon 2015-02-16 10:11:13, Jiang Liu wrote: Commit b568b8601f05 (Treat SCI interrupt as normal GSI interrupt) accidently removes support of legacy PIC interrupt when fixing a accidentaly? regression for Xen, which causes a nasty regression on HP/Compaq nc6000 where we fail to register the

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

2015-02-16 Thread Borislav Petkov
On Mon, Feb 16, 2015 at 11:27:42AM -0800, Kees Cook wrote: Well, we can apply the rule of the last setting sticks and since the kernel is always going to be adding the last setup_data element of type SETUP_KASLR (the boot loader ones will be somewhere on the list in-between and we add to

Re: [PATCH 2/4] ARM OMAP2+ GPMC: always program GPMCFCLKDIVIDER

2015-02-16 Thread Robert Abel
Hi Tony, On 16 Feb 2015 18:10, Tony Lindgren wrote: * Robert ABEL ra...@cit-ec.uni-bielefeld.de [150216 07:52]: GPMC uses GPMCFCLKDIVIDER during synchronous as well as asynchronous accesses in conjunction with WAITMONITORINGTIME. Thus, it's wrong to only program it for synchronous accesses.

Re: [PATCH 4/4] perf tools: add JVMTI agent library

2015-02-16 Thread Stephane Eranian
On Mon, Feb 16, 2015 at 2:01 AM, Adrian Hunter adrian.hun...@intel.com wrote: On 11/02/15 01:42, Stephane Eranian wrote: This is a standalone JVMTI library to help profile Java jitted code with perf record/perf report. The library is not installed or compiled automatically by perf Makefile.

RE: chelsio: Use a more common const struct pci_device_id foo[] style

2015-02-16 Thread Casey Leedom
I can't quite tell if this is a patch request being sent to netdev/David Miller or if it's a suggestion sent to Chelsio that you'd like Chelsio to adopt. I ~think~ it's the latter because the subject doesn't include the standard formatting for a patch request but I'm not 100% familiar with

[PATCH 1/2] iio: accel: kxcjk-1013: use available_scan_masks

2015-02-16 Thread Irina Tirdea
From: Adriana Reus adriana.r...@intel.com Use available_scan_masks to allow the iio core to select the data to send to userspace depending on which axes are enabled, instead of doing this in the driver's interrupt handler. This also fixes the issue of accessing the buffer scan_mask instead of

Re: chelsio: Use a more common const struct pci_device_id foo[] style

2015-02-16 Thread Joe Perches
On Mon, 2015-02-16 at 18:05 +, Casey Leedom wrote: I can't quite tell if this is a patch request being sent to netdev/David Miller or if it's a suggestion sent to Chelsio that you'd like Chelsio to adopt. I ~think~ it's the latter because the subject doesn't include the standard

[PATCH 0/2] kxcjk-1013 driver optimizations

2015-02-16 Thread Irina Tirdea
Adds optimization of i2c transactions in trigger handler and usage of available_scan_masks for kxcjk-1013. Adriana Reus (2): iio: accel: kxcjk-1013: use available_scan_masks iio: accel: kxcjk-1013: optimize i2c transfers in trigger handler drivers/iio/accel/kxcjk-1013.c | 50

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

2015-02-16 Thread Oleg Nesterov
On 02/16, Oleg Nesterov wrote: On 02/16, Ian Kent wrote: On Tue, 2015-02-10 at 17:55 +0100, Oleg Nesterov wrote: 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

Re: [LKP] [sched] BUG: kernel boot hang

2015-02-16 Thread Steven Rostedt
On Mon, 16 Feb 2015 19:22:38 +0100 Frederic Weisbecker fweis...@gmail.com wrote: Huang Ying hasn't yet reported a Tested-by but I could reproduce (with both function and function_graph tracers btw) and the patch fixed it. Ah right, it's not the recursion from the function tracer that kills

Re: [GIT PULL] please pull file-locking related changes for v3.20

2015-02-16 Thread Linus Torvalds
On Mon, Feb 16, 2015 at 6:00 AM, Jeff Layton jlay...@poochiereds.net wrote: I'll look at it again and also see if I can reproduce it with trinity. So far, I haven't been able to, but maybe I'll get lucky this time. Can you please also remove the completely broken counters? The f*ckers aren't

Re: brcmsmac: TX power blocked in BCM4313

2015-02-16 Thread Nikita N.
Hi Arend, first of all, thank you for your answer. I'm very sorry to hear that negative feedback. So, AFAIU, there is no support in brcmsmac for regdom and power settings. I don't know how much Broadcom Corp. is complaint with IEEE Standard 802.11-2007 (page 531), along that decision. Missing

Re: [PATCH 1/3] Documentation: minor spelling and grammar fixes

2015-02-16 Thread Jonathan Corbet
On Fri, 13 Feb 2015 16:19:35 -0600 Chris J Arges chris.j.ar...@canonical.com wrote: Documentation/vm/slub.txt | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) This one has been applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line unsubscribe

[PATCH] usb: plusb: Add support for National Instruments host-to-host cable

2015-02-16 Thread Ben Shelton
The National Instruments USB Host-to-Host Cable is based on the Prolific PL-25A1 chipset. Add its VID/PID so the plusb driver will recognize it. Signed-off-by: Ben Shelton ben.shel...@ni.com --- drivers/net/usb/plusb.c | 5 + 1 file changed, 5 insertions(+) diff --git

Re: [GIT PULL] please pull file-locking related changes for v3.20

2015-02-16 Thread Jeff Layton
On Mon, 16 Feb 2015 11:24:03 -0800 Linus Torvalds torva...@linux-foundation.org wrote: On Mon, Feb 16, 2015 at 10:46 AM, Linus Torvalds torva...@linux-foundation.org wrote: This code is so broken that my initial reaction is We need to just revert the crap. Sure, no problem reverting the

Re: [ANNOUNCE] 3.18.7-rt1

2015-02-16 Thread Richard Cochran
On Mon, Feb 16, 2015 at 12:18:22PM +0100, Sebastian Andrzej Siewior wrote: - CPU hotplug works in general. Steven's test script however deadlocks usually on the second invocation. Where can I find Steve's hotplug test script? Thanks, Richard -- To unsubscribe from this list: send

Re: [patchlet] rt,locking: fix __ww_mutex_lock_interruptible() lockdep annotation

2015-02-16 Thread Mike Galbraith
On Mon, 2015-02-16 at 18:24 +0100, Sebastian Andrzej Siewior wrote: umgwanakikbuti? The good ones were taken, right? Yup, I have a low tolerance for Taken, try again. My next may well be gimmeafuckingaccountdamnit :) -Mike -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 1/8] x86, fpu: unlazy_fpu: don't reset thread.fpu_counter

2015-02-16 Thread Oleg Nesterov
On 02/16, Rik van Riel wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/16/2015 12:04 PM, Borislav Petkov wrote: ... and so by looking at the unlazy_fpu() call sites, I think this makes sense. So how's that for a commit message instead: --- x86, fpu, unlazy_fpu: Don't

Re: [patchlet] rt,locking: fix __ww_mutex_lock_interruptible() lockdep annotation

2015-02-16 Thread Steven Rostedt
On Mon, 16 Feb 2015 18:24:32 +0100 Sebastian Andrzej Siewior bige...@linutronix.de wrote: \ Signed-off-by: Mike Galbraith umgwanakikb...@gmail.com umgwanakikbuti? The good ones were taken, right? I think Mike threw up on the keyboard while creating his user name. -- Steve -- To unsubscribe

[PATCH 2/2] iio: accel: kxcjk-1013: optimize i2c transfers in trigger handler

2015-02-16 Thread Irina Tirdea
From: Adriana Reus adriana.r...@intel.com Some i2c busses (e.g.: Synopsys DesignWare I2C adapter) need to enable/disable the bus at each i2c transfer and must wait for the enable/disable to happen before sending the data. When reading data in the trigger handler, the kxcjk-1013 accel driver does

Re: [LKP] [sched] BUG: kernel boot hang

2015-02-16 Thread Frederic Weisbecker
On Mon, Feb 16, 2015 at 04:07:33PM +0100, Peter Zijlstra wrote: On Sun, Feb 15, 2015 at 01:18:07PM -0500, Steven Rostedt wrote: On Sun, 15 Feb 2015 16:46:22 +0100 Frederic Weisbecker fweis...@gmail.com wrote: diff --git a/kernel/sched/core.c b/kernel/sched/core.c index c017a5f..a6d4d6c

Re: [patchlet] rt,locking: fix __ww_mutex_lock_interruptible() lockdep annotation

2015-02-16 Thread Mike Galbraith
On Mon, 2015-02-16 at 13:16 -0500, Steven Rostedt wrote: On Mon, 16 Feb 2015 18:24:32 +0100 Sebastian Andrzej Siewior bige...@linutronix.de wrote: \ Signed-off-by: Mike Galbraith umgwanakikb...@gmail.com umgwanakikbuti? The good ones were taken, right? I think Mike threw up on the

Re: [PATCH 1/1] kernel/fork.c: avoid division by zero

2015-02-16 Thread Guenter Roeck
On 02/16/2015 10:45 AM, Heinrich Schuchardt wrote: I am resending this mail because the linux-kernel list was not CCed. Yes, sorry, that got lost. The forward feature on lkml.org doesn't work as well as it used to, unfortunately, and I keep forgetting. On 16.02.2015 19:23, Guenter Roeck

Re: [PATCH 1/1] pty: BREAK for pseudoterminals

2015-02-16 Thread Peter Hurley
On 02/16/2015 01:30 PM, Peter Hurley wrote: On 02/16/2015 12:16 PM, Petr Tesarik wrote: On Mon, 16 Feb 2015 11:24:16 -0500 Peter Hurley pe...@hurleysoftware.com wrote: On 02/16/2015 08:22 AM, Petr Tesarik wrote: On Mon, 16 Feb 2015 08:04:02 -0500 Peter Hurley pe...@hurleysoftware.com wrote:

Re: [PATCH 0/2] bmc150-accel driver optimizations

2015-02-16 Thread Peter Meerwald
Adds optimization of i2c transactions in trigger handler and usage of available_scan_masks for bmc150-accel. same comments as for kxcjk-1013, this changes the capabilities of the driver Irina Tirdea (2): iio: accel: bmc150: use available_scan_masks iio: accel: bmc150: optimize i2c

Re: [PATCH v2 0/2] bmg160 driver optimizations

2015-02-16 Thread Peter Meerwald
Adds optimization of i2c transactions in trigger handler and usage of available_scan_masks for bmg160. same concerns as with bmc150 and kxcjk-1013 Changes in v2: - fallback to i2c word transactions if i2c block transactions are not supported - use available_scan_masks to let the iio

Re: [torture] INFO: task killall5:262 blocked for more than 120 seconds.

2015-02-16 Thread Paul E. McKenney
On Mon, Feb 16, 2015 at 03:25:28PM +0800, Fengguang Wu wrote: Hi Paul, FYI, this may be very hard to reproduce. Indeed, I have not seen it. But was this on a CONFIG_PREEMPT=n kernel? Thanx, Paul

RE: chelsio: Use a more common const struct pci_device_id foo[] style

2015-02-16 Thread Casey Leedom
Okay, thanks for your patience with my lack of understanding. I'll work with Hariprasad tomorrow to get a revised patch out with the const change and eliminate the redundant check of CH_PCI_DEVICE_ID_TABLE_DEFINE_BEGIN to guard the file contents. Thanks for caching these improvements!

Re: make mandocs build failure with next-20150210

2015-02-16 Thread Greg Kroah-Hartman
On Mon, Feb 16, 2015 at 12:25:04PM -0700, Jonathan Corbet wrote: On Mon, 16 Feb 2015 16:21:30 + Alan Cox a...@linux.intel.com wrote: This warning started to appear on Linus's tree, after staging pull request was merged. I sent GregKH a fix for it a while ago He seemed to

Re: make mandocs build failure with next-20150210

2015-02-16 Thread Greg Kroah-Hartman
On Mon, Feb 16, 2015 at 12:25:04PM -0700, Jonathan Corbet wrote: On Mon, 16 Feb 2015 16:21:30 + Alan Cox a...@linux.intel.com wrote: This warning started to appear on Linus's tree, after staging pull request was merged. I sent GregKH a fix for it a while ago He seemed to

[PULL] DocBook build failure fix

2015-02-16 Thread Jonathan Corbet
One quick patch so that building the DocBook documentation works again... Thanks, jon The following changes since commit 1fa185ebcbcefdc5229c783450c9f0439a69f0c1: Merge tag 'cris-for-3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/jesper/cris (2015-02-15 18:02:02 -0800) are

[PATCH 1/1] kernel/fork.c: avoid division by zero

2015-02-16 Thread Heinrich Schuchardt
PAGE_SIZE is not guaranteed to be equal to or less than 8 times the THREAD_SIZE. E.g. architecture hexagon may have page size 1M and thread size 4096. This would lead to a division by zero. Signed-off-by: Heinrich Schuchardt xypron.g...@gmx.de --- kernel/fork.c | 3 ++- 1 file changed, 2

Re: [PATCH 01/35] ACPI/acpi_pad: Remove the local apic nonsense

2015-02-16 Thread Rafael J. Wysocki
On Monday, February 16, 2015 01:14:36 PM Peter Zijlstra wrote: From: Thomas Gleixner t...@linutronix.de While looking through the (ab)use of the clockevents_notify() function I stumbled over the following gem in the acpi_pad code: if (lapic_detected_unstable !lapic_marked_unstable) {

Re: [PATCH] x86, irq: Fix regression caused by commit b568b8601f05

2015-02-16 Thread Ville Syrjälä
On Mon, Feb 16, 2015 at 10:11:13AM +0800, Jiang Liu wrote: Commit b568b8601f05 (Treat SCI interrupt as normal GSI interrupt) accidently removes support of legacy PIC interrupt when fixing a regression for Xen, which causes a nasty regression on HP/Compaq nc6000 where we fail to register the

ppp0: hw csum failure since 3fcb95a84

2015-02-16 Thread Thomas D.
Hi, on my VPN server (strongswan-5.2.2 + ppp-2.4.7 + xl2tpd-1.3.6) I am seeing the following errors since linux-3.18 when a client (roadwarrior) connects (this is not fixed in linux-3.19.0): Feb 16 20:36:08 vpn1 kernel: [ 90.265403] ppp0: hw csum failure Feb 16 20:36:08 vpn1 kernel: [

[PATCH] sched,rt,nohz: stop scheduler tick if running realtime task

2015-02-16 Thread Rik van Riel
If the CPU is running a realtime task that does not round-robin with another realtime task of equal priority, there is no point in keeping the scheduler tick going. After all, whenever the scheduler tick runs, the kernel will just decide not to reschedule. Extend sched_can_stop_tick to recognize

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

2015-02-16 Thread Stefan Wahren
Hi Fabio, Fabio Estevam feste...@gmail.com hat am 12. Februar 2015 um 20:08 geschrieben: Hi Stefan, On Thu, Feb 12, 2015 at 4:59 PM, Stefan Wahren stefan.wah...@i2se.com wrote: Hi Fabio, Fabio Estevam feste...@gmail.com hat am 11. Februar 2015 um 22:10 geschrieben: On Wed,

Re: linux-next: Tree for Feb 16

2015-02-16 Thread Stephen Rothwell
Hi Guenter, On Mon, 16 Feb 2015 09:12:13 -0800 Guenter Roeck li...@roeck-us.net wrote: On Thu, Feb 16, 2012 at 04:41:44PM +1100, Stephen Rothwell wrote: Changes since 20120215: --- [ Trying again, this time hopefully replying to the correct e-mail. Sorry for the earlier noise. ] Did

Re: [PATCH] ASLR: fix stack randomization on 64-bit systems

2015-02-16 Thread Andy Lutomirski
On 02/14/2015 09:33 AM, Kees Cook wrote: From: Hector Marco-Gisbert hecma...@upv.es The issue is that the stack for processes is not properly randomized on 64 bit architectures due to an integer overflow. The affected function is randomize_stack_top() in file fs/binfmt_elf.c: static unsigned

Re: [PATCH 02/11] ARM: sunxi: always select RESET_CONTROLLER

2015-02-16 Thread Arnd Bergmann
On Friday 13 February 2015 10:09:19 Maxime Ripard wrote: Hi Arnd, On Thu, Feb 12, 2015 at 08:42:34PM +0100, Arnd Bergmann wrote: A lot of drivers for mach-sunxi depend on RESET_CONTROLLER. While this is selected for the drivers that have it, we keep running into build errors in drivers

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

2015-02-16 Thread Maxime Ripard
Hi Robert, On Mon, Feb 16, 2015 at 09:11:24PM +0100, Robert Jarzmik wrote: Maxime Ripard maxime.rip...@free-electrons.com writes: drivers/mtd/nand/pxa3xx_nand.c | 47 -- 1 file changed, 41 insertions(+), 6 deletions(-) diff --git

Re: [PATCH] Clear timestamp kfifo on trigger enabling

2015-02-16 Thread Peter Meerwald
The timestamp kfifo must be cleared once the hardware fifo is reset, thus are removed timestamps related to unprocessed events from hardware fifo - see inv_mpu6050_read_fifo method implementation. comments below a prefix iio: in the subject would be nice Signed-off-by: Viorel Suman

[PATCH] audit.c : Code clean up

2015-02-16 Thread Ameen Ali
Fixed a coding style issue (unnecessary parentheses , unnecessary braces) Signed-off-by: Ameen-Ali ameenali...@gmail.com --- kernel/audit.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kernel/audit.c b/kernel/audit.c index 72ab759..0607e12 100644 --- a/kernel/audit.c

Re: mmc: Driver Strength Device Property

2015-02-16 Thread Adrian Hunter
On 16/02/2015 7:47 p.m., Philip Rakity wrote: On Feb 16, 2015, at 5:39 PM, Arend van Spriel ar...@broadcom.com wrote: On 02/16/15 15:25, Adrian Hunter wrote: I am in the process of adding an ACPI Device Property to specify the driver strength (aka drive strength, driver type) for use with

Re: [PATCH 1/3] sched: add sched_task_call()

2015-02-16 Thread Josh Poimboeuf
On Mon, Feb 16, 2015 at 09:44:36PM +0100, Peter Zijlstra wrote: On Mon, Feb 16, 2015 at 12:52:34PM -0600, Josh Poimboeuf wrote: +++ b/kernel/sched/core.c @@ -1338,6 +1338,23 @@ void kick_process(struct task_struct *p) EXPORT_SYMBOL_GPL(kick_process); #endif /* CONFIG_SMP */ +/***

Re: [PATCH 1/3] sched: add sched_task_call()

2015-02-16 Thread Peter Zijlstra
On Mon, Feb 16, 2015 at 12:52:34PM -0600, Josh Poimboeuf wrote: +++ b/kernel/sched/core.c @@ -1338,6 +1338,23 @@ void kick_process(struct task_struct *p) EXPORT_SYMBOL_GPL(kick_process); #endif /* CONFIG_SMP */ +/*** + * sched_task_call - call a function with a task's state locked + *

[PATCH 05/45] drm.h: include stdlib.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes drm/drm.h compilation error: drm/drm.h:132:2: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/drm.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index b0b8556..8f4488f 100644

[PATCH 01/45] Makefile: propagate verbose options

2015-02-16 Thread Mikko Rapeli
Usefull when debugging the make scripts. Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4e93284..c1b515d 100644 --- a/Makefile +++ b/Makefile @@ -912,13 +912,13 @@

Re: linux-next: Tree for Feb 16

2015-02-16 Thread Guenter Roeck
On 02/16/2015 12:36 PM, Stephen Rothwell wrote: Hi Guenter, On Mon, 16 Feb 2015 09:12:13 -0800 Guenter Roeck li...@roeck-us.net wrote: On Thu, Feb 16, 2012 at 04:41:44PM +1100, Stephen Rothwell wrote: Changes since 20120215: --- [ Trying again, this time hopefully replying to the correct

Re: audit.c patch

2015-02-16 Thread Paul Moore
On Mon, Feb 16, 2015 at 4:07 PM, Ameen Ali ameenali...@gmail.com wrote: the following attachment which fix kernel code style issues Please read Documentation/SubmittingPatches in the kernel sources for information on how to properly format and submit patches for consideration. Posting patches

Re: [PATCH 3/8] x86, fpu: kill save_init_fpu(), change math_error() to use unlazy_fpu()

2015-02-16 Thread Borislav Petkov
On Fri, Feb 06, 2015 at 03:02:00PM -0500, r...@redhat.com wrote: From: Oleg Nesterov o...@redhat.com math_error() calls save_init_fpu() after conditional_sti(), this means that the caller can be preempted. If !use_eager_fpu() we can hit the WARN_ON_ONCE(!__thread_has_fpu(tsk)) and/or save

Re: Regression bug in drm/i915, Wrong assumption in commit e11aa36 breaks suspend on at least lenovo x61

2015-02-16 Thread Dave Airlie
ccing some ppl. On 17 February 2015 at 08:11, Klaus Ethgen klaus+l...@ethgen.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 After three days of bisect I found the bug for my problem with a broken suspend on x61p of lenovo. The problem is commit e11aa36. It seems to be a wrong

Re: mmc: Driver Strength Device Property

2015-02-16 Thread Arend van Spriel
On 02/16/15 22:47, Adrian Hunter wrote: On 16/02/2015 7:47 p.m., Philip Rakity wrote: On Feb 16, 2015, at 5:39 PM, Arend van Spriel ar...@broadcom.com wrote: On 02/16/15 15:25, Adrian Hunter wrote: I am in the process of adding an ACPI Device Property to specify the driver strength (aka

Re: [GIT PULL] perf x86 updates for v3.20

2015-02-16 Thread Andy Lutomirski
On 02/15/2015 11:48 PM, Ingo Molnar wrote: Linus, Please pull the latest perf-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-core-for-linus # HEAD: a66734297f78707ce39d756b656bfae861d53f62 perf/x86: Add /sys/devices/cpu/rdpmc=2 to allow

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

2015-02-16 Thread Robert Jarzmik
Maxime Ripard maxime.rip...@free-electrons.com writes: I don't think an mdelay(256) is acceptable. That's very true that this driver would need some love, but valentine's day was last week. That doesn't cope with the 256ms mdelay. And a potential big mdelay is not what I'd call a bug fix, see

[PATCH RFC v02 00/45] Compile test and fixes for exported header files

2015-02-16 Thread Mikko Rapeli
v2: added cross compiler support with CROSS_COMPILE, detecting libc and GCC headers from compiler, more header file fixes v1: https://lkml.org/lkml/2014/8/21/665 Users of kernel header files would be happier if they did not contain kernel specific parts and would contain #include statements for

[PATCH 07/45] exynos_drm.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation errors like: drm/exynos_drm.h:30:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/exynos_drm.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/exynos_drm.h b/include/uapi/drm/exynos_drm.h

[PATCH 04/45] scripts/headers_compile_test.sh: compile test script for exported headers

2015-02-16 Thread Mikko Rapeli
Users of kernel header files would be happier if they did not contain kernel specific parts and would contain #include statements for all other header files that they depend on, and in general would compile. For each header file exported to userspace, this script creates a simple .c file which

[PATCH 03/45] headers_install.sh: enhance error handling

2015-02-16 Thread Mikko Rapeli
Exit with error if using undefined variables or if any sub command fails with error return value. unidef needs special handling since but this can be done without the trap. Enables exaniming intermediate files if some commands failed. Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi ---

[PATCH 13/45] savage_drm.h: include drm/drm.h

2015-02-16 Thread Mikko Rapeli
Fixes compiler error: drm/savage_drm.h:50:24: error: array type has incomplete element type struct drm_tex_region texList[SAVAGE_NR_TEX_HEAPS][SAVAGE_NR_TEX_REGIONS + Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/savage_drm.h | 2 ++ 1 file changed, 2 insertions(+)

[PATCH 17/45] ebtables.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: linux/netfilter_bridge/ebtables.h:38:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/netfilter_bridge/ebtables.h | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH 27/45] include/uapi/linux/sysctl.h: include stdlib.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation error: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/sysctl.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/sysctl.h b/include/uapi/linux/sysctl.h index 43aaba1..b7b344f 100644

[PATCH 14/45] sis_drm.h: hide sis_file_private in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compiler error: drm/sis_drm.h:68:19: error: field ‘obj_list’ has incomplete type struct list_head obj_list; Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/sis_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/sis_drm.h

[PATCH 09/45] radeon_drm.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compiler error: drm/radeon_drm.h:794:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/radeon_drm.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h index

[PATCH 12/45] via_drm.h: hide struct via_file_private in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compiler error since list_head is not exported to userspace headers. Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/drm/via_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h index 791531e..34ce658 100644

Re: [PATCH] perf tools: Work around lack of sched_getcpu in glibc 2.6.

2015-02-16 Thread Yann Droneaud
Hi, Le vendredi 13 février 2015 à 18:06 -0800, Vinson Lee a écrit : From: Vinson Lee v...@twitter.com This patch fixes this build error with glibc 2.6. CC util/cloexec.o cc1: warnings being treated as errors util/cloexec.c: In function ‘perf_flag_probe’: util/cloexec.c:24:

[PATCH 0/2] ASoC: pcm512x: Add knobs to allow and control overclocking

2015-02-16 Thread Peter Rosin
From: Peter Rosin p...@axentia.se Hi! I wasn't sure if I should add Documentation/* for these sysfs knobs or not? A lot of knobs do not seem to have docs (no specific example, just a gut feeling). And I'm not sure how I should name the doc-file since the pcm512x driver handles devices connected

Re: RFC arch/sh/kernel/traps_64.c - unclear if/else construct (hpux compat layer)

2015-02-16 Thread Helge Deller
Hello Nicholas, On 03.02.2015 10:37, Nicholas Mc Guire wrote: scanning for if STATEMENT else STATEMENT triggered here - and it does look like it needs a fix-up or at least some comments. snip? int hpux_sysfs(int opcode, unsigned long arg1, unsigned long arg2) { int fstype;

Re: [PATCH v2 0/4] HID: hid-lg4ff: Improve handling of Logitech multimode gaming wheels

2015-02-16 Thread Elias Vanderstuyft
On Sun, Feb 15, 2015 at 3:03 AM, Michal Malý madcatxs...@devoid-pointer.net wrote: This patch series improves handling of various Logitech gaming wheels and allows switching between various compatibility modes which might be useful to improve compatibility with very old games and testing

Re: [Linux-nvdimm] [PATCH 0/2] e820: Fix handling of NvDIMM chips

2015-02-16 Thread Matthew Wilcox
On Mon, Feb 16, 2015 at 01:07:07PM +0200, Boaz Harrosh wrote: In any way this is a problem for the new type-12 NvDIMM memory chips that are circulating around. (It is estimated that there are already 100ds of thousands NvDIMM chips in active use) Hang on. NV-DIMM chips don't know anyhing

Regression bug in drm/i915, Wrong assumption in commit e11aa36 breaks suspend on at least lenovo x61

2015-02-16 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 After three days of bisect I found the bug for my problem with a broken suspend on x61p of lenovo. The problem is commit e11aa36. It seems to be a wrong assumption that disabling the interrupts is enough. I'll try to revert the commit on top of

[PATCH 29/45] include/uapi/asm-generic/msgbuf.h: include asm/ipcbuf.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘msg_perm’ has incomplete type struct ipc64_perm msg_perm Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/asm-generic/msgbuf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/asm-generic/msgbuf.h

[PATCH 43/45] include/uapi/linux/netfilter_bridge.h: include if.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘in’ has incomplete type struct in_addr in; Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/netfilter_bridge.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/netfilter_bridge.h

[PATCH 45/45] include/uapi/asm-generic/ucontext.h: include signal.h and sigcontext.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compiler errors: error: unknown type name ‘stack_t’ error: field ‘uc_mcontext’ has incomplete type struct sigcontext uc_mcontext; error: unknown type name ‘sigset_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/asm-generic/ucontext.h | 3 +++ 1 file changed,

Re: [PATCH 1/3] Slab infrastructure for array operations

2015-02-16 Thread Joonsoo Kim
On Fri, Feb 13, 2015 at 09:47:59AM -0600, Christoph Lameter wrote: On Fri, 13 Feb 2015, Joonsoo Kim wrote: I also think that this implementation is slub-specific. For example, in slab case, it is always better to access local cpu cache first than page allocator since slab doesn't use list

[PATCH] mm/memcontrol: fix NULL pointer dereference when use_hierarchy is 0

2015-02-16 Thread Joonsoo Kim
[ 33.608008] IP: [811dcf60] mem_cgroup_low+0x40/0x90 [ 33.608008] PGD 1d893067 PUD 1cf41067 PMD 0 [ 33.608008] Oops: [#12] SMP [ 33.608008] Modules linked in: [ 33.608008] CPU: 1 PID: 3936 Comm: as Tainted: G D 3.19.0-next-20150216 #156 [ 33.608008] Hardware name: QEMU

[PATCH v4 5/5] usb: dwc3: add Fujitsu Specific Glue layer

2015-02-16 Thread Sneeker Yeh
This patch adds support for Synopsis DesignWare USB3 IP Core found on Fujitsu Socs. Signed-off-by: Sneeker Yeh sneeker@tw.fujitsu.com --- .../devicetree/bindings/usb/fujitsu-dwc3.txt | 33 drivers/usb/dwc3/Kconfig | 11 ++ drivers/usb/dwc3/Makefile

[PATCH v4 2/5] xhci: Platform: Set Synopsis device disconnection quirk based on platform data

2015-02-16 Thread Sneeker Yeh
If an xhci platform has Synopsis device disconnection errata then enable XHCI_DISCONNECT_QUIRK quirk flag. Signed-off-by: Sneeker Yeh sneeker@tw.fujitsu.com --- drivers/usb/host/xhci-plat.c |3 +++ include/linux/usb/xhci_pdriver.h |4 2 files changed, 7 insertions(+) diff

[PATCH v4 0/5] Add support for Fujitsu USB host controller

2015-02-16 Thread Sneeker Yeh
These patches add support for XHCI compliant Host controller found on Fujitsu Socs, and are based on http://lwn.net/Articles/629162/ The first patch is to add Fujitsu glue layer of Synopsis DesignWare USB3 driver and last four patch is about quirk implementation of errata in Synopsis DesignWare

[PATCH v4 4/5] usb: dwc3: Add quirk for Synopsis device disconnection errata

2015-02-16 Thread Sneeker Yeh
Synopsis Designware USB3 IP earlier than v3.00a which is configured in silicon with DWC_USB3_SUSPEND_ON_DISCONNECT_EN=1, would need a specific quirk to prevent xhci host controller from dying when device is disconnected. Since DWC_USB3_SUSPEND_ON_DISCONNECT_EN is an IP configuration whose state

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