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

2014-06-19 Thread Anil Belur
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 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

Re: [RFC/PATCH] perf tools: Fix segfault in cumulative.callchain report

2014-06-19 Thread Arnaldo Carvalho de Melo
Em Mon, Jun 16, 2014 at 10:14:22PM +0900, Namhyung Kim escreveu: 2014-06-15 (일), 18:34 +0200, Jiri Olsa: On Sun, Jun 15, 2014 at 09:46:31PM +0900, Namhyung Kim wrote: 2014-06-15 (일), 10:35 +0200, Jiri Olsa: not completely sure this is what we want to do, but have no streght to dive

Re: How to disable Lazy Preempt in the kernel

2014-06-19 Thread Heinz Diehl
On 19.06.2014, tdjames wrote: How do I disable lazy preempt? echo NO_PREEMPT_LAZY /sys/kernel/debug/sched_features -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

BUG: scheduling while atomic in blk_mq codepath?

2014-06-19 Thread Theodore Ts'o
While trying to bisect some problems which were introduced sometime between 3.15 and 3.16-rc1 (specifically, (1) reads to a block device at offset 262144 * 4k are failing with a short read, and (2) block device reads are sometimes causing the entire kernel to hang), the following BUG got hit. [

mmu_notifier and i915_gem_userptr.c

2014-06-19 Thread Joerg Roedel
Hey Chris, recently I had a look at i915_gem_userptr.c in order to extend the mmu_notifier call-backs implemented there. My goal is to implement the change_pte call-back where it is necessary to get rid of it being wrapped mn_invalidate_range_start/end() calls (for the reason see commit

Re: [PATCH 0/4] perf tools tui: Display columns headers

2014-06-19 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 19, 2014 at 02:18:25PM +0900, Namhyung Kim escreveu: Hi Jiri, On Sun, 15 Jun 2014 18:53:19 +0200, Jiri Olsa wrote: hi, adding the way to display columns headers in perf TUI on 'H' press. I think it'd be better if it displays the header by default. Agreed. Anyway, I see

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

2014-06-19 Thread Arnaldo Carvalho de Melo
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 you did, and that helps in understanding what this patch is about, now we only need to have a paragraph on _why_ this is needed :-) So, what is

[PATCH 1/4] drivers/gpio: devres.c: allow gpio array requests for managed devices

2014-06-19 Thread Rob Jones
Add functions devm_gpio_request_array() and devm_gpio_free_array() which are exactly analogous to the equivalent non-managed device functions gpio_request_array() and gpio_free_array(), which can be found in the module gpiolib.c. Note that if devm_gpio_request_array() fails, no gpios are

[PATCH 2/4] drivers/base: devres.c: Add block copy func. for managed devices

2014-06-19 Thread Rob Jones
Add function devm_kmemdup(). Reviewed-by: Ian Molton ian.mol...@codethink.co.uk Signed-off-by: Rob Jones rob.jo...@codethink.co.uk --- drivers/base/devres.c | 27 ++- include/linux/device.h |2 ++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git

[PATCH 3/4] drivers/base: devres.c: use devm_kmemdup() from with devm_kstrdup()

2014-06-19 Thread Rob Jones
Avoid code duplication by using devm_kmemdup() to copy data instead of having a separate loop within devm_kstrdup(). Reviewed-by: Ian Molton ian.mol...@codethink.co.uk Signed-off-by: Rob Jones rob.jo...@codethink.co.uk --- drivers/base/devres.c |9 + 1 file changed, 1 insertion(+), 8

[PATCH 4/4] drivers/regulator: gpio-regulator.c: use managed resources for probe.

2014-06-19 Thread Rob Jones
Use managed resource functions for all resource allocations in gpio_regulator_probe(). Remove gpio_regulator_remove() as it is now redundant. Reviewed-by: Ian Molton ian.mol...@codethink.co.uk Signed-off-by: Rob Jones rob.jo...@codethink.co.uk --- drivers/regulator/gpio-regulator.c | 70

Change gpio-reulator-probe() to use managed resources.

2014-06-19 Thread Rob Jones
Add new managed resource functions as needed to achieve this. Amend the following functions: devm_kstrdup() gpio_regulator_probe() Add the following functions: devm_kmemdup() devm_gpio_request_array() devm_gpio_free_array() Remove the following functions: gpio_regulator_remove() From Rob

Re: How to disable Lazy Preempt in the kernel

2014-06-19 Thread tdjames
When I use echo NO_PREEMPT_LAZY /sys/kernel/debug/sched_features (as root), I get the following error: bash: echo: write error: Invalid argument How do I get past this? Thanks -- View this message in context:

Re: [PATCH] clocksource: exynos-mct: Register the timer for stable udelay

2014-06-19 Thread Doug Anderson
Daniel, On Thu, Jun 19, 2014 at 2:07 AM, Daniel Lezcano daniel.lezc...@linaro.org wrote: On 06/19/2014 01:17 AM, Doug Anderson wrote: Amit, Thanks for posting! On Wed, Jun 18, 2014 at 4:31 AM, Amit Daniel Kachhap amit.dan...@samsung.com wrote: This patch register the exynos mct

Re: [trace:ftrace/core 1/3] include/trace/syscall.h:39:6: error: 'TIF_SYSCALL_TRACEPOINT' undeclared

2014-06-19 Thread Oleg Nesterov
On 06/19, Steven Rostedt wrote: On Thu, 19 Jun 2014 17:03:00 +0200 Oleg Nesterov o...@redhat.com wrote: Argh... but it seems that that patch really needs a fix? - #ifdef CONFIG_TRACEPOINTS + #ifdef CONFIG_HAVE_SYSCALL_TRACEPOINTS or even - #ifdef CONFIG_TRACEPOINTS

Re: [PATCH 2/5] perf tools: Remove ev_name argument from perf_evsel__hists_browse

2014-06-19 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 19, 2014 at 01:41:13PM +0200, Jiri Olsa escreveu: Removing ev_name argument from perf_evsel__hists_browse function, because it's not needed. We can get the name out of the 'struct perf_evsel' which is passed as argument as well. See? What you did, why you did it, thanks! Applied,

[PATCH] mm: slub: SLUB_DEBUG=n: use the same alloc/free hooks as for SLUB_DEBUG=y

2014-06-19 Thread Andrey Ryabinin
There are two versions of alloc/free hooks now - one for CONFIG_SLUB_DEBUG=y and another one for CONFIG_SLUB_DEBUG=n. I see no reason why calls to other debugging subsystems (LOCKDEP, DEBUG_ATOMIC_SLEEP, KMEMCHECK and FAILSLAB) are hidden under SLUB_DEBUG. All this features should work regardless

[PATCH 2/2] perf/x86: fix constraints for load latency and precise events

2014-06-19 Thread Stephane Eranian
The load latency does not have to be constrained to counter 3 on any of SNB, IVB, HSW. It operates fine on any PEBS-capable counter. The precise store event for SNB, IVB needs to be on counter 3. But on Haswell, precise store is implemented differently and the constraint is not needed anymore, so

[PATCH 0/2] perf/x86: improve Intel load latency and precise store event constraints

2014-06-19 Thread Stephane Eranian
This short series of patches improves the event contraint tables for Intel SNB, IVB and HSW processors. 1/ removes unnecessary constraints on the Load Latency event The constraint to counter 3 is not needed. The events works well on any PEBS-capable counter. The artificial constraint on

Re: [PATCH] ARM: tegra: TN7: relax some regulators

2014-06-19 Thread Stephen Warren
On 06/19/2014 01:49 AM, Alexandre Courbot wrote: Remove the regulator-always-on property from some regulators that do not need it. On recent kernels fixed regulators which supply is always on fail registration. That sounds like a bug in the regulator core, which should be fixed there. After

[PATCH 1/2] perf/x86: update Haswell PEBS event constraints

2014-06-19 Thread Stephane Eranian
The following events support PEBS for all umasks, thus use INTEL_EVENT_CONSTRAINT() instead of INTEL_UEVENT_CONSTRAINT(): 0xd1 MEM_LOAD_UOPS_RETIRED 0xd2 MEM_LOAD_UOPS_LLC_HIT_RETIRED 0xd3 MEM_LOAD_UOPS_LLC_MISS_RETIRED For event 0xd0 (MEM_UOPS_RETIRED), the same is true, except we need to

Re: [PATCH 3/4] drivers/base: devres.c: use devm_kmemdup() from with devm_kstrdup()

2014-06-19 Thread Joe Perches
On Thu, 2014-06-19 at 16:46 +0100, Rob Jones wrote: Avoid code duplication by using devm_kmemdup() to copy data instead of having a separate loop within devm_kstrdup(). Reviewed-by: Ian Molton ian.mol...@codethink.co.uk Signed-off-by: Rob Jones rob.jo...@codethink.co.uk [] diff --git

Re: BUG: scheduling while atomic in blk_mq codepath?

2014-06-19 Thread Jens Axboe
On 2014-06-19 08:35, Theodore Ts'o wrote: While trying to bisect some problems which were introduced sometime between 3.15 and 3.16-rc1 (specifically, (1) reads to a block device at offset 262144 * 4k are failing with a short read, and (2) block device reads are sometimes causing the entire

Re: [PATCH 6/9] ARM: tegra: Export tegra_powergate_power_on

2014-06-19 Thread Stephen Warren
On 06/19/2014 02:02 AM, Peter De Schrijver wrote: On Wed, Jun 18, 2014 at 05:37:54PM +0200, Stephen Warren wrote: On 06/18/2014 06:18 AM, Peter De Schrijver wrote: On Tue, Jun 17, 2014 at 11:51:20PM +0200, Thierry Reding wrote: * PGP Signed by an unknown key On Tue, Jun 17, 2014 at

Re: [PATCH v2] clocksource: exynos-mct: Register the timer for stable udelay

2014-06-19 Thread Doug Anderson
Hi, On Thu, Jun 19, 2014 at 3:21 AM, Tomasz Figa tomasz.f...@gmail.com wrote: +static struct delay_timer exynos4_delay_timer; + +static unsigned long exynos4_read_current_timer(void) Note: I think this should return a cycles_t, not an unsigned long. They're the same (right now), but probably

[PATCH 2/3] staging: lustre: lustre: ldlm: ldlm_lib.c - removed unnecessary braces

2014-06-19 Thread Anil Belur
From: Anil Belur ask...@gmail.com - this change fixes WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Anil Belur ask...@gmail.com --- drivers/staging/lustre/lustre/ldlm/ldlm_lib.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

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

2014-06-19 Thread Anil Belur
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 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

Re: mmu_notifier and i915_gem_userptr.c

2014-06-19 Thread Chris Wilson
On Thu, Jun 19, 2014 at 05:36:55PM +0200, Joerg Roedel wrote: Hey Chris, recently I had a look at i915_gem_userptr.c in order to extend the mmu_notifier call-backs implemented there. My goal is to implement the change_pte call-back where it is necessary to get rid of it being wrapped

Re: [PATCH v6 1/5] usb: musb: core: Handle Babble condition only in HOST mode

2014-06-19 Thread Felipe Balbi
Hi, On Thu, Jun 19, 2014 at 03:44:42AM -0700, Tony Lindgren wrote: * George Cherian george.cher...@ti.com [140526 02:25]: BABBLE and RESET share the same interrupt. The interrupt is considered to be RESET if MUSB is in peripheral mode and as a BABBLE if MUSB is in HOST mode. Handle

Re: [PATCH] clocksource: exynos-mct: Register the timer for stable udelay

2014-06-19 Thread Daniel Lezcano
On 06/19/2014 05:49 PM, Doug Anderson wrote: Daniel, On Thu, Jun 19, 2014 at 2:07 AM, Daniel Lezcano daniel.lezc...@linaro.org wrote: On 06/19/2014 01:17 AM, Doug Anderson wrote: Amit, Thanks for posting! On Wed, Jun 18, 2014 at 4:31 AM, Amit Daniel Kachhap amit.dan...@samsung.com wrote:

[PATCH 3/3] staging: lustre: ldlm: ldlm_lib.c removed unecessary space after function name

2014-06-19 Thread Anil Belur
From: Anil Belur ask...@gmail.com - this fixes WARNING: space prohibited between function name and open parenthesis '( Signed-off-by: Anil Belur ask...@gmail.com --- drivers/staging/lustre/lustre/ldlm/ldlm_lib.c | 24 1 file changed, 12 insertions(+), 12 deletions(-)

[GIT PULL v2] LinusW - Immutable branch between MFD and GPIO

2014-06-19 Thread Lee Jones
Linus, Slight amendment. I've applied a fix, as this branch broke PPC. The following changes since commit 7171511eaec5bf23fb06078f59784a3a0626b38f: Linux 3.16-rc1 (2014-06-15 17:45:28 -1000) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git

Re: BUG: scheduling while atomic in blk_mq codepath?

2014-06-19 Thread Theodore Ts'o
On Thu, Jun 19, 2014 at 08:59:26AM -0700, Jens Axboe wrote: I believe you already reported this issue a while back, and it should be fixed by commit cb96a42c in the kernel. Ah yes, I had forgotten. Thanks for the reminder! The other issue, not sure, not a lot of detail. It may be fixed by

Re: [trace:ftrace/core 1/3] include/trace/syscall.h:39:6: error: 'TIF_SYSCALL_TRACEPOINT' undeclared

2014-06-19 Thread Steven Rostedt
On Thu, 19 Jun 2014 17:51:08 +0200 Oleg Nesterov o...@redhat.com wrote: Please tell me if I should another [PATCH] email or resend 2-3 as well. Sorry for inconvenience. This is fine. I'm going to do what I seldom do and rebase my for-next branch with this one instead. But first I'll run this

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

2014-06-19 Thread Daniel Vetter
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 and tearing (like what you might see if an analog display had

kernel BUG - handle_mm_fault - Ubuntu 14.04 kernel 3.13.0-29-generic

2014-06-19 Thread Peter Maloney
Hi, can someone please take a look at this and tell me what is going on? The event log reports no ECC errors. This machine was working fine with an older Ubuntu version, and has failed this way twice since an upgrade 2 weeks ago. Symptoms include: - load goes up high, currently 1872.72 - ps

Re: [REPOST PATCH 4/8] android: convert sync to fence api, v5

2014-06-19 Thread Maarten Lankhorst
op 19-06-14 17:22, Colin Cross schreef: On Wed, Jun 18, 2014 at 11:37 PM, Daniel Vetter dan...@ffwll.ch wrote: On Wed, Jun 18, 2014 at 06:15:56PM -0700, Greg KH wrote: On Wed, Jun 18, 2014 at 12:37:11PM +0200, Maarten Lankhorst wrote: Just to show it's easy. Android syncpoints can be mapped

Re: BUG: scheduling while atomic in blk_mq codepath?

2014-06-19 Thread Theodore Ts'o
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: git://git.kernel.dk/linux-block.git for-linus Thanks, I'll give that a try. I tried merging

Re: [PATCH v2] clocksource: exynos-mct: Register the timer for stable udelay

2014-06-19 Thread Tomasz Figa
On 19.06.2014 18:01, Doug Anderson wrote: Hi, On Thu, Jun 19, 2014 at 3:21 AM, Tomasz Figa tomasz.f...@gmail.com wrote: +static struct delay_timer exynos4_delay_timer; + +static unsigned long exynos4_read_current_timer(void) Note: I think this should return a cycles_t, not an unsigned

Re: [PATCH] clocksource: exynos-mct: Register the timer for stable udelay

2014-06-19 Thread Doug Anderson
Daniel, On Thu, Jun 19, 2014 at 9:02 AM, Daniel Lezcano daniel.lezc...@linaro.org wrote: My understanding of the current status is: * I posed the 64-bit version that's almost as fast as the 32-bit version. * I asked if people want the 32-bit version: no answer * I asked if anyone is opposed

Re: [RFC] Tux3 for review

2014-06-19 Thread Josef Bacik
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:

Re: [PATCH] workqueue: remove the empty check in too_many_workers()

2014-06-19 Thread Tejun Heo
On Tue, Jun 03, 2014 at 03:32:07PM +0800, Lai Jiangshan wrote: The commit ea1abd6197d5 (workqueue: reimplement idle worker rebinding) used a trick which simply removes all to-be-bound idle workers from the idle list and lets them add themselves back after completing rebinding. And this trick

Re: [PATCH] ARM: mvebu: Fix missing binding documentation for Armada 38x

2014-06-19 Thread Gregory CLEMENT
Hi Rob, On 19/06/2014 16:54, Rob Herring wrote: On Thu, Jun 19, 2014 at 9:07 AM, Gregory CLEMENT gregory.clem...@free-electrons.com wrote: For the Armada 380 and Armada 385 SoCs, the common bindings for those 2 SoCs, was forgotten. This patch add the documentation for the marvell,aramda38x

Re: [PATCH] workqueue: use schedule_timeout_interruptible() instead of open code

2014-06-19 Thread Tejun Heo
On Tue, Jun 03, 2014 at 03:32:17PM +0800, Lai Jiangshan wrote: schedule_timeout_interruptible(CREATE_COOLDOWN) is exactly the same as the original code. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com Applied to wq/for-3.17. Thanks. -- tejun -- To unsubscribe from this list: send the

Re: [PATCH] brcmfmac: prevent watchdog from interfering with scanning and connecting

2014-06-19 Thread Fu, Zhonghui
On 2014/6/16 16:15, Arend van Spriel wrote: On 16-06-14 07:49, Fu, Zhonghui wrote: From 14485894add32aedacb3e486ebb2cc2b73861abf Mon Sep 17 00:00:00 2001 From: Fu zhonghui zhonghui...@linux.intel.com Date: Wed, 11 Jun 2014 11:06:55 +0800 Subject: [PATCH] brcmfmac: prevent watchdog from

Re: [PATCH] workqueue: remove useless WARN_ON_ONCE()

2014-06-19 Thread Tejun Heo
On Tue, Jun 03, 2014 at 03:32:41PM +0800, Lai Jiangshan wrote: The @cpu is fetched via smp_processor_id() in this function, so the check is useless. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com Applied to wq/for-3.17. Thanks. -- tejun -- To unsubscribe from this list: send the line

Re: [tracing] 939c7a4f04f: -46.4% cpuidle.C3-IVT.time

2014-06-19 Thread Fengguang Wu
Hi Yoshihiro, On Thu, Jun 19, 2014 at 03:04:22PM +0900, Yoshihiro YUNOMAE wrote: Hi Jet, Thank you for your report. I have some questions for your test. 1. Did you enable ftrace? Yes, ftrace is enabled. Attached is the kernel config. This patch added a feature for ftrace. If you

[PATCH] Coccinelle: Script to drop parenthesis in the return statements

2014-06-19 Thread Himangi Saraogi
This script detects the use of a parenthesis around return value ot the return statements and removes them as they are unnecessary and against the CodingStyle. A new directory called checkpatch is added for semantic patches that just make patches for what checkpatch does. This will help developers

Re: [PATCH v2] clocksource: exynos-mct: Register the timer for stable udelay

2014-06-19 Thread Doug Anderson
Tomasz, On Thu, Jun 19, 2014 at 9:17 AM, Tomasz Figa tomasz.f...@gmail.com wrote: On 19.06.2014 18:01, Doug Anderson wrote: Hi, On Thu, Jun 19, 2014 at 3:21 AM, Tomasz Figa tomasz.f...@gmail.com wrote: +static struct delay_timer exynos4_delay_timer; + +static unsigned long

Re: [PATCH] workqueue: clear leftover flags when detached

2014-06-19 Thread Tejun Heo
On Tue, Jun 03, 2014 at 03:32:52PM +0800, Lai Jiangshan wrote: When a worker is detached, the worker-flags may still have WORKER_UNBOUND or WORKER_REBOUND, it is OK for all cases: 1) if it is a normal worker, the worker will be dead, it is OK. 2) if it is a rescuer, it may re-attach to a

Re: [PATCH] ARM: mvebu: Fix missing binding documentation for Armada 38x

2014-06-19 Thread Sergei Shtylyov
On 06/19/2014 06:07 PM, Gregory CLEMENT wrote: For the Armada 380 and Armada 385 SoCs, the common bindings for those 2 SoCs, was forgotten. This patch add the documentation for the marvell,aramda38x property. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- Hi, This

Re: [PATCH] workqueue: sanity check pool-cpu in wq_worker_sleeping()

2014-06-19 Thread Tejun Heo
On Tue, Jun 03, 2014 at 03:33:08PM +0800, Lai Jiangshan wrote: In theory, pool-cpu is equals to @cpu in wq_worker_sleeping() after worker-flags is checked. And pool-cpu != cpu sanity check will help us if something wrong. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com ---

Re: [PATCH] ARM: mvebu: Fix missing binding documentation for Armada 38x

2014-06-19 Thread Sergei Shtylyov
On 06/19/2014 06:07 PM, Gregory CLEMENT wrote: For the Armada 380 and Armada 385 SoCs, the common bindings for those 2 SoCs, was forgotten. This patch add the documentation for the marvell,aramda38x property. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- Hi, This

Re: [PATCH 1/1 v2] media: dib9000: avoid out of bound access

2014-06-19 Thread Kees Cook
On Thu, Jun 19, 2014 at 7:49 AM, Heinrich Schuchardt xypron.g...@gmx.de wrote: This updated patch also fixes out of bound access to b[]. In dib9000_risc_apb_access_write() an out of bound access to mb[]. The current test to avoid out of bound access to mb[] is insufficient. For len = 19

Re: [REPOST PATCH 4/8] android: convert sync to fence api, v5

2014-06-19 Thread Daniel Vetter
On Thu, Jun 19, 2014 at 08:35:29AM -0700, Colin Cross wrote: On Thu, Jun 19, 2014 at 5:28 AM, Daniel Vetter dan...@ffwll.ch wrote: On Thu, Jun 19, 2014 at 1:48 PM, Thierry Reding thierry.red...@gmail.com wrote: With these changes, can we pull the android sync logic out of

Re: [PATCH] Coccinelle: Script to drop parenthesis in the return statements

2014-06-19 Thread Joe Perches
On Thu, 2014-06-19 at 21:59 +0530, Himangi Saraogi wrote: This script detects the use of a parenthesis around return value ot the return statements and removes them as they are unnecessary and against the CodingStyle. A new directory called checkpatch is added for semantic patches that just

Re: [PATCH] workqueue: use pool-cpu 0 to stand for an unbound pool

2014-06-19 Thread Tejun Heo
On Tue, Jun 03, 2014 at 03:31:45PM +0800, Lai Jiangshan wrote: There is a piece of sanity checks code in the put_unbound_pool(). The meaning of this code is if it is not an unbound pool, it will complain and return IIUC. But the code uses pool-flags POOL_DISASSOCIATED imprecisely due to a

Re: kernel BUG - handle_mm_fault - Ubuntu 14.04 kernel 3.13.0-29-generic

2014-06-19 Thread Kirill A. Shutemov
On Thu, Jun 19, 2014 at 06:10:11PM +0200, Peter Maloney wrote: Hi, can someone please take a look at this and tell me what is going on? The event log reports no ECC errors. This machine was working fine with an older Ubuntu version, and has failed this way twice since an upgrade 2 weeks

Re: [PATCH] brcmfmac: prevent watchdog from interfering with scanning and connecting

2014-06-19 Thread Arend van Spriel
On 19-06-14 18:28, Fu, Zhonghui wrote: On 2014/6/16 16:15, Arend van Spriel wrote: On 16-06-14 07:49, Fu, Zhonghui wrote: From 14485894add32aedacb3e486ebb2cc2b73861abf Mon Sep 17 00:00:00 2001 From: Fu zhonghui zhonghui...@linux.intel.com Date: Wed, 11 Jun 2014 11:06:55 +0800 Subject:

[PATCH 4/9] tools lib traceevent: Fix and cleanup kvm_nested_vmexit tracepoints

2014-06-19 Thread Jiri Olsa
From: Jan Kiszka jan.kis...@siemens.com 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. Link:

[PATCH 2/9] tools lib traceevent: Factor out print_exit_reason in kvm plugin

2014-06-19 Thread Jiri Olsa
From: Jan Kiszka jan.kis...@siemens.com We will reuse it for nested vmexit tracepoints. Link: http://lkml.kernel.org/r/619c418c8af87f03027b8c8013b0443996605700.1388855989.git.jan.kis...@web.de Acked-by: Namhyung Kim namhy...@kernel.org Signed-off-by: Jan Kiszka jan.kis...@siemens.com

[PATCH 9/9] perf symbols: Get kernel start address by symbol name

2014-06-19 Thread Jiri Olsa
From: Simon Que s...@chromium.org The function machine__get_kernel_start_addr() was taking the first symbol of kallsyms as the start address. This is incorrect in certain cases where the first symbol is something at 0, while the actual kernel functions begin at a later point (e.g. 0x8020).

[GIT PULL 0/9] perf/core improvements and fixes

2014-06-19 Thread Jiri Olsa
hi Ingo, please consider pulling thanks, jirka The following changes since commit 4ba96195051be30160af6d5f5f83f9a055ab1f23: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf into perf/core (2014-06-13 08:19:06 +0200) are available in the git

[PATCH 1/9] tools lib traceevent: Report unknown VMX exit reasons with code

2014-06-19 Thread Jiri Olsa
From: Jan Kiszka jan.kis...@siemens.com Allows to parse the result even if the KVM plugin does not yet understand a specific exit code. Link: http://lkml.kernel.org/r/5207446f.1090...@web.de Acked-by: Namhyung Kim namhy...@kernel.org Signed-off-by: Jan Kiszka jan.kis...@siemens.com

Re: [usb resume regression] in 3.16-rc1

2014-06-19 Thread Jörg Otte
I don't know how to do this. Thanks, Jörg 2014-06-19 17:02 GMT+02:00 Alan Stern st...@rowland.harvard.edu: On Thu, 19 Jun 2014, Jörg Otte wrote: on resume with 3.16-rc1 I get the following error messages in dmesg which are alltogether not present in 3.15: [ 43.518116] dpm_run_callback():

Re: [PATCH v2] clocksource: exynos-mct: Register the timer for stable udelay

2014-06-19 Thread Tomasz Figa
On 19.06.2014 18:31, Doug Anderson wrote: Tomasz, On Thu, Jun 19, 2014 at 9:17 AM, Tomasz Figa tomasz.f...@gmail.com wrote: On 19.06.2014 18:01, Doug Anderson wrote: Hi, On Thu, Jun 19, 2014 at 3:21 AM, Tomasz Figa tomasz.f...@gmail.com wrote: +static struct delay_timer

[PATCH 7/9] tools lib traceevent: Clean up format of args in jbd2 plugin

2014-06-19 Thread Jiri Olsa
From: Steven Rostedt rost...@goodmis.org While synchronizing what's in trace-cmd vs what's in perf, I came across a change that was made when entering the jbd2 plugin into the tools/lib/traceevent directory. For example, one of the function prototypes went from: unsigned long long

Re: [PATCH 9/9] perf bench: futex: Support operations for shared futexes

2014-06-19 Thread Arnaldo Carvalho de Melo
Em Mon, Jun 16, 2014 at 11:14:27AM -0700, Davidlohr Bueso escreveu: Unlike futex-hash, requeuing and wakeup benchmarks do not support shared futexes, limiting the usefulness of the programs. Correct this, and allow using the local -S parameter. The default remains using private futexes. Also

Re: [tracing] 939c7a4f04f: -46.4% cpuidle.C3-IVT.time

2014-06-19 Thread Steven Rostedt
On Fri, 20 Jun 2014 00:28:42 +0800 Fengguang Wu fengguang...@intel.com wrote: Hi Yoshihiro, On Thu, Jun 19, 2014 at 03:04:22PM +0900, Yoshihiro YUNOMAE wrote: Hi Jet, Thank you for your report. I have some questions for your test. 1. Did you enable ftrace? Yes, ftrace is

[PATCH 6/9] tools lib traceevent: Clean up format of args in cfg80211 plugin

2014-06-19 Thread Jiri Olsa
From: Steven Rostedt rost...@goodmis.org While synchronizing what's in trace-cmd vs what's in perf, I came across a change that was made when entering the cfg80211 plugin into the tools/lib/traceevent directory. The function prototype went from: static unsigned long long

[PATCH v2] ARM: mvebu: Fix missing binding documentation for Armada 38x

2014-06-19 Thread Gregory CLEMENT
For the Armada 380 and Armada 385 SoCs, the common bindings for those 2 SoCs, was forgotten. This patch add the documentation for the marvell,aramda38x property. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com -- Hi, This fix should be merged in 3.16. For 3.15 I am not sure as

[PATCH 5/9] tools lib traceevent: Fix format in plugin_kvm

2014-06-19 Thread Jiri Olsa
From: Steven Rostedt rost...@goodmis.org The format field argument passed to the format in pevent_print_num_field() will be of type long long. That means that %ll must be used instead of %l. Acked-by: Namhyung Kim namhy...@kernel.org Reported-by: Namhyung Kim namhy...@kernel.org Signed-off-by:

Re: [PATCH 6/9] perf bench: futex: Replace --silent option with global --format

2014-06-19 Thread Arnaldo Carvalho de Melo
Em Mon, Jun 16, 2014 at 11:14:24AM -0700, Davidlohr Bueso escreveu: Using the already existing '--format simple' option in perf-bench is/should be equivalent to disabling any verbose output. Replace it and free up the -s option specific to the futex benchmark. Isn't this much longer? I

[PATCH 3/9] tools lib traceevent: Add back in kvm plugins nested_vmexit events

2014-06-19 Thread Jiri Olsa
From: Steven Rostedt (Red Hat) rost...@goodmis.org The nested vmexit events were removed from the backport from trace-cmd because they were considered buggy. They have since been updated in trace-cmd but are still missing from the traceevent library. Add back in the buggy version to be able to

Re: [PATCH 9/9] perf bench: futex: Support operations for shared futexes

2014-06-19 Thread Davidlohr Bueso
On Thu, 2014-06-19 at 13:41 -0300, Arnaldo Carvalho de Melo wrote: Em Mon, Jun 16, 2014 at 11:14:27AM -0700, Davidlohr Bueso escreveu: Unlike futex-hash, requeuing and wakeup benchmarks do not support shared futexes, limiting the usefulness of the programs. Correct this, and allow using the

[PATCH 8/9] perf tools: Fix segfault in cumulative.callchain report

2014-06-19 Thread Jiri Olsa
When cumulative callchain mode is on, we could get samples with with no actual hits. This breaks the assumption of the annotation code, that each sample has annotation counts allocated and leads to segfault. Fixing this by additional checks for annotation stats. Acked-by: Namhyung Kim

BUG at mm/memory.c

2014-06-19 Thread Ortwin Glück
Hi, I was hitting a BUG while running a couple of qemu 2.0 on a 3.15.0 kernel. KSM was running. This box uses NUMA with two E5 6-core Xeons. Linux toaster 3.15.0 #1 SMP PREEMPT Thu Jun 12 14:05:12 CEST 2014 x86_64 Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz GenuineIntel GNU/Linux Jun 17

Re: [PATCH] Coccinelle: Script to drop parenthesis in the return statements

2014-06-19 Thread Julia Lawall
On Thu, 19 Jun 2014, Joe Perches wrote: On Thu, 2014-06-19 at 21:59 +0530, Himangi Saraogi wrote: This script detects the use of a parenthesis around return value ot the return statements and removes them as they are unnecessary and against the CodingStyle. A new directory called

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

2014-06-19 Thread Jiri Olsa
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 you did, and that helps in understanding what this patch is

Re: BUG at mm/memory.c

2014-06-19 Thread Kirill A. Shutemov
On Thu, Jun 19, 2014 at 06:30:38PM +0200, Ortwin Glück wrote: Hi, I was hitting a BUG while running a couple of qemu 2.0 on a 3.15.0 kernel. KSM was running. This box uses NUMA with two E5 6-core Xeons. Linux toaster 3.15.0 #1 SMP PREEMPT Thu Jun 12 14:05:12 CEST 2014 x86_64 Intel(R)

Re: slub/debugobjects: lockup when freeing memory

2014-06-19 Thread Paul E. McKenney
On Thu, Jun 19, 2014 at 10:03:04AM -0500, Christoph Lameter wrote: On Thu, 19 Jun 2014, Sasha Levin wrote: [ 690.770137] ? __this_cpu_preempt_check (lib/smp_processor_id.c:63) [ 690.770137] __slab_alloc (mm/slub.c:1732 mm/slub.c:2205 mm/slub.c:2369) [ 690.770137] ? __lock_acquire

Re: [PATCH v2 6/6] percpu-refcount: implement percpu_ref_reinit() and percpu_ref_is_zero()

2014-06-19 Thread Paul E. McKenney
On Thu, Jun 19, 2014 at 09:31:04AM -0400, Tejun Heo wrote: On Thu, Jun 19, 2014 at 11:01:26AM +0800, Lai Jiangshan wrote: + /* + * Restore per-cpu operation. smp_store_release() is paired with + * smp_load_acquire() in __pcpu_ref_alive() and guarantees that the

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

2014-06-19 Thread Greg KH
On Thu, Jun 19, 2014 at 10:00:18AM -0400, Rob Clark wrote: On Wed, Jun 18, 2014 at 9:13 PM, Greg KH gre...@linuxfoundation.org wrote: On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote: +#define CREATE_TRACE_POINTS +#include trace/events/fence.h +

Re: [PATCH] Coccinelle: Script to drop parenthesis in the return statements

2014-06-19 Thread Joe Perches
On Thu, 2014-06-19 at 18:49 +0200, Julia Lawall wrote: On Thu, 19 Jun 2014, Joe Perches wrote: On Thu, 2014-06-19 at 21:59 +0530, Himangi Saraogi wrote: This script detects the use of a parenthesis around return value ot the return statements and removes them as they are unnecessary and

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

2014-06-19 Thread Jiri Olsa
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 the appearance of the columns headers. Currently

Re: [PATCH] bug: Fix CONFIG_BUG=n BUG_ON()

2014-06-19 Thread Arnd Bergmann
On Thursday 19 June 2014 15:28:19 Bart Van Assche wrote: Patch bug: Make BUG() always stop the machine changed the behavior of BUG() with CONFIG_BUG=n from a no-op into an infinite loop. Modify the definition of BUG_ON() accordingly such that the behavior of BUG_ON(1) is identical to that of

Re: [PATCH 6/9] perf bench: futex: Replace --silent option with global --format

2014-06-19 Thread Davidlohr Bueso
On Thu, 2014-06-19 at 13:38 -0300, Arnaldo Carvalho de Melo wrote: Em Mon, Jun 16, 2014 at 11:14:24AM -0700, Davidlohr Bueso escreveu: Using the already existing '--format simple' option in perf-bench is/should be equivalent to disabling any verbose output. Replace it and free up the -s

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

2014-06-19 Thread Jiri Olsa
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 = { .demangle = true,

Re: [PATCH 9/9] perf bench: futex: Support operations for shared futexes

2014-06-19 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 19, 2014 at 09:43:49AM -0700, Davidlohr Bueso escreveu: On Thu, 2014-06-19 at 13:41 -0300, Arnaldo Carvalho de Melo wrote: Em Mon, Jun 16, 2014 at 11:14:27AM -0700, Davidlohr Bueso escreveu: Unlike futex-hash, requeuing and wakeup benchmarks do not support shared futexes,

Re: How to disable Lazy Preempt in the kernel

2014-06-19 Thread Mike Galbraith
On Thu, 2014-06-19 at 08:49 -0700, tdjames wrote: When I use echo NO_PREEMPT_LAZY /sys/kernel/debug/sched_features (as root), I get the following error: bash: echo: write error: Invalid argument How do I get past this? Thanks Easy, do.. nothing. (it's build-time disabled on x86_64;)

Re: [PATCH 6/6] percpu-refcount: implement percpu_ref_reinit() and percpu_ref_is_zero()

2014-06-19 Thread Paul E. McKenney
On Thu, Jun 19, 2014 at 09:36:24AM -0400, Tejun Heo wrote: Hey, Paul. On Wed, Jun 18, 2014 at 07:27:08PM -0700, Paul E. McKenney wrote: Yep, smp_load_acquire() orders its load against later loads and stores, so it really does need a memory barrier on weakly ordered systems. Yeap.

[PATCH v2] drivers/i915: Fix unnoticed failure of init_ring_common()

2014-06-19 Thread Konrad Zapalowicz
This commit add check for return value of init_ring_common() in the init_render_ring(). Now, when failure is detected the error code is propagated to the caller instead of being ignored. Signed-off-by: Konrad Zapalowicz bergo.tor...@gmail.com --- v2: - remove from commit message references

Re: [PATCH 1/3] clocksource: exynos_mct: Fix ftrace

2014-06-19 Thread Doug Anderson
Daniel, On Tue, Jun 17, 2014 at 5:13 AM, Daniel Lezcano daniel.lezc...@linaro.org wrote: On 06/04/2014 07:30 PM, Doug Anderson wrote: In (93bfb76 clocksource: exynos_mct: register sched_clock callback) we supported using the MCT as a scheduler clock. We properly marked

Re: [PATCH v6 07/10] x86, mpx: decode MPX instruction to get bound violation information

2014-06-19 Thread Dave Hansen
On 06/18/2014 11:53 PM, Ren, Qiaowei wrote: On 2014-06-19, Borislav Petkov wrote: On Thu, Jun 19, 2014 at 01:13:48AM +, Ren, Qiaowei wrote: On 2014-06-18, Borislav Petkov wrote: On Wed, Jun 18, 2014 at 05:44:13PM +0800, Qiaowei Ren wrote: This whole insn decoding machinery above looks

[PATCH v2] clocksource: exynos_mct: Fix ftrace

2014-06-19 Thread Doug Anderson
In (93bfb76 clocksource: exynos_mct: register sched_clock callback) we supported using the MCT as a scheduler clock. We properly marked exynos4_read_sched_clock() as notrace. However, we then went and called another function that _wasn't_ notrace. That means if you do: cd

Re: [PATCHv2 1/2] ARM: tegra: tamonten: add the base board regulators

2014-06-19 Thread Stephen Warren
On 06/19/2014 07:25 AM, Alban Bedel wrote: Currently the Tamonten DTS define a fixed regulator for the 5V supply. However this regulator is in fact on the base board. Fix this by properly defining the regulators found on the base boards. I've applied the series to Tegra's for-3.17/dt branch.

Re: [PATCH v2 6/6] percpu-refcount: implement percpu_ref_reinit() and percpu_ref_is_zero()

2014-06-19 Thread Paul E. McKenney
On Thu, Jun 19, 2014 at 09:55:02AM -0700, Paul E. McKenney wrote: On Thu, Jun 19, 2014 at 09:31:04AM -0400, Tejun Heo wrote: On Thu, Jun 19, 2014 at 11:01:26AM +0800, Lai Jiangshan wrote: + /* +* Restore per-cpu operation. smp_store_release() is paired with +

Re: [PATCH] of: Check for phys_addr_t overflows in early_init_dt_add_memory_arch

2014-06-19 Thread Nicolas Pitre
On Thu, 19 Jun 2014, Rob Herring wrote: On Thu, Jun 19, 2014 at 12:04 AM, Laura Abbott lau...@codeaurora.org wrote: The common early_init_dt_add_memory_arch takes the base and size of a memory region as u64 types. The function never checks if the base and size can actually fit in a

[GIT PULL] liblockdep fixes for v3.15

2014-06-19 Thread Sasha Levin
The following changes since commit 7171511eaec5bf23fb06078f59784a3a0626b38f: Linux 3.16-rc1 (2014-06-15 17:45:28 -1000) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux.git liblockdep-fixes for you to fetch changes up to

Re: linux-next: Tree for Jun 19 (vhost_scsi)

2014-06-19 Thread Randy Dunlap
On 06/18/14 23:16, Stephen Rothwell wrote: Hi all, The powerpc allyesconfig is again broken more than usual. Changes since 20140618: on x86_64: CONFIG_NET is not enabled. ERROR: memcpy_fromiovecend [drivers/vhost/vhost_scsi.ko] undefined! drivers/vhost/scsi.c calls

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