Re: [PATCH 9/9] printk: Hand over printing to console if printing too long

2014-01-04 Thread Andrew Morton
On Mon, 23 Dec 2013 21:39:30 +0100 Jan Kara wrote: > Currently, console_unlock() prints messages from kernel printk buffer to > console while the buffer is non-empty. When serial console is attached, > printing is slow and thus other CPUs in the system have plenty of time > to append new messages

Re: [PATCH] [media] saa7146: fix a possible NULL pointer reference in saa7146_set_position

2014-01-04 Thread Dmitry Torokhov
On Sun, Jan 05, 2014 at 10:08:00AM +0800, Ethan Zhao wrote: > Function saa7146_format_by_fourcc() may return NULL, reference of the returned > result would cause NULL pointer issue without checking. > > Signed-off-by: Ethan Zhao > --- > drivers/media/common/saa7146/saa7146_hlp.c | 9 +++-- >

Re: [PATCH] [media] cx18: introduce a helper function to void array overrun

2014-01-04 Thread Dmitry Torokhov
Hi Ethan, On Sun, Jan 05, 2014 at 09:17:39AM +0800, Ethan Zhao wrote: > cx18_i2c_register() is called in cx18_init_subdevs() with index > greater than length of hw_bus array, that will cause array overrun, > introduce a helper cx18_get_max_bus_num() to void it. s/void/avoid/ > > Signed-off-by:

Re: [PATCH] kobject: provide kobject_put_wait to fix module unload race

2014-01-04 Thread Dmitry Torokhov
On Sat, Jan 04, 2014 at 07:42:28PM -0800, Greg Kroah-Hartman wrote: > On Sat, Jan 04, 2014 at 03:35:39PM -0500, Mikulas Patocka wrote: > > > > > > On Sat, 4 Jan 2014, Greg Kroah-Hartman wrote: > > > > > On Sat, Jan 04, 2014 at 01:06:01PM -0500, Mikulas Patocka wrote: > > > > Hi > > > > > > > >

Re: linux-next: manual merge of the renesas tree with the arm-soc tree

2014-01-04 Thread Simon Horman
On Sat, Jan 04, 2014 at 10:43:46PM +1100, Stephen Rothwell wrote: > Hi Olof, > > On Fri, 3 Jan 2014 21:11:29 -0800 Olof Johansson wrote: > > > > Now I can't resolve it properly and move the entries when I do the > > same merge (and get the same conflict), because that will cause a > > third confl

Propose for LINUX kernel and PERL

2014-01-04 Thread Antti Heikkinen
To Dear Perl and LINUX kernel development community: My propose to you at your list: is possible to write operate system in PERL? I am student in university, looked for interest project to conclude my study on LINUX kernel. This semester, I take beginner PERL course and learn power of procedural

Re: [PATCH V2 0/4] misc: xgene: Add support for APM X-Gene SoC Queue Manager/Traffic Manager

2014-01-04 Thread Loc Ho
Hi, >> >> >> This patch adds support for APM X-Gene SoC Queue Manager/Traffic >> >> >> Manager. >> >> >> QMTM is required by APM X-Gene SoC Ethernet, PktDMA (XOR Engine) and >> >> >> Security Engine subsystems. All subsystems communicate with QMTM using >> >> >> messages which include informat

Re: [PATCH V2 0/4] misc: xgene: Add support for APM X-Gene SoC Queue Manager/Traffic Manager

2014-01-04 Thread Ravi Patel
On Sat, Jan 4, 2014 at 7:38 PM, Greg KH wrote: > On Sat, Jan 04, 2014 at 03:59:46PM -0800, Ravi Patel wrote: >> On Sat, Dec 21, 2013 at 11:03 PM, Arnd Bergmann wrote: >> > On Saturday 21 December 2013 17:00:51 Loc Ho wrote: >> >> On Sat, Dec 21, 2013 at 12:11 PM, Arnd Bergmann wrote: >> >> > On

Re: [PATCH 0/4] x86: Add Cache QoS Monitoring (CQM) support

2014-01-04 Thread Waskiewicz Jr, Peter P
On Sat, 2014-01-04 at 17:50 -0500, Tejun Heo wrote: > Hello, Hi Tejun, > On Sat, Jan 04, 2014 at 10:43:00PM +, Waskiewicz Jr, Peter P wrote: > > Simply put, when we want to allocate an RMID for monitoring httpd > > traffic, we can create a new child in the subsystem hierarchy, and > > assign

Re: [PATCH] Revert "x86: Disable IST stacks for debug/int 3/stack fault for PREEMPT_RT"

2014-01-04 Thread Mike Galbraith
On Sun, 2014-01-05 at 05:45 +0100, Mike Galbraith wrote: > Or perhaps tell sleeping locks to spin in annoying spots? I converted > rt spinlocks globally to preemptible spinning locks (wasn't pretty, but > worked), so seems that could work. Bah. Nope, if lock owner is on your cpu, you have to yi

[pipe] b8597fdc23: -8% regression of hackbench throughput

2014-01-04 Thread fengguang . wu
Hi Dmitry, We measured some 8% drop of hackbench throughput with your small commit b8597fdc23 ("fs/pipe.c: skip file_update_time on frozen fs"). Comparing to its parent commit, we also see increased context switches: 5b6e04beb19abc9 b8597fdc23f8f6e26a531e9a7 --- --

Re: [PATCH] Revert "x86: Disable IST stacks for debug/int 3/stack fault for PREEMPT_RT"

2014-01-04 Thread Mike Galbraith
On Sat, 2014-01-04 at 19:18 +0100, Andi Kleen wrote: > On Fri, Jan 03, 2014 at 02:55:48PM +0100, Sebastian Andrzej Siewior wrote: > > where do I start. Let me explain what is going on here. The code > > sequence > > Yes the IST stacks are needed for correctness, even in more cases than > the exam

Re: 3.11.10: rtl8192cu device name, kernel crash

2014-01-04 Thread Greg KH
On Sun, Jan 05, 2014 at 01:13:53AM +0100, Herbert Rosmanith wrote: > > hello list, > > this afternoon I bought a new usb/wlan adapter, which identifies > itself as: > > # lsusb > ... > Bus 001 Device 017: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU > 802.11n WLAN Adapter >

Re: [PATCHv4 0/2] twl4030-keypad DT binding

2014-01-04 Thread Sebastian Reichel
On Sat, Jan 04, 2014 at 12:49:01AM -0800, Dmitry Torokhov wrote: > On Sat, Jan 04, 2014 at 06:40:06AM +0100, Sebastian Reichel wrote: > > What's the status of this patch? Can you queue this for 3.14? > > I just queued it. Thanks. -- Sebastian signature.asc Description: Digital signature

Re: [PATCH] kobject: provide kobject_put_wait to fix module unload race

2014-01-04 Thread Greg Kroah-Hartman
On Sat, Jan 04, 2014 at 01:14:14PM -0500, Jeff Mahoney wrote: > On 1/4/14, 1:06 PM, Mikulas Patocka wrote: > > Hi > > > > I noticed that Jeff Mahoney added a new structure kobj_completion, defined > > in include/linux/kobj_completion.h to the kernel 3.13-rc1 in the patch > > eee031649707db3c9920

Re: [PATCH] kobject: provide kobject_put_wait to fix module unload race

2014-01-04 Thread Greg Kroah-Hartman
On Sat, Jan 04, 2014 at 03:35:39PM -0500, Mikulas Patocka wrote: > > > On Sat, 4 Jan 2014, Greg Kroah-Hartman wrote: > > > On Sat, Jan 04, 2014 at 01:06:01PM -0500, Mikulas Patocka wrote: > > > Hi > > > > > > I noticed that Jeff Mahoney added a new structure kobj_completion, > > > defined > >

Re: [PATCH V2 0/4] misc: xgene: Add support for APM X-Gene SoC Queue Manager/Traffic Manager

2014-01-04 Thread Greg KH
On Sat, Jan 04, 2014 at 03:59:46PM -0800, Ravi Patel wrote: > On Sat, Dec 21, 2013 at 11:03 PM, Arnd Bergmann wrote: > > On Saturday 21 December 2013 17:00:51 Loc Ho wrote: > >> On Sat, Dec 21, 2013 at 12:11 PM, Arnd Bergmann wrote: > >> > On Saturday 21 December 2013, Ravi Patel wrote: > >> >> T

Re: [PATCH] lib/vsprintf: add %pT[C012] format specifier

2014-01-04 Thread Tetsuo Handa
Tetsuo Handa wrote: > Since my purpose is to make reading of task_struct->comm consistent, %pT-like > extension is what I want for centralizing pointer dereferences. If we have no objections for %pT[C012] patch, I'd like to propose a counterpart patch for users reading/copying task_struct->comm fo

[PATCH] [media] saa7146: fix a possible NULL pointer reference in saa7146_set_position

2014-01-04 Thread Ethan Zhao
Function saa7146_format_by_fourcc() may return NULL, reference of the returned result would cause NULL pointer issue without checking. Signed-off-by: Ethan Zhao --- drivers/media/common/saa7146/saa7146_hlp.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/med

Re: [PATCH] sparc: replace __GFP_NOFAIL with GFP_ATOMIC in mdesc_kmalloc()

2014-01-04 Thread David Miller
From: Ethan Zhao Date: Wed, 11 Dec 2013 22:54:21 +0800 > Has kmalloc() failure checking there, so it is unnecessary to allocate with > __GFP_NOFAIL flag that might block forever. > > Signed-off-by: Ethan Zhao Please submit sparc patches with sparcli...@vger.kernel.org at least CC:'d. -- To uns

[GIT] Sparc

2014-01-04 Thread David Miller
Please pull to get these Sparc bug fixes: 1) Missing include can lead to build failure, from Kirill Tkhai. 2) Use dev_is_pci() where applicable, from Yijing Wang. 3) Enable irqs after we enable preemption in cpu startup path, from Kirill Tkhai. 4) Revert a __copy_{to,from}_user_inatomic cha

Re: [PATCH 2/3] sparc64: convert spinlock_t to raw_spinlock_t in mmu_context_t

2014-01-04 Thread David Miller
From: Allen Pais Date: Mon, 16 Dec 2013 16:29:09 +0530 > I did not think it'd be nice to put the call trace in the commit message. > But if needed I can re-send them. The more information you provide in a commit message, the better. Please add those traces to the commit messages, and then you c

[PATCH] [media] cx18: introduce a helper function to void array overrun

2014-01-04 Thread Ethan Zhao
cx18_i2c_register() is called in cx18_init_subdevs() with index greater than length of hw_bus array, that will cause array overrun, introduce a helper cx18_get_max_bus_num() to void it. Signed-off-by: Ethan Zhao --- drivers/media/pci/cx18/cx18-driver.c | 2 +- drivers/media/pci/cx18/cx18-i2c.c

Re: perf-stat changes after "Use hrtimers for event multiplexing"

2014-01-04 Thread Fengguang Wu
On Sat, Jan 04, 2014 at 08:02:28PM +0100, Peter Zijlstra wrote: > On Thu, Jan 02, 2014 at 02:12:42PM +0800, fengguang...@intel.com wrote: > > Greetings, > > > > We noticed many perf-stat changes between commit 9e6302056f ("perf: Use > > hrtimers for event multiplexing") and its parent commit ab573

Re: [PATCH] drm/i915: Fix refcount leak and possible NULL pointer dereference.

2014-01-04 Thread Tetsuo Handa
Chris Wilson wrote: > > Then, this file->pid in &dev->filelist keeps at least one reference. > > OK. Updated patch follows. > > Looks good to me, and the comment is great. > -Chris Please pick up this patch via your git tree. Also, please change from "" to whatever you like. For example, dump_ho

Re: [PATCH 1/3] kconfig: consolidate arch-specific seccomp options

2014-01-04 Thread Dave Hansen
On 01/04/2014 03:33 PM, Stephen Rothwell wrote: >> I _believe_ the /proc interface has gone away. I can't find any >> reference to /proc//seccomp in any of the code. Is there some >> /proc dependency that I'm missing outside of the removed >> /proc//seccomp interface? > > I don't know, but if it

Re: [RFC] mm: show message when updating min_free_kbytes in thp

2014-01-04 Thread Han Pingtian
On Fri, Jan 03, 2014 at 10:17:54AM -0800, Dave Hansen wrote: > On 01/02/2014 07:33 PM, Han Pingtian wrote: > > @@ -130,8 +130,11 @@ static int set_recommended_min_free_kbytes(void) > > (unsigned long) nr_free_buffer_pages() / 20); > > recommended_min <<= (PAGE_SHIFT-10

3.11.10: rtl8192cu device name, kernel crash

2014-01-04 Thread Herbert Rosmanith
hello list, this afternoon I bought a new usb/wlan adapter, which identifies itself as: # lsusb ... Bus 001 Device 017: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter the first thing I noticed is that the device name is renamed: [ .688299] systemd-u

Re: [PATCH] NFC: port100: fix leak of usb_device

2014-01-04 Thread Samuel Ortiz
Hi Alexey, On Sun, Jan 05, 2014 at 12:08:05AM +0400, Alexey Khoroshilov wrote: > port100_probe() calls usb_get_dev(), but there is no usb_put_dev() > in port100_disconnect(). The patch adds one. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshi

Re: [PATCH V2 0/4] misc: xgene: Add support for APM X-Gene SoC Queue Manager/Traffic Manager

2014-01-04 Thread Ravi Patel
On Sat, Dec 21, 2013 at 11:03 PM, Arnd Bergmann wrote: > On Saturday 21 December 2013 17:00:51 Loc Ho wrote: >> On Sat, Dec 21, 2013 at 12:11 PM, Arnd Bergmann wrote: >> > On Saturday 21 December 2013, Ravi Patel wrote: >> >> This patch adds support for APM X-Gene SoC Queue Manager/Traffic Manage

Linux 3.13-rc7

2014-01-04 Thread Linus Torvalds
I normally do these things from the airport when I fly out, but since I had re-installed on my laptop I chickened out and decided to do it before leaving, just to make sure I had everything set up on the laptop. Wouldn't you guess, the one time I decide to be prudent, it all worked without a hitch.

Re: [PATCH 1/3] kconfig: consolidate arch-specific seccomp options

2014-01-04 Thread Stephen Rothwell
Hi Dave, On Sat, 04 Jan 2014 11:04:20 -0800 Dave Hansen wrote: > > On 01/04/2014 07:38 AM, Stephen Rothwell wrote: > > On Thu, 02 Jan 2014 12:20:14 -0800 Dave Hansen wrote: > >> From: Dave Hansen > >> There is *NOTHING* architecture-specific about SECCOMP except > >> that the syscalls have per-

Re: [PATCH 0/4] x86: Add Cache QoS Monitoring (CQM) support

2014-01-04 Thread Tejun Heo
Hello, On Sat, Jan 04, 2014 at 10:43:00PM +, Waskiewicz Jr, Peter P wrote: > Simply put, when we want to allocate an RMID for monitoring httpd > traffic, we can create a new child in the subsystem hierarchy, and > assign the httpd processes to it. Then the RMID can be assigned to the > subsys

Re: [PATCH 0/4] x86: Add Cache QoS Monitoring (CQM) support

2014-01-04 Thread Waskiewicz Jr, Peter P
On Sat, 2014-01-04 at 11:10 -0500, Tejun Heo wrote: > Hello, Hi Tejun, > On Fri, Jan 03, 2014 at 12:34:41PM -0800, Peter P Waskiewicz Jr wrote: > > The CPU features themselves are relatively straight-forward, but > > the presentation of the data is less straight-forward. Since this > > tracks ca

[tip:x86/build] x86, boot: Move intcall() to the .inittext section

2014-01-04 Thread tip-bot for H. Peter Anvin
Commit-ID: 6f34152f54bcf63a49ea701643c81f5b2168fec8 Gitweb: http://git.kernel.org/tip/6f34152f54bcf63a49ea701643c81f5b2168fec8 Author: H. Peter Anvin AuthorDate: Sat, 4 Jan 2014 14:29:08 -0800 Committer: H. Peter Anvin CommitDate: Sat, 4 Jan 2014 14:29:08 -0800 x86, boot: Move intcall(

Re: [PATCH] kobject: provide kobject_put_wait to fix module unload race

2014-01-04 Thread Dmitry Torokhov
On Sat, Jan 04, 2014 at 06:34:03PM +, Al Viro wrote: > On Sat, Jan 04, 2014 at 10:16:20AM -0800, Greg Kroah-Hartman wrote: > > > > I came up with a simpler patch to achieve the same purpose - this patch > > > makes fixing the drivers easy - the driver is fixed just by replacing > > > "kobjec

Re: [PATCH v5 1/3] i2c: xilinx: Fix i2c checkpatch warnings

2014-01-04 Thread Wolfram Sang
On Thu, Dec 19, 2013 at 04:05:04PM +0100, Michal Simek wrote: > From: Kedareswara rao Appana > > Code changes to fix checkpatch warnings listed below. > - WARNING: please, no space before tabs > - WARNING: quoted string split across lines > > Signed-off-by: Kedareswara rao Appana > Signed-off-b

Re: [PATCH] Input: ims-pcu - remove unneeded get_unaligned_xxx

2014-01-04 Thread Dmitry Torokhov
On Sat, Jan 04, 2014 at 09:41:43AM -0800, Andrey Smirnov wrote: > > Anyway, TL;DR of the whole thing is: > - Your arguments do not convince me in the slightest > - I don't think that mine do you > - Let's stop wasting out time > - Do as you see fit, since you are the maintainer > Nah, I thin

Re: [PATCH v3 1/2] regulator: anatop-regulator: Fix the error handling on probe

2014-01-04 Thread Dmitry Torokhov
On Sat, Jan 04, 2014 at 02:00:52PM -0200, Fabio Estevam wrote: > Hi Dmitry, > > On Fri, Jan 3, 2014 at 10:02 PM, Dmitry Torokhov > wrote: > > On Tue, Dec 24, 2013 at 01:03:57PM +, Mark Brown wrote: > >> On Mon, Dec 23, 2013 at 12:44:40PM -0200, Fabio Estevam wrote: > >> > From: Fabio Estevam

Re: [PATCH] i2c: at91: document clock properties

2014-01-04 Thread Wolfram Sang
On Tue, Dec 17, 2013 at 04:54:04PM +0100, Boris BREZILLON wrote: > Document the clock properties required by the at91 i2c bus driver. > > Signed-off-by: Boris BREZILLON Applied to for-next, thanks! signature.asc Description: Digital signature

[tip:x86/build] x86, sparse: Do not force removal of __user when calling copy_to/from_user_nocheck()

2014-01-04 Thread tip-bot for Steven Rostedt
Commit-ID: df90ca969035d3f6c95044e272f75bf417b14245 Gitweb: http://git.kernel.org/tip/df90ca969035d3f6c95044e272f75bf417b14245 Author: Steven Rostedt AuthorDate: Fri, 3 Jan 2014 16:45:00 -0500 Committer: H. Peter Anvin CommitDate: Sat, 4 Jan 2014 13:54:50 -0800 x86, sparse: Do not forc

[tip:x86/build] x86, boot: Use .code16 instead of .code16gcc

2014-01-04 Thread tip-bot for David Woodhouse
Commit-ID: e24df921af484e9b7095ee06d236dabdb3bd9c1c Gitweb: http://git.kernel.org/tip/e24df921af484e9b7095ee06d236dabdb3bd9c1c Author: David Woodhouse AuthorDate: Fri, 3 Jan 2014 22:30:42 + Committer: H. Peter Anvin CommitDate: Sat, 4 Jan 2014 13:59:06 -0800 x86, boot: Use .code16

RE: [PATCH 7/7] Fix uninitialised variable warning in mei-amt-version.c

2014-01-04 Thread Winkler, Tomas
> -Original Message- > From: David Howells [mailto:dhowe...@redhat.com] > Sent: Friday, January 03, 2014 18:34 > To: Paul Bolle > Cc: dhowe...@redhat.com; a...@linux-foundation.org; Greg Kroah-Hartman; > Winkler, Tomas; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 7/7] Fix uninitial

Re: intel_pstate divide error with v3.13-rc4-256-gb7000ad

2014-01-04 Thread Rafael J. Wysocki
On Saturday, January 04, 2014 07:48:13 PM Gleb Natapov wrote: > On Sat, Jan 04, 2014 at 06:38:59PM +0100, Paolo Bonzini wrote: > > Il 04/01/2014 15:38, Rafael J. Wysocki ha scritto: > > > Well, it's just a sanity check and it makes the problem go away for the > > > reporter. > > > > > >> > Your p

Hope you are fine.

2014-01-04 Thread Gillian and Adrian Bayford's
Dear Beneficiary My Wife Gillian and I are donating £1.5 Million GBP to you.Contact us via my wife email at (gillianandadr...@qq.com) for further details. Best Regards, Gillian and Adrian Bayford• Copyright ©2014• The Bayford Foundation• All Rights Reserved• -- To unsubscribe from this list: send

Re: [patch 1/2]percpu_ida: fix a live lock

2014-01-04 Thread Kent Overstreet
On Tue, Dec 31, 2013 at 11:38:27AM +0800, Shaohua Li wrote: > > steal_tags only happens when free tags is more than half of the total tags. > This is too restrict and can cause live lock. I found one cpu has free tags, > but other cpu can't steal (thread is bound to specific cpus), threads which >

Re: [PATCH] fix crash when using XFS on loopback

2014-01-04 Thread Mikulas Patocka
On Sat, 4 Jan 2014, John David Anglin wrote: > On 4-Jan-14, at 2:55 PM, Mikulas Patocka wrote: > > > On Sat, 4 Jan 2014, John David Anglin wrote: > > > > > On 4-Jan-14, at 12:45 PM, Mikulas Patocka wrote: > > > > > > > * flush_dcache_page asks for the list of userspace mappings, however > > >

error when getting page from page table in KVM ept violation handler

2014-01-04 Thread Ruby Zhang
Hi, I'm trying to get a page structure at KVM ept violation handler (in tdp_page_fault). My code is invoked when tdp_page_fault calls __direct_map (where the page fault should have been handled, is it?). But I get a "unable to handle kerenel paging request" error occasionally when I try to access t

Re: How does a newbie find work?

2014-01-04 Thread Bruno Prémont
Hi Gideon, On Sat, 04 January 2014 "Gideon D'souza" wrote: > I've been looking to hacking at the kernel for a long time now. > > I've managed to have a good setup, build the latest stable kernel and > boot from it. I've read some of the docs, Coding Styles etc and > watched GregKH's talks on you

Re: [PATCH] kobject: provide kobject_put_wait to fix module unload race

2014-01-04 Thread Mikulas Patocka
On Sat, 4 Jan 2014, Greg Kroah-Hartman wrote: > On Sat, Jan 04, 2014 at 01:06:01PM -0500, Mikulas Patocka wrote: > > Hi > > > > I noticed that Jeff Mahoney added a new structure kobj_completion, defined > > in include/linux/kobj_completion.h to the kernel 3.13-rc1 in the patch > > eee03164970

Re: [PATCH] fix crash when using XFS on loopback

2014-01-04 Thread John David Anglin
On 4-Jan-14, at 2:55 PM, Mikulas Patocka wrote: On Sat, 4 Jan 2014, John David Anglin wrote: On 4-Jan-14, at 12:45 PM, Mikulas Patocka wrote: * flush_dcache_page asks for the list of userspace mappings, however that page->mapping field is reused by the slab subsystem for a different purpos

Re: Linux 3.2.54

2014-01-04 Thread Gene Heskett
On Saturday 04 January 2014, Greg KH wrote: >On Sun, Jan 05, 2014 at 12:43:05AM +0800, Teck Choon Giam wrote: >> Hi Ben, >> >> On Fri, Jan 3, 2014 at 9:21 PM, Ben Hutchings wrote: >> > I'm announcing the release of the 3.2.54 kernel. >> > >> > All users of the 3.2 kernel series should upgrade.

[PATCH] NFC: port100: fix leak of usb_device

2014-01-04 Thread Alexey Khoroshilov
port100_probe() calls usb_get_dev(), but there is no usb_put_dev() in port100_disconnect(). The patch adds one. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/nfc/port100.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/

Re: [PATCH] fix crash when using XFS on loopback

2014-01-04 Thread Mikulas Patocka
On Sat, 4 Jan 2014, John David Anglin wrote: > On 4-Jan-14, at 12:45 PM, Mikulas Patocka wrote: > > > * flush_dcache_page asks for the list of userspace mappings, however that > > page->mapping field is reused by the slab subsystem for a different > > purpose. This causes the crash. > > I'd noti

Re: [PATCH 1/3] kconfig: consolidate arch-specific seccomp options

2014-01-04 Thread Dave Hansen
On 01/04/2014 07:38 AM, Stephen Rothwell wrote: > On Thu, 02 Jan 2014 12:20:14 -0800 Dave Hansen wrote: >> From: Dave Hansen >> There is *NOTHING* architecture-specific about SECCOMP except >> that the syscalls have per-architecture definitions, like every >> other syscall. It is absurd to have

Re: perf-stat changes after "Use hrtimers for event multiplexing"

2014-01-04 Thread Peter Zijlstra
On Thu, Jan 02, 2014 at 02:12:42PM +0800, fengguang...@intel.com wrote: > Greetings, > > We noticed many perf-stat changes between commit 9e6302056f ("perf: Use > hrtimers for event multiplexing") and its parent commit ab573844e. > Are these expected changes? > > ab573844e3058ee 9e6302056f8029f4

Re: [PATCH] fix crash when using XFS on loopback

2014-01-04 Thread John David Anglin
On 4-Jan-14, at 12:45 PM, Mikulas Patocka wrote: * flush_dcache_page asks for the list of userspace mappings, however that page->mapping field is reused by the slab subsystem for a different purpose. This causes the crash. I'd noticed the other day that the parisc implementation of flush

Re: Linux 3.2.54

2014-01-04 Thread Teck Choon Giam
On Sun, Jan 5, 2014 at 1:32 AM, Greg KH wrote: > On Sun, Jan 05, 2014 at 12:43:05AM +0800, Teck Choon Giam wrote: >> Hi Ben, >> >> >> On Fri, Jan 3, 2014 at 9:21 PM, Ben Hutchings wrote: >> > I'm announcing the release of the 3.2.54 kernel. >> > >> > All users of the 3.2 kernel series should upgr

Re: [PATCH] kobject: provide kobject_put_wait to fix module unload race

2014-01-04 Thread Al Viro
On Sat, Jan 04, 2014 at 10:16:20AM -0800, Greg Kroah-Hartman wrote: > > I came up with a simpler patch to achieve the same purpose - this patch > > makes fixing the drivers easy - the driver is fixed just by replacing > > "kobject_put" with "kobject_put_wait" in the unload routine. > > No, that

[PATCH RFC v2 1/4] perf/core: IRQ-bound performance events

2014-01-04 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev --- include/linux/irq.h | 10 + include/linux/irqdesc.h |4 + include/linux/perf_event.h | 24 +++ include/uapi/linux/perf_event.h | 15 ++- kernel/events/Makefile |2 +- kernel/events/core.c| 176 ++

[PATCH RFC v2 2/4] perf/x86: IRQ-bound performance events

2014-01-04 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev --- arch/x86/kernel/cpu/perf_event.c | 55 +++- arch/x86/kernel/cpu/perf_event.h | 10 ++ arch/x86/kernel/cpu/perf_event_amd.c |2 + arch/x86/kernel/cpu/perf_event_intel.c |4 ++ arch/x86/kernel/cpu/perf_ev

[PATCH RFC v2 3/4] perf/x86/Intel: IRQ-bound performance events

2014-01-04 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev --- arch/x86/kernel/cpu/perf_event.h |5 ++ arch/x86/kernel/cpu/perf_event_intel.c | 72 +++ 2 files changed, 67 insertions(+), 10 deletions(-) diff --git a/arch/x86/kernel/cpu/perf_event.h b/arch/x86/kernel/cpu/perf_event.

[PATCH RFC v2 4/4] perf/tool: IRQ-bound performance events

2014-01-04 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev --- tools/perf/builtin-stat.c |9 + tools/perf/util/evlist.c | 38 ++ tools/perf/util/evlist.h |3 +++ tools/perf/util/evsel.c|8 tools/perf/util/evsel.h|3 +++

[PATCH RFC v2 0/4] perf: IRQ-bound performance events

2014-01-04 Thread Alexander Gordeev
Hello, This is version 2 of RFC "perf: IRQ-bound performance events". That is an introduction of IRQ-bound performance events - ones that only count in a context of a hardware interrupt handler. Ingo suggested to extend this functionality to softirq and threaded handlers as well: [quote] Looks u

Re: [PATCH] Revert "x86: Disable IST stacks for debug/int 3/stack fault for PREEMPT_RT"

2014-01-04 Thread Andi Kleen
On Fri, Jan 03, 2014 at 02:55:48PM +0100, Sebastian Andrzej Siewior wrote: > where do I start. Let me explain what is going on here. The code > sequence Yes the IST stacks are needed for correctness, even in more cases than the example below. You cannot just disable them, just because you don't li

Re: [PATCH] kobject: provide kobject_put_wait to fix module unload race

2014-01-04 Thread Greg Kroah-Hartman
On Sat, Jan 04, 2014 at 01:06:01PM -0500, Mikulas Patocka wrote: > Hi > > I noticed that Jeff Mahoney added a new structure kobj_completion, defined > in include/linux/kobj_completion.h to the kernel 3.13-rc1 in the patch > eee031649707db3c9920d9498f8d03819b74fc23. In the current upstream kernel

Re: [PATCH] kobject: provide kobject_put_wait to fix module unload race

2014-01-04 Thread Jeff Mahoney
On 1/4/14, 1:06 PM, Mikulas Patocka wrote: > Hi > > I noticed that Jeff Mahoney added a new structure kobj_completion, defined > in include/linux/kobj_completion.h to the kernel 3.13-rc1 in the patch > eee031649707db3c9920d9498f8d03819b74fc23. In the current upstream kernel, > this interface is

[PATCH] kobject: provide kobject_put_wait to fix module unload race

2014-01-04 Thread Mikulas Patocka
Hi I noticed that Jeff Mahoney added a new structure kobj_completion, defined in include/linux/kobj_completion.h to the kernel 3.13-rc1 in the patch eee031649707db3c9920d9498f8d03819b74fc23. In the current upstream kernel, this interface is still unused. However, converting the drivers to use

Re: intel_pstate divide error with v3.13-rc4-256-gb7000ad

2014-01-04 Thread Gleb Natapov
On Sat, Jan 04, 2014 at 06:38:59PM +0100, Paolo Bonzini wrote: > Il 04/01/2014 15:38, Rafael J. Wysocki ha scritto: > > Well, it's just a sanity check and it makes the problem go away for the > > reporter. > > > >> > Your patch is welcome but perhaps it should have a WARN_ON too. > > It has been

[PATCH] fix crash when using XFS on loopback

2014-01-04 Thread Mikulas Patocka
The patch 8456a648cf44f14365f1f44de90a3da2526a4776 causes crash in the LVM2 testsuite on PA-RISC (the crashing test is fsadm.sh). The testsuite doesn't crash on 3.12, crashes on 3.13-rc1 and later. Bad Address (null pointer deref?): Code=15 regs=00413edd89a0 (Addr=06202224647d) CPU: 3 P

Re: [PATCH 1/2] watchdog: bcm281xx: Debugfs support

2014-01-04 Thread Guenter Roeck
On 12/31/2013 01:22 PM, Markus Mayer wrote: This change introduces debugfs support for the BCM281xx watchdog driver. Signed-off-by: Markus Mayer --- drivers/watchdog/Kconfig| 10 drivers/watchdog/bcm_kona_wdt.c | 116 +-- 2 files changed,

Re: [PATCH] Input: ims-pcu - remove unneeded get_unaligned_xxx

2014-01-04 Thread Andrey Smirnov
On Fri, Jan 3, 2014 at 11:46 PM, Dmitry Torokhov wrote: > On Fri, Jan 03, 2014 at 10:49:07PM -0800, Andrey Smirnov wrote: >> On Fri, Jan 3, 2014 at 10:16 PM, Dmitry Torokhov >> wrote: >> > On Fri, Jan 03, 2014 at 09:52:25PM -0800, Andrey Smirnov wrote: >> >> On Fri, Jan 3, 2014 at 9:28 PM, Dmitry

Re: intel_pstate divide error with v3.13-rc4-256-gb7000ad

2014-01-04 Thread Paolo Bonzini
Il 04/01/2014 15:38, Rafael J. Wysocki ha scritto: > Well, it's just a sanity check and it makes the problem go away for the > reporter. > >> > Your patch is welcome but perhaps it should have a WARN_ON too. > It has been pulled in already, so the WARN_ON() can only be added via a > separate > p

Re: [usb:usb-next 50/92] drivers/usb/serial/pl2303.c:149 pl2303_vendor_read() error: doing dma on the stack (buf)

2014-01-04 Thread Dan Carpenter
On Sat, Jan 04, 2014 at 12:23:41PM +0100, Johan Hovold wrote: > On Sat, Jan 04, 2014 at 05:28:35AM +0800, kbuild test robot wrote: > > tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git > > usb-next > > head: bd6383c81d5f33e01688a87c50a8d3a878aa43d5 > > commit: 362eb02603be7bb8

Re: Linux 3.2.54

2014-01-04 Thread Greg KH
On Sun, Jan 05, 2014 at 12:43:05AM +0800, Teck Choon Giam wrote: > Hi Ben, > > > On Fri, Jan 3, 2014 at 9:21 PM, Ben Hutchings wrote: > > I'm announcing the release of the 3.2.54 kernel. > > > > All users of the 3.2 kernel series should upgrade. > > > > The updated 3.2.y git tree can be found at

[PATCH 2/3] trace-cmd: Factor out print_exit_reason in kvm plugin

2014-01-04 Thread Jan Kiszka
From: Jan Kiszka We will reuse it for nested vmexit tracepoints. Signed-off-by: Jan Kiszka --- plugin_kvm.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/plugin_kvm.c b/plugin_kvm.c index 59443e5..c407e55 100644 --- a/plugin_kvm.c +++ b/plugin_kvm.c @@

[PATCH 3/3] trace-cmd: Fix and cleanup kvm_nested_vmexit tracepoints

2014-01-04 Thread Jan Kiszka
From: Jan Kiszka Fix several issues of kvm_nested_vmexit[_inject]: field width aren't supported with pevent_print, rip was printed twice/incorrectly, SVM ISA was hard-coded, we don't use ':' to separate field names. Signed-off-by: Jan Kiszka --- plugin_kvm.c | 18 ++ 1 file cha

[PATCH 1/3] trace-cmd: Report unknown VMX exit reasons with code

2014-01-04 Thread Jan Kiszka
From: Jan Kiszka Allows to parse the result even if the KVM plugin does not yet understand a specific exit code. Signed-off-by: Jan Kiszka --- plugin_kvm.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/plugin_kvm.c b/plugin_kvm.c index 8a25cf1..59443e5 100644

[PATCH 0/3] trace-cmd: Updates for kvm plugin

2014-01-04 Thread Jan Kiszka
Patch 1 is resent unchanged from a previous round, patches 2 and 3 improve the output of nested vmexit tracepoints. Jan Kiszka (3): trace-cmd: Report unknown VMX exit reasons with code trace-cmd: Factor out print_exit_reason in kvm plugin trace-cmd: Fix and cleanup kvm_nested_vmexit tracepoi

Re: [PATCH v2 1/1] mm: fix the theoretical compound_lock() vs prep_new_page() race

2014-01-04 Thread Oleg Nesterov
On 01/03, Andrew Morton wrote: > > On Fri, 3 Jan 2014 20:55:47 +0100 Oleg Nesterov wrote: > > > get/put_page(thp_tail) paths do get_page_unless_zero(page_head) + > > compound_lock(). In theory this page_head can be already freed and > > reallocated as alloc_pages(__GFP_COMP, smaller_order). In thi

Re: Linux 3.2.54

2014-01-04 Thread Teck Choon Giam
Hi Ben, On Fri, Jan 3, 2014 at 9:21 PM, Ben Hutchings wrote: > I'm announcing the release of the 3.2.54 kernel. > > All users of the 3.2 kernel series should upgrade. > > The updated 3.2.y git tree can be found at: > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

Re: [PATCH 0/4] x86: Add Cache QoS Monitoring (CQM) support

2014-01-04 Thread Tejun Heo
Hello, On Fri, Jan 03, 2014 at 12:34:41PM -0800, Peter P Waskiewicz Jr wrote: > The CPU features themselves are relatively straight-forward, but > the presentation of the data is less straight-forward. Since this > tracks cache usage and occupancy per process (by swapping Resource > Monitor IDs,

Re: [PATCH v3 1/2] regulator: anatop-regulator: Fix the error handling on probe

2014-01-04 Thread Fabio Estevam
Hi Dmitry, On Fri, Jan 3, 2014 at 10:02 PM, Dmitry Torokhov wrote: > On Tue, Dec 24, 2013 at 01:03:57PM +, Mark Brown wrote: >> On Mon, Dec 23, 2013 at 12:44:40PM -0200, Fabio Estevam wrote: >> > From: Fabio Estevam >> > >> > Currently when of_get_parent() or syscon_node_to_regmap() fail >>

Re: [PATCH 1/3] kconfig: consolidate arch-specific seccomp options

2014-01-04 Thread Stephen Rothwell
Hi Dave, On Thu, 02 Jan 2014 12:20:14 -0800 Dave Hansen wrote: > > From: Dave Hansen > > There are 7 architecures with "config SECCOMP". They all have > virtually the same help text except for those referencing the > /proc interface which was removed in 2007. > > There is *NOTHING* architectu

[PATCH 02/13] Staging: vt6656: Adjust comments in bssdb.c

2014-01-04 Thread Sebastian Rachuj
From: Simon Schuster Changes C99-style comments to C89-style ones to conform to the linux coding guidelines. Additionally removes plus and minus signs from the function description comments. Signed-off-by: Sebastian Rachuj Signed-off-by: Simon Schuster --- drivers/staging/vt6656/bssdb.c | 218

[PATCH 03/13] Staging: vt6656: Remove unnecessary semicolons

2014-01-04 Thread Sebastian Rachuj
From: Simon Schuster After some blocks in bssdb.c there are semicolons that are not required to be there. Therefore they are removed with this patch. Signed-off-by: Sebastian Rachuj Signed-off-by: Simon Schuster --- drivers/staging/vt6656/bssdb.c | 14 +++--- 1 file changed, 7 inserti

[PATCH 04/13] Staging: vt6656: Correct operator coding style

2014-01-04 Thread Sebastian Rachuj
From: Simon Schuster Adds spaces around operators (like &&, ||, !=, +, ...) and removes spaces before postfix increment and decrement operators. Parentheses around return values are removed, too. Signed-off-by: Sebastian Rachuj Signed-off-by: Simon Schuster --- drivers/staging/vt6656/bssdb.c

[PATCH 07/13] Staging: vt6656: Remove unnecessary spaces in format strings

2014-01-04 Thread Sebastian Rachuj
From: Simon Schuster A space in a format string is unnecessary if it is followed by a line feed. These spaces are removed by this patch. Signed-off-by: Sebastian Rachuj Signed-off-by: Simon Schuster --- drivers/staging/vt6656/bssdb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH 06/13] Staging: vt6656: Remove line feeds before else

2014-01-04 Thread Sebastian Rachuj
From: Simon Schuster An else belongs in the same line as the closing curly brace of the previous block. Hence, this patch removes line feeds separating a curly brace from the corresponding else. Signed-off-by: Sebastian Rachuj Signed-off-by: Simon Schuster --- drivers/staging/vt6656/bssdb.c |

Re: [PATCHv9] dmaengine: Add support for BCM2835

2014-01-04 Thread Florian Meier
On 02.01.2014 19:03, Arnd Bergmann wrote: > On Thursday 02 January 2014 18:49:23 Florian Meier wrote: >> Add support for DMA controller of BCM2835 as used in the Raspberry Pi. >> Currently it only supports cyclic DMA. > > Looks very nice. Just a few details I noticed: > >> +#if defined(CONFIG_OF) >

[PATCH 11/13] Staging: vt6656: Remove bogus parentheses in conditions

2014-01-04 Thread Sebastian Rachuj
Removes unrequired parentheses around comparisons in complex conditions. Signed-off-by: Sebastian Rachuj Signed-off-by: Simon Schuster --- drivers/staging/vt6656/bssdb.c | 138 - 1 file changed, 69 insertions(+), 69 deletions(-) diff --git a/drivers/stag

[PATCH 08/13] Staging: vt6656: Combine "else { if" to "else if"

2014-01-04 Thread Sebastian Rachuj
From: Simon Schuster This patch combines single ifs within the block of an else to a single else if statement. Therefore code that looks like that else { if (cond) { statements; } else { other_statements; } } is converted to code that loo

[PATCH 13/13] Staging: vt6656: Reduce line length of bssdb.c

2014-01-04 Thread Sebastian Rachuj
From: Simon Schuster Long lines are split into multiple ones to reduce the line length. Additionally some alignment fixes are made that previous patches missed. Unfortunately, due to the high indentation levels present in parts of bssdb.c, this patch leaves some lines which are longer than 80 ch

[PATCH 12/13] Staging: vt6656: Remove explicit comparisons against NULL

2014-01-04 Thread Sebastian Rachuj
Explicit comparisons of pointers agains NULL (like if (p != NULL) ...) are not as readable as the implicit comparison (like if (p) ...). This patch converts all these explicit comparisons to implicit ones. Signed-off-by: Sebastian Rachuj Signed-off-by: Simon Schuster --- drivers/staging/vt6656/

[PATCH 09/13] Staging: vt6656: Correct usage of braces

2014-01-04 Thread Sebastian Rachuj
From: Simon Schuster Conforming to the linux coding style guidelines, a single line block of an if statement does not require curly braces unless another block of the if cascade requires them. Therefore unnecessary curly braces are removed by this patch and missing ones are added. Signed-off-by:

[PATCH 10/13] Staging: vt6656: Combined nested conditions

2014-01-04 Thread Sebastian Rachuj
From: Simon Schuster This patch reduces the level of indentation in bssdb.c of the vt6656 driver by transforming nested conditions to a series of logical conjunctions. E.g. if (cond1) { if (cond2) { block(); } } is transformed to if (cond1 && cond2) { bl

[PATCHv3 0/13] Staging: vt6656: Cleanup of checkpatch problems in bssdb.c

2014-01-04 Thread Sebastian Rachuj
This patch series reformats the bssdb.c file of the vt6656 driver in staging. It resolves all errors and some warnings which checkpatch.pl discovered. However some occurrences of the following warnings are not patched: - Lines over 80 characters - Too many indentation levels - printk should includ

[PATCH 05/13] Staging: vt6656: Correct single space mistakes

2014-01-04 Thread Sebastian Rachuj
From: Simon Schuster Adds missing spaces between an if-statement and its condition as well as between the condition and the following curly brace. At casts there is also a space added between the type and the variable. Spaces that either follow an opening parenthese or the sizeof operator or tha

Re: [PATCH] Perf: Correct Assumptions about Sample Timestamps in Passes

2014-01-04 Thread Frederic Weisbecker
On Fri, Jan 03, 2014 at 03:45:36PM -0700, David Ahern wrote: > On 1/3/14, 3:07 PM, Frederic Weisbecker wrote: > >I'm not sure I understand why we need that. Why doesn't it work by simply > >flushing > >events prior to the earliest timestamp among every CPUs last event? > > Here's one scenario. Co

[PATCH v6 6/9] phy: Add support for S5PV210 to the Exynos USB 2.0 PHY driver

2014-01-04 Thread Tomasz Figa
From: Mateusz Krawczuk Add support for the Samsung's S5PV210 SoC to the Exynos USB 2.0 PHY driver. Signed-off-by: Mateusz Krawczuk [k.deb...@samsung.com: cleanup and commit description] [k.deb...@samsung.com: make changes accordingly to the mailing list comments] Signed-off-by: Kamil Debski [t

  1   2   >