[patch 01/13] irqchip: spear_shirq: Fix interrupt offset

2014-06-19 Thread Thomas Gleixner
The ras3 block on spear320 claims to have 3 interrupts. In fact it has one and 6 reserved interrupts. Account the 6 reserved to this block so it has 7 interrupts total. That matches the datasheet and the device tree entries. Broken since commit 80515a5a(ARM: SPEAr3xx: shirq: simplify and move the

[patch 04/13] irqchip: spear_shirq: No point in storing the parent irq

2014-06-19 Thread Thomas Gleixner
The struct member is pointless and a nismomer as well. Signed-off-by: Thomas Gleixner t...@linutronix.de --- drivers/irqchip/spear-shirq.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) Index: linux/drivers/irqchip/spear-shirq.c

[patch 00/13] irqchip: spear_shirq: Cleanup the bitrot

2014-06-19 Thread Thomas Gleixner
The driver is broken for spear320 since commit 80515a5a(ARM: SPEAr3xx: shirq: simplify and move the shared irq multiplexor to DT). Clearly never tested on spear320. Aside of that it's an unreadable overengineered trainwreck with lots of obscure functionality. Make it work and clean it up.

[patch 03/13] irqchip: spear_shirq: Move private structs to source

2014-06-19 Thread Thomas Gleixner
No point in having them in a separate header file. Make the init functions static. Signed-off-by: Thomas Gleixner t...@linutronix.de --- drivers/irqchip/spear-shirq.c | 52 + include/linux/irqchip/spear-shirq.h | 64 2

[RFC][PATCH 1/3] trace_seq: Move the trace_seq code to lib/

2014-06-19 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org The trace_seq functions are rather useful outside of tracing. Instead of having it be dependent on CONFIG_TRACING, move the code into lib/ and allow other users to have access to it even when tracing is not configured. Signed-off-by: Steven

[RFC][PATCH 3/3] x86/nmi: Perform a safe NMI stack trace on all CPUs

2014-06-19 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org When trigger_all_cpu_backtrace() is called on x86, it will trigger an NMI on each CPU and call show_regs(). But this can lead to a hard lock up if the NMI comes in on another printk(). In order to avoid this, when the NMI triggers, it switches

[RFC][PATCH 0/3] x86/nmi: Print all cpu stacks from NMI safely

2014-06-19 Thread Steven Rostedt
This is my proposal to print the NMI stack traces from an RCU stall safely. Here's the gist of it. Patch 1: move the trace_seq out of the tracing code. It's useful for other purposes too. Like writing from an NMI context. Patch 2: Add a per_cpu printk_func that printk calls. By default it calls

[RFC][PATCH 2/3] printk: Add per_cpu printk func to allow printk to be diverted

2014-06-19 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Being able to divert printk to call another function besides the normal logging is useful for such things like NMI handling. If some functions are to be called from NMI that does printk() it is possible to lock up the box if the nmi handler

Re: [PATCH 1/4] cfq: Increase default value of target_latency

2014-06-19 Thread Dave Chinner
On Thu, Jun 19, 2014 at 02:38:44PM -0400, Jeff Moyer wrote: Mel Gorman mgor...@suse.de writes: The existing CFQ default target_latency results in very poor performance for larger numbers of threads doing sequential reads. While this can be easily described as a tuning problem for users,

[PATCH block/for-linus] blkcg: fix use-after-free in __blkg_release_rcu() by making blkcg_gq refcnt an atomic_t

2014-06-19 Thread Tejun Heo
Hello, So, this patch should do. Joe, Vivek, can one of you guys please verify that the oops goes away with this patch? Jens, the original thread can be read at http://thread.gmane.org/gmane.linux.kernel/1720729 The fix converts blkg-refcnt from int to atomic_t. It does some overhead but

Re: [PATCH] ARM: zImage: ensure header in LE format for BE8 kernels

2014-06-19 Thread Nicolas Pitre
On Thu, 19 Jun 2014, Kevin Hilman wrote: Nicolas Pitre nicolas.pi...@linaro.org writes: On Thu, 19 Jun 2014, Kevin Hilman wrote: I think this should probably be officialized since we've taken away the ability for magic-number checking tools (like 'file') to distinguish between big-

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-19 Thread Dave Airlie
On 20 June 2014 04:19, Greg KH gre...@linuxfoundation.org wrote: On Thu, Jun 19, 2014 at 01:45:30PM -0400, Rob Clark wrote: On Thu, Jun 19, 2014 at 1:00 PM, Greg KH gre...@linuxfoundation.org wrote: On Thu, Jun 19, 2014 at 10:00:18AM -0400, Rob Clark wrote: On Wed, Jun 18, 2014 at 9:13 PM,

[patch 1/2] clk: spear3xx: Use proper control register offset

2014-06-19 Thread Thomas Gleixner
The control register is at offset 0x10, not 0x0. This is wreckaged since commit 5df33a62c (SPEAr: Switch to common clock framework). Signed-off-by: Thomas Gleixner t...@linutronix.de Cc: sta...@vger.kernel.org --- drivers/clk/spear/spear3xx_clock.c |2 +- 1 file changed, 1 insertion(+), 1

[patch 2/2] clk: spear3xx: Set proper clock parent of uart1/2

2014-06-19 Thread Thomas Gleixner
The uarts only work when the parent is ras_ahb_clk. The stale 3.5 based ST tree does this in the board file. Add it to the clk init function. Not pretty, but the mess there is amazing anyway. Signed-off-by: Thomas Gleixner t...@linutronix.de --- drivers/clk/spear/spear3xx_clock.c | 14

[patch 0/2] clk: spear3xx: Make it actually work

2014-06-19 Thread Thomas Gleixner
This code is broken since commit 5df33a62c (SPEAr: Switch to common clock framework). Sigh... The first patch fixes that issue and the second one makes the uarts1/2 usable. Quality stuff that. Thanks, tglx -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

[PATCH] spi: spidev: Fix user-space memory access.

2014-06-19 Thread dsneddon
When the spidev module tries to access the user space memory passed in via an IOCTL the compat_ptr function should be called to ensure compatibility between kernel space and user space. Signed-off-by: Dan Sneddon dsned...@codeaurora.org --- drivers/spi/spidev.c | 10 ++ 1 file changed, 6

[patch 2/2] dts: spear: Add missing i2c1 interrupt

2014-06-19 Thread Thomas Gleixner
Signed-off-by: Thomas Gleixner t...@linutronix.de --- arch/arm/boot/dts/spear320.dtsi |5 + 1 file changed, 5 insertions(+) Index: linux/arch/arm/boot/dts/spear320.dtsi === --- linux.orig/arch/arm/boot/dts/spear320.dtsi +++

Re: [RFC][PATCH 0/3] x86/nmi: Print all cpu stacks from NMI safely

2014-06-19 Thread Jiri Kosina
On Thu, 19 Jun 2014, Steven Rostedt wrote: This is my proposal to print the NMI stack traces from an RCU stall safely. Here's the gist of it. Patch 1: move the trace_seq out of the tracing code. It's useful for other purposes too. Like writing from an NMI context. Patch 2: Add a per_cpu

kernel BUG at /src/linux-dev/mm/mempolicy.c:1738! on v3.16-rc1

2014-06-19 Thread Naoya Horiguchi
Hi, I triggered the following bug on v3.16-rc1 when I did mbind() testing where multiple processes repeat calling mbind() for a shared mapped file (causing pingpong of page migration.) In my investigation, it seems that some vma accidentally has vma-vm_start = 0, which makes new_vma_page()

[patch 0/2] dt: spear320: Make it work

2014-06-19 Thread Thomas Gleixner
The sdhci compatible does neither match the documentation nor the implementaion in the drivers and the i2c1 is missing an interrupt assignment. Thanks, tglx -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

[patch 1/2] dts: spear: Fix sdhci compatible

2014-06-19 Thread Thomas Gleixner
Make it match the bindings and the implementation. Signed-off-by: Thomas Gleixner t...@linutronix.de --- arch/arm/boot/dts/spear320.dtsi |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux/arch/arm/boot/dts/spear320.dtsi

Re: [RFC] Tux3 for review

2014-06-19 Thread Daniel Phillips
On Thursday, June 19, 2014 2:26:48 AM PDT, Lukáš Czerner wrote: On Thu, 19 Jun 2014, Pavel Machek wrote: Date: Thu, 19 Jun 2014 10:21:29 +0200 From: Pavel Machek pa...@ucw.cz To: James Bottomley james.bottom...@hansenpartnership.com Cc: Daniel Phillips dan...@phunq.net, Dave Chinner

Re: [Intel-gfx] Display glitching (and possibly related lockup) in 3.16-rc1?

2014-06-19 Thread Dave Airlie
On 20 June 2014 02:09, Daniel Vetter dan...@ffwll.ch wrote: On Wed, Jun 18, 2014 at 12:14:55PM -0400, Theodore Ts'o wrote: Is this a known problem? On my T540p, occasionally the display will go black and then be completely locked. One time when this happened, the display started glitching

Re: [PATCH] drm/msm: Implement msm drm fb_mmap callback function

2014-06-19 Thread Rob Clark
On Thu, Jun 19, 2014 at 5:19 PM, Stephen Boyd sb...@codeaurora.org wrote: On 06/18/14 13:55, Hai Li wrote: diff --git a/drivers/gpu/drm/msm/msm_fbdev.c b/drivers/gpu/drm/msm/msm_fbdev.c index 4f4e7b4..2522f51 100644 --- a/drivers/gpu/drm/msm/msm_fbdev.c +++ b/drivers/gpu/drm/msm/msm_fbdev.c

Re: slub/debugobjects: lockup when freeing memory

2014-06-19 Thread Paul E. McKenney
On Thu, Jun 19, 2014 at 11:32:41PM +0200, Thomas Gleixner wrote: On Thu, 19 Jun 2014, Paul E. McKenney wrote: On Thu, Jun 19, 2014 at 10:37:17PM +0200, Thomas Gleixner wrote: On Thu, 19 Jun 2014, Paul E. McKenney wrote: On Thu, Jun 19, 2014 at 09:29:08PM +0200, Thomas Gleixner

Re: [PATCH 1/5] Staging: rtl8192u: r8192U_wx.c Fixed one misplaced brace

2014-06-19 Thread Greg KH
On Thu, May 29, 2014 at 01:45:17PM -0700, Chaitanya Hazarey wrote: Fixed a misplaced brace in the r8192_wx_set_scan_type function. Signed-off-by: Chaitanya Hazarey c...@24.io --- drivers/staging/rtl8192u/r8192U_wx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 5/5] Staging: rtl8192u: r8192U_wx.c Removed commented dead code

2014-06-19 Thread Greg KH
On Thu, May 29, 2014 at 01:45:21PM -0700, Chaitanya Hazarey wrote: Removed dead code from the file. Signed-off-by: Chaitanya Hazarey c...@24.io --- drivers/staging/rtl8192u/r8192U_wx.c | 18 +- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git

Re: [PATCH 1/4] Staging: rtl8192u: r8192U_wx.c removed some dead code

2014-06-19 Thread Greg KH
On Mon, Jun 02, 2014 at 09:11:42AM -0700, Chaitanya Hazarey wrote: Removed dead code, commented out printks and DMESG. Signed-off-by: Chaitanya Hazarey c...@24.io This patch does not apply :( -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [RFC] Tux3 for review

2014-06-19 Thread Daniel Phillips
On Thursday, June 19, 2014 9:24:10 AM PDT, Josef Bacik wrote: On 05/16/2014 05:50 PM, Daniel Phillips wrote: We would like to offer Tux3 for review for mainline merge. We have prepared a new repository suitable for pulling:

[PATCH] memcg: remove lookup_cgroup_page() prototype

2014-06-19 Thread Greg Thelen
6b208e3f6e35 (mm: memcg: remove unused node/section info from pc-flags) deleted the lookup_cgroup_page() function but left a prototype for it. Kill the vestigial prototype. Signed-off-by: Greg Thelen gthe...@google.com --- include/linux/page_cgroup.h | 1 - 1 file changed, 1 deletion(-) diff

Re: BUG: scheduling while atomic in blk_mq codepath?

2014-06-19 Thread Dave Chinner
On Thu, Jun 19, 2014 at 12:21:44PM -0400, Theodore Ts'o wrote: On Thu, Jun 19, 2014 at 12:08:01PM -0400, Theodore Ts'o wrote: The other issue, not sure, not a lot of detail. It may be fixed by the pull request I sent out yesterday. You can try pulling in:

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-19 Thread H. Peter Anvin
On 06/19/2014 01:01 PM, Greg KH wrote: On Thu, Jun 19, 2014 at 09:15:36PM +0200, Daniel Vetter wrote: On Thu, Jun 19, 2014 at 7:00 PM, Greg KH gre...@linuxfoundation.org wrote: + BUG_ON(f1-context != f2-context); Nice, you just crashed the kernel, making it impossible to debug or recover

Re: [PATCH 0/5] x86,vdso: Restore a bunch of section headers

2014-06-19 Thread H. Peter Anvin
On 06/18/2014 03:59 PM, Andy Lutomirski wrote: This series makes me sad. It brings the 64-bit vdso back above 4kB, like it was in 3.15. It's also just silly, but it seems to be needed to keep binutils happy when debugging the vdso. Oh well... it is only a single page across the entire

Re: [PATCH] i2c: exynos5: Properly use the noirq variants of suspend/resume

2014-06-19 Thread Doug Anderson
Kevin, On Thu, Jun 19, 2014 at 11:43 AM, Kevin Hilman khil...@linaro.org wrote: Doug Anderson diand...@chromium.org writes: The original code for the exynos i2c controller registered for the noirq variants. However during review feedback it was moved to SIMPLE_DEV_PM_OPS without anyone

Re: [PATCH] staging: android: binder: Fix 10 overlong lines

2014-06-19 Thread Greg KH
On Sat, May 31, 2014 at 05:29:53PM -0600, Daniel Dressler wrote: This patch was made following Greg Kroah-Hartman's newbie guide. It is not intended to make any logical alterations to codeflow. Of note to reviews this patch switch's a call to kzalloc to kcalloc on line 2837 Neil Brown gave

Re: [PATCH] staging: media: solo6x10: solo6x10-jpeg.h: Fix sparse warning

2014-06-19 Thread Greg KH
On Sat, May 31, 2014 at 11:30:15PM +0300, Tair Rzayev wrote: Make jpeg_dqt[][] static Signed-off-by: Tair Rzayev tair.rza...@gmail.com --- drivers/staging/media/solo6x10/solo6x10-jpeg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Please always use scripts/get_maintainer.pl to

Re: [PATCH 5/5] x86,vdso: Create .build-id links for unstripped vdso files

2014-06-19 Thread H. Peter Anvin
On 06/18/2014 03:59 PM, Andy Lutomirski wrote: This may break make vdso_install with binutils before 2.17.50.0.17. On the other hand, make vdso_install was probably never useful with earlier binutils, since the installed files are AFAIK completely useless without build-id. How does it

Re: [PATCH] staging: imx-drm: ipu-v3: ipu-common.c: Cleaning up return of uninitialized variable

2014-06-19 Thread Greg Kroah-Hartman
On Sun, Jun 15, 2014 at 01:35:21AM +0200, Rickard Strandqvist wrote: Before when there was an error a uninitialized variable would be returnd. Now it returns -ENODEV Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/staging/imx-drm/ipu-v3/ipu-common.c |

Re: [RFC][PATCH 0/3] x86/nmi: Print all cpu stacks from NMI safely

2014-06-19 Thread Steven Rostedt
On Thu, 19 Jun 2014 23:56:36 +0200 (CEST) Jiri Kosina jkos...@suse.cz wrote: I agree this is less intrusive than having printk() use two versions of the buffers and perform merging, OTOH, it doesn't really seem to be fully clean and systematic solution either. I'm not sure why you consider

Re: linux-next: the selinux tree needs cleaning up

2014-06-19 Thread Stephen Rothwell
Hi Paul, On Thu, 19 Jun 2014 15:47:01 -0400 Paul Moore p...@paul-moore.com wrote: I want to avoid use a -rcX release as the foundation of any of my trees; the - rc releases aren't as stable and it goes against what we're trying to do with the different Linux Security trees. Unfortunately,

Re: [RFC][PATCH 0/3] x86/nmi: Print all cpu stacks from NMI safely

2014-06-19 Thread Jiri Kosina
On Thu, 19 Jun 2014, Steven Rostedt wrote: The idea basically is to *switch* what arch_trigger_all_cpu_backtrace() and arch_trigger_all_cpu_backtrace_handler() are doing; i.e. use the NMI as a way to stop all the CPUs (one by one), and let the CPU that is sending the NMIs around to

Re: Cannot partition 32GB disk on a 32bit machine (correct version of the patch this time)

2014-06-19 Thread Alan Cox
Wow that's junk issued by an Exchange server ... Alan, really ... Blame evolution. It apparently thinks that if you follow up to your own email from one address it should randomly switch to another. Do you have CONFIG_LBD turned on? That's supposed to let us go up to about 16TB before we

Re: [bisected] pre-3.16 regression on open() scalability

2014-06-19 Thread Paul E. McKenney
On Thu, Jun 19, 2014 at 02:32:03PM -0700, j...@joshtriplett.org wrote: On Thu, Jun 19, 2014 at 04:16:34PM -0500, Christoph Lameter wrote: This looks very much like the CONFIG_PREEMPT problem in not so extreme form. Maybe we need to add another config option:

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-19 Thread James Bottomley
On Thu, 2014-06-19 at 15:39 -0700, H. Peter Anvin wrote: On 06/19/2014 01:01 PM, Greg KH wrote: On Thu, Jun 19, 2014 at 09:15:36PM +0200, Daniel Vetter wrote: On Thu, Jun 19, 2014 at 7:00 PM, Greg KH gre...@linuxfoundation.org wrote: + BUG_ON(f1-context != f2-context); Nice, you

Re: [PATCH] init/do_mounts.c: treat EROFS like EACCES

2014-06-19 Thread Dave Chinner
On Thu, Jun 19, 2014 at 02:19:50PM -0700, Andrew Morton wrote: On Wed, 18 Jun 2014 18:12:44 +0200 Philippe De Muyter p...@macqel.be wrote: some combinations of filesystem and block device (at least vfat on mmc) yield -EROFS instead of -EACCES when the device is read-only. Retry mounting

Re: [RFC][PATCH 0/3] x86/nmi: Print all cpu stacks from NMI safely

2014-06-19 Thread Steven Rostedt
On Fri, 20 Jun 2014 01:03:28 +0200 (CEST) Jiri Kosina jkos...@suse.cz wrote: On Thu, 19 Jun 2014, Steven Rostedt wrote: The idea basically is to *switch* what arch_trigger_all_cpu_backtrace() and arch_trigger_all_cpu_backtrace_handler() are doing; i.e. use the NMI as a way to stop

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-19 Thread Rob Clark
On Thu, Jun 19, 2014 at 5:50 PM, Dave Airlie airl...@gmail.com wrote: On 20 June 2014 04:19, Greg KH gre...@linuxfoundation.org wrote: On Thu, Jun 19, 2014 at 01:45:30PM -0400, Rob Clark wrote: On Thu, Jun 19, 2014 at 1:00 PM, Greg KH gre...@linuxfoundation.org wrote: On Thu, Jun 19, 2014 at

[RFC PATCH] use snprintf instead of sprintf in rcu_torture_printk

2014-06-19 Thread Pranith Kumar
(dropping some CCs) On 06/19/2014 05:00 PM, Paul E. McKenney wrote: On Wed, Jun 18, 2014 at 12:49:42PM -0700, Joe Perches wrote: I believe the function doesn't work well. static void rcu_torture_stats_print(void) { int size = nr_cpu_ids * 200 + 8192; char *buf; buf =

Re: [RFC][PATCH 0/3] x86/nmi: Print all cpu stacks from NMI safely

2014-06-19 Thread Jiri Kosina
On Thu, 19 Jun 2014, Steven Rostedt wrote: The idea basically is to *switch* what arch_trigger_all_cpu_backtrace() and arch_trigger_all_cpu_backtrace_handler() are doing; i.e. use the NMI as a way to stop all the CPUs (one by one), and let the CPU that is sending the NMIs

Re: [PATCH 1/3] staging: vt6655: update out-of-date function declaration

2014-06-19 Thread Greg KH
On Sun, Jun 01, 2014 at 10:19:31PM -0400, James A Shackleford wrote: The function iwctl_siwscan() is defined in iwctl.c as: int iwctl_siwscan(struct net_device *dev, struct iw_request_info *info, struct iw_point *wrq, char *extra) { ...

Re: [PATCH 1/5] perf tools: Factor ui_browser ops out of ui_browser struct

2014-06-19 Thread Namhyung Kim
Hi Jiri, On Thu, 19 Jun 2014 18:49:21 +0200, Jiri Olsa wrote: On Thu, Jun 19, 2014 at 12:38:51PM -0300, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 19, 2014 at 01:41:12PM +0200, Jiri Olsa escreveu: Separating ops out of 'struct ui_browser' into 'struct ui_browser_ops'. You stated what

[PATCH] of/irq: lookup 'interrupts-extended' property first

2014-06-19 Thread Florian Fainelli
In case the Device Tree blob passed by the boot agent supplies both an 'interrupts-extended' and an 'interrupts' property in order to allow for older kernels to be usable, prefer the new-style 'interrupts-extended' property which convey a lot more information. This allows us to have bootloaders

Re: [PATCH v3] staging: vt6655: preserve address space in ethtool_ioctl()

2014-06-19 Thread Greg KH
On Tue, Jun 17, 2014 at 02:40:27PM +0200, Martin Kepplinger wrote: Fix the sparse error: cast removes address space of expression and add __user annotation to the driver's ethtool_ioctl(). Signed-off-by: Martin Kepplinger mart...@posteo.de --- I think I forgot to change the declaration on

Re: [RFC PATCH] use snprintf instead of sprintf in rcu_torture_printk

2014-06-19 Thread Joe Perches
On Thu, 2014-06-19 at 19:24 -0400, Pranith Kumar wrote: (dropping some CCs) On 06/19/2014 05:00 PM, Paul E. McKenney wrote: On Wed, Jun 18, 2014 at 12:49:42PM -0700, Joe Perches wrote: I believe the function doesn't work well. static void rcu_torture_stats_print(void) { int

mmotm 2014-06-19-16-33 uploaded

2014-06-19 Thread akpm
The mm-of-the-moment snapshot 2014-06-19-16-33 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCH] Staging: panel: fixed checkpatch errors in panel.c

2014-06-19 Thread Greg KH
On Sun, Jun 01, 2014 at 03:20:55AM -0700, Vincent Heuken wrote: This patch simply fixes the style errors in panel.c that scripts/checkpatch.pl reported Which style errors? Please be specific. And break the patch up into only doing one type of fix at a time, otherwise it's hard to review.

Re: [RFC][PATCH 0/3] x86/nmi: Print all cpu stacks from NMI safely

2014-06-19 Thread Steven Rostedt
On Fri, 20 Jun 2014 01:27:26 +0200 (CEST) Jiri Kosina jkos...@suse.cz wrote: I don't think there is a need for a global stop_machine()-like synchronization here. The printing CPU will be sending IPI to the CPU N+1 only after it has finished printing CPU N stacktrace. So you plan on

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-19 Thread Greg KH
On Thu, Jun 19, 2014 at 03:39:47PM -0700, H. Peter Anvin wrote: On 06/19/2014 01:01 PM, Greg KH wrote: On Thu, Jun 19, 2014 at 09:15:36PM +0200, Daniel Vetter wrote: On Thu, Jun 19, 2014 at 7:00 PM, Greg KH gre...@linuxfoundation.org wrote: + BUG_ON(f1-context != f2-context);

Re: [PATCH 5/5] perf tools: Add report.show-headers config file option

2014-06-19 Thread Namhyung Kim
On Thu, 19 Jun 2014 18:51:13 +0200, Jiri Olsa wrote: On Thu, Jun 19, 2014 at 10:09:59PM +0900, Namhyung Kim wrote: 2014-06-19 (목), 15:02 +0200, Jiri Olsa: On Thu, Jun 19, 2014 at 09:56:44PM +0900, Namhyung Kim wrote: [SNIP] @@ -35,6 +35,7 @@ struct symbol_conf symbol_conf = {

Re: [RFC][PATCH 0/3] x86/nmi: Print all cpu stacks from NMI safely

2014-06-19 Thread Jiri Kosina
On Thu, 19 Jun 2014, Steven Rostedt wrote: I don't think there is a need for a global stop_machine()-like synchronization here. The printing CPU will be sending IPI to the CPU N+1 only after it has finished printing CPU N stacktrace. So you plan on sending an IPI to a CPU then wait for

RE: Should Pstore(ramoops) records customized information?

2014-06-19 Thread Luck, Tony
BTW, I note that extern struct pstore_info *psinfo locates in fs/pstore/internal.h. So users out of directory fs/pstore/ can not use pstore to record messages. We do not want other kernel users to use pstore, right? And can we break this? Yes we can make some interface visible to the

Re: Cannot partition 32GB disk on a 32bit machine (correct version of the patch this time)

2014-06-19 Thread James Bottomley
On Fri, 2014-06-20 at 00:04 +0100, Alan Cox wrote: Wow that's junk issued by an Exchange server ... Alan, really ... Blame evolution. It apparently thinks that if you follow up to your own email from one address it should randomly switch to another. so you @linux.intel.com is sane and you

Re: [PATCH 5/5] perf tools: Add report.show-headers config file option

2014-06-19 Thread Namhyung Kim
On Thu, 19 Jun 2014 18:58:15 +0200, Jiri Olsa wrote: On Thu, Jun 19, 2014 at 12:28:43PM -0300, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 19, 2014 at 09:56:44PM +0900, Namhyung Kim escreveu: 2014-06-19 (목), 13:41 +0200, Jiri Olsa: Adding report.show-headers config file option to setup

Re: [RFC PATCH] use snprintf instead of sprintf in rcu_torture_printk

2014-06-19 Thread Paul E. McKenney
On Thu, Jun 19, 2014 at 07:24:48PM -0400, Pranith Kumar wrote: (dropping some CCs) On 06/19/2014 05:00 PM, Paul E. McKenney wrote: On Wed, Jun 18, 2014 at 12:49:42PM -0700, Joe Perches wrote: I believe the function doesn't work well. static void rcu_torture_stats_print(void) {

Re: [PATCH 1/9] perf bench: Add --repeat option

2014-06-19 Thread Namhyung Kim
Hi Davidlohr, On Thu, Jun 19, 2014 at 11:45 AM, Davidlohr Bueso davidl...@hp.com wrote: Hi Namhyung, On Thu, 2014-06-19 at 15:14 +0900, Namhyung Kim wrote: By adding a top-level option, I think it should be applied to all benchmaks - but I guess it only supports sched messaging and futex,

Re: [PATCH v2 5/5] staging: ft1000: ft1000-usb: ft1000_debug.c: Misc. fixes.

2014-06-19 Thread Greg KH
On Fri, Jun 06, 2014 at 08:02:18PM -0700, Thomas Wood wrote: Remove initialization of static value. Invert the empty if statement's test to replace the else statement. Remove parentheses from a return statement. Fix some code indentation. Signed-off-by: Thomas Wood tommyandr...@gmail.com

Re: [PATCH 1/2] drm/exynos/fbdev: don't set fix.smem/mmio_{start,len}

2014-06-19 Thread Siarhei Siamashka
On Fri, 4 Apr 2014 17:22:01 +0800 Daniel Kurtz djku...@chromium.org wrote: Kernel access to the eyxnos fbdev framebuffer is via its gem object's kernel mapping (kvaddr, stored in info-screen_base). User space access is provided by mmap(), read() and write() of /dev/fb/fb0. These functions

Re: [PATCH 5/5] x86,vdso: Create .build-id links for unstripped vdso files

2014-06-19 Thread Andy Lutomirski
On Thu, Jun 19, 2014 at 3:46 PM, H. Peter Anvin h...@zytor.com wrote: On 06/18/2014 03:59 PM, Andy Lutomirski wrote: This may break make vdso_install with binutils before 2.17.50.0.17. On the other hand, make vdso_install was probably never useful with earlier binutils, since the installed

Re: [PATCH 1/2] Staging: bcm: Prototypes.h: fix checkpatch errors

2014-06-19 Thread Greg KH
On Wed, Jun 18, 2014 at 04:10:05PM +0200, Christian Bay wrote: This patch fixes all errors, excluding 80 character warnings, shown by the checkpatch script. In detail whitespace changes according to the coding guideline are meant. Additionally there is exactly one newline after every

Re: [PATCH 2/2] Staging: bcm: Queue.h: fix checkpatch errors

2014-06-19 Thread Greg KH
On Wed, Jun 18, 2014 at 04:10:06PM +0200, Christian Bay wrote: This patch fixes all checkpatch errors and warnings in Queue.h: Whitespaces, brackets and comments according to the coding guideline Same as the previous one, thanks. greg k-h -- To unsubscribe from this list: send the line

Re: [PATCH] IBM Akebono: Remove obsolete config select

2014-06-19 Thread Alistair Popple
Hi Ben, It looks like we may have missed this trivial fix? Can you please apply it to your tree? Regards, Alistair On Fri, 13 Jun 2014 13:56:32 Paul Bolle wrote: On Fri, 2014-05-02 at 18:06 +1000, Alistair Popple wrote: The original implementation of MMC support for Akebono introduced a

Re: [PATCH -tip v2 3/3] kprobes: Set IPMODIFY flag only if the probe can change regs-ip

2014-06-19 Thread Namhyung Kim
On Thu, 19 Jun 2014 21:34:31 +0900, Namhyung Kim wrote: What about this? static int __ftrace_remove_filter_ip(...) { if (*ref == 1) { int ret = unregister_ftrace_function(ops); if (ret 0) return ret;

Re: [PATCH] staging: rtl8172u: Make ieee80211_crypto_init static

2014-06-19 Thread Greg Kroah-Hartman
On Thu, Jun 12, 2014 at 07:40:49PM +0200, L. Alberto Giménez wrote: Fix sparse warning. Signed-off-by: L. Alberto Giménez agime...@sysvalve.es --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [RFC PATCH] use snprintf instead of sprintf in rcu_torture_printk

2014-06-19 Thread Pranith Kumar
On 06/19/2014 07:33 PM, Joe Perches wrote: Here is a first run of the change. Please let me know if I am totally off. RFC. :) Three things on Todo list: * We need to check that we are using less than the allocated size of the buffer (used size). (we are allocating a big buffer, so not

Re: [RFC PATCH] use snprintf instead of sprintf in rcu_torture_printk

2014-06-19 Thread Pranith Kumar
On 06/19/2014 07:49 PM, Paul E. McKenney wrote: On Thu, Jun 19, 2014 at 07:24:48PM -0400, Pranith Kumar wrote: (dropping some CCs) On 06/19/2014 05:00 PM, Paul E. McKenney wrote: On Wed, Jun 18, 2014 at 12:49:42PM -0700, Joe Perches wrote: I believe the function doesn't work well. static

Re: [PATCH linux-next] staging: r8192ee: Adapt flush function prototype

2014-06-19 Thread Greg Kroah-Hartman
On Sat, Jun 07, 2014 at 07:39:19PM +0200, Vincent Stehlé wrote: Commit 77be2c54c5bd 'mac80211: add vif to flush call' modifies the flush operation prototype. Update r8192ee function accordingly. This fixes the following compilation warnings: drivers/staging/rtl8192ee/core.c: At top

Re: [PATCH 1/3] staging: lustre: ldlm: ldlm_resource.c removed unecessary braces

2014-06-19 Thread Greg KH
On Fri, Jun 20, 2014 at 02:01:46AM +1000, Anil Belur wrote: From: Anil Belur ask...@gmail.com - this fixed the WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Anil Belur ask...@gmail.com --- drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 6 ++

Re: [PATCHv4 1/4] iio: adc: exynos_adc: Add exynos_adc_ops structure to improve readability

2014-06-19 Thread Chanwoo Choi
Hi Tomasz, On 06/18/2014 04:55 PM, Tomasz Figa wrote: Hi Chanwoo, On 18.06.2014 04:20, Chanwoo Choi wrote: This patchset add 'exynos_adc_ops' structure which includes some functions to control ADC operation according to ADC version (v1 or v2). Signed-off-by: Chanwoo Choi

Re: [PATCHv4 2/4] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-06-19 Thread Chanwoo Choi
Hi Tomasz, On 06/18/2014 04:58 PM, Tomasz Figa wrote: Hi Chanwoo, On 18.06.2014 04:20, Chanwoo Choi wrote: This patch control special clock for ADC in Exynos series's FSYS block. If special clock of ADC is registerd on clock list of common clk framework, Exynos ADC drvier have to control

Re: [PATCHv4 2/4] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-06-19 Thread Tomasz Figa
On 20.06.2014 02:22, Chanwoo Choi wrote: Hi Tomasz, On 06/18/2014 04:58 PM, Tomasz Figa wrote: Hi Chanwoo, On 18.06.2014 04:20, Chanwoo Choi wrote: This patch control special clock for ADC in Exynos series's FSYS block. If special clock of ADC is registerd on clock list of common clk

Re: [PATCHv4 1/4] iio: adc: exynos_adc: Add exynos_adc_ops structure to improve readability

2014-06-19 Thread Tomasz Figa
On 20.06.2014 02:20, Chanwoo Choi wrote: Hi Tomasz, On 06/18/2014 04:55 PM, Tomasz Figa wrote: Hi Chanwoo, On 18.06.2014 04:20, Chanwoo Choi wrote: This patchset add 'exynos_adc_ops' structure which includes some functions to control ADC operation according to ADC version (v1 or v2).

Re: [PATCH v2 2/2] staging: alarm-dev: Support to Compile as Module

2014-06-19 Thread Greg Kroah-Hartman
On Fri, Jun 13, 2014 at 11:49:43AM +0530, pramod.gurav@gmail.com wrote: From: Pramod Gurav pramod.gurav@gmail.com Currently this alarm-dev can be compiles only as built in driver. This adds support to compile it as module as well which is in planned activity (See

Re: [PATCHv4 2/4] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-06-19 Thread Chanwoo Choi
On 06/20/2014 09:24 AM, Tomasz Figa wrote: On 20.06.2014 02:22, Chanwoo Choi wrote: Hi Tomasz, On 06/18/2014 04:58 PM, Tomasz Figa wrote: Hi Chanwoo, On 18.06.2014 04:20, Chanwoo Choi wrote: This patch control special clock for ADC in Exynos series's FSYS block. If special clock of ADC is

Re: [PATCHv4 2/4] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-06-19 Thread Tomasz Figa
On 20.06.2014 02:28, Chanwoo Choi wrote: On 06/20/2014 09:24 AM, Tomasz Figa wrote: On 20.06.2014 02:22, Chanwoo Choi wrote: Hi Tomasz, On 06/18/2014 04:58 PM, Tomasz Figa wrote: Hi Chanwoo, On 18.06.2014 04:20, Chanwoo Choi wrote: This patch control special clock for ADC in Exynos

[PATCH net-next] hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event

2014-06-19 Thread Haiyang Zhang
The RNDIS_STATUS_NETWORK_CHANGE event is received after the Hyper-V host sleep or hibernation. We refresh network at this time. MS-TFS: 135162 Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h |3 ++-

Re: Re: Re: [RFT PATCH -next v3] [BUGFIX] kprobes: Fix Failed to find blacklist error on ia64 and ppc64

2014-06-19 Thread Michael Ellerman
On Thu, 2014-06-19 at 20:20 +0900, Masami Hiramatsu wrote: (2014/06/19 20:01), Masami Hiramatsu wrote: Ah, those messages should be shown in dmesg when booting if it doesn't work, because the messages are printed by initialization process of kprobe blacklist. So, reproducing it is

Re: [PATCH 1/3] perf timechart: implement IO mode

2014-06-19 Thread Namhyung Kim
Hi Stanislav, On Thu, 19 Jun 2014 16:23:01 +0400, Stanislav Fomichev wrote: In IO mode timechart shows any disk/network activity. + for (i = 0; i disk_events_nr; i++) { + if (!is_valid_tracepoint(disk_events[i])) { + rec_argc--; It (and others below)

Re: [PATCH] extcon: palmas: Make of_device_id array const

2014-06-19 Thread Chanwoo Choi
Hi Jingoo, On 06/18/2014 02:27 PM, Jingoo Han wrote: Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/extcon/extcon-palmas.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] extcon: Remove unnecessary OOM messages

2014-06-19 Thread Chanwoo Choi
On 06/18/2014 02:30 PM, Jingoo Han wrote: The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message. The following checkpatch warning is also removed. WARNING: Possible unnecessary 'out of memory' message Signed-off-by: Jingoo Han

Re: [PATCH -tip v2 1/3] ftrace: Simplify ftrace_hash_disable/enable path in ftrace_hash_move

2014-06-19 Thread Steven Rostedt
On Tue, 17 Jun 2014 11:04:42 + Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: Simplify ftrace_hash_disable/enable path in ftrace_hash_move for hardening the process if the memory allocation failed. Regardless of what we do with IPMODIFY, I pulled this into my 3.17 queue. You

[PATCH] initramfs: Support initrd that is bigger then 2G.

2014-06-19 Thread Yinghai Lu
When initrd (compressed or not) is used, kernel report data corrupted with /dev/ram0. The root cause: During initramfs checking, if it is initrd, it will be transferred to /initrd.image with sys_write. sys_write only support 2G-4K write, so if the initrd ram is more than that, /initrd.image will

Re: [PATCH] staging: rtl8192 Check for Null return from dev_skb_alloc

2014-06-19 Thread Nick Krause
If anyone able to check this patch it would be great. Thanks Nick On Thu, Jun 19, 2014 at 5:18 PM, Nicholas Krause xerofo...@gmail.com wrote: Checks for Null return from dev_skb_alloc if it returns Null, fw_download returns false. Otherwise it returns true.Also removed rt_status due to

Re: [RFT PATCH -next v3] [BUGFIX] kprobes: Fix Failed to find blacklist error on ia64 and ppc64

2014-06-19 Thread Masami Hiramatsu
(2014/06/20 9:37), Michael Ellerman wrote: On Thu, 2014-06-19 at 20:20 +0900, Masami Hiramatsu wrote: (2014/06/19 20:01), Masami Hiramatsu wrote: Ah, those messages should be shown in dmesg when booting if it doesn't work, because the messages are printed by initialization process of kprobe

Re: Re: [PATCH -tip v2 1/3] ftrace: Simplify ftrace_hash_disable/enable path in ftrace_hash_move

2014-06-19 Thread Masami Hiramatsu
(2014/06/20 11:08), Steven Rostedt wrote: On Tue, 17 Jun 2014 11:04:42 + Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: Simplify ftrace_hash_disable/enable path in ftrace_hash_move for hardening the process if the memory allocation failed. Regardless of what we do with

Re: [PATCH -tip v2 3/3] kprobes: Set IPMODIFY flag only if the probe can change regs-ip

2014-06-19 Thread Masami Hiramatsu
(2014/06/19 21:34), Namhyung Kim wrote: Hi Masami, 2014-06-17 (화), 11:04 +, Masami Hiramatsu: +static int __ftrace_add_filter_ip(struct ftrace_ops *ops, unsigned long ip, + int *ref) +{ +int ret; + +/* Try to set given ip to filter */ +ret =

[PATCH] x86: numa: setup_node_data(): drop dead code and rename function

2014-06-19 Thread Luiz Capitulino
The setup_node_data() function allocates a pg_data_t object, inserts it into the node_data[] array and initializes the following fields: node_id, node_start_pfn and node_spanned_pages. However, a few function calls later during the kernel boot, free_area_init_node() re-initializes those fields,

[PATCH v4] [BUGFIX] kprobes: Fix Failed to find blacklist error on ia64 and ppc64

2014-06-19 Thread Masami Hiramatsu
On ia64 and ppc64, the function pointer does not point the entry address of the function, but the address of function discriptor (which contains the entry address and misc data.) Since the kprobes passes the function pointer stored by NOKPROBE_SYMBOL() to kallsyms_lookup_size_offset() for

Re: [RFD] sched/deadline: EDF dynamic quota design

2014-06-19 Thread xiaofeng.yan
On 2014/6/19 17:13, Luca Abeni wrote: On 06/18/2014 09:01 AM, xiaofeng.yan wrote: [...] I also had an implementation of the GRUB algorithm (based on a modification of my old CBS scheduler for Linux), but the computational complexity of the algorithm was too high. That's why I never proposed to

Re: [PATCH 0/3] Remove devm_request_and_ioremap()

2014-06-19 Thread Jingoo Han
On Friday, June 20, 2014 3:49 AM, Wolfram Sang wrote: Pretty much a year ago, Tushar cleaned up a lot of deprecated uses of devm_request_and_ioremap, yet some remains are still left. Remove the last two users, and let the function rest in peace. I'd suggest that this series is picked up as a

[PATCH] staging: ion: fixup invalid kfree() calls on heap destroy

2014-06-19 Thread Heesub Shin
I've noticed that the last commit to ion_system_heap.c ('staging: ion: optimize struct ion_system_heap') has an omission, so an invalid kfree() gets called on ion_system_heap_destroy(). As ION system heap is never destroyed until system shutdown, it may not cause any harm, but should be fixed. I

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