Re: [PATCH 01/52] perf tools: Fix jump label always changing during tracing

2014-07-22 Thread Peter Zijlstra
On Wed, Jul 23, 2014 at 09:07:32AM +0300, Adrian Hunter wrote: > On 07/22/2014 05:11 PM, Peter Zijlstra wrote: > > On Tue, Jul 22, 2014 at 11:00:34AM -0300, Arnaldo Carvalho de Melo wrote: > >> Em Tue, Jul 22, 2014 at 04:17:10PM +0300, Adrian Hunter escreveu: > >>> Intel PT decoding walks the objec

Re: [PATCH v2 14/16] cpufreq: Add cpufreq driver for Tegra124

2014-07-22 Thread Viresh Kumar
On 23 July 2014 12:24, Thierry Reding wrote: > On Wed, Jul 23, 2014 at 10:14:44AM +0530, Viresh Kumar wrote: >> On 21 July 2014 21:09, Tuomas Tynkkynen wrote: >> >> > diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm >> > index 7364a53..df3c73e 100644 >> > --- a/drivers/cpufr

Re: [RFC PATCH 0/5] futex: introduce an optimistic spinning futex

2014-07-22 Thread Peter Zijlstra
On Wed, Jul 23, 2014 at 06:55:03AM +0200, Mike Galbraith wrote: > On Mon, 2014-07-21 at 09:42 -0700, Andi Kleen wrote: > > > FWIW the main problem is currently that switch-through-idle is so > > slow. I think improving that would give a boost to far more > > situations. > > Two high frequency id

Re: [PATCH v3] gpiolib: Export gpiochip_request_own_desc and gpiochip_free_own_desc

2014-07-22 Thread Mika Westerberg
On Tue, Jul 22, 2014 at 08:01:01AM -0700, Guenter Roeck wrote: > Both functions were introduced to let gpio drivers request their own > gpio pins. Without exporting the functions, this can however only be > used by gpio drivers built into the kernel. > > Secondary impact is that the functions can

Re: [PATCH v2 14/16] cpufreq: Add cpufreq driver for Tegra124

2014-07-22 Thread Thierry Reding
On Wed, Jul 23, 2014 at 10:14:44AM +0530, Viresh Kumar wrote: > On 21 July 2014 21:09, Tuomas Tynkkynen wrote: > > > diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm > > index 7364a53..df3c73e 100644 > > --- a/drivers/cpufreq/Kconfig.arm > > +++ b/drivers/cpufreq/Kconfig.arm

Re: [PATCH v1 2/3] mtd: hisilicon: add a new nand controller driver for hisilicon hip04 Soc

2014-07-22 Thread Zhou Wang
On 2014年07月15日 18:58, Zhou Wang wrote: Signed-off-by: Zhou Wang --- drivers/mtd/nand/Kconfig |5 + drivers/mtd/nand/Makefile|1 + drivers/mtd/nand/hisi_nand.c | 836 ++ 3 files changed, 842 insertions(+) create mode 100644 drivers/m

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-22 Thread Christian König
Am 23.07.2014 08:40, schrieb Maarten Lankhorst: op 22-07-14 17:59, Christian König schreef: Am 22.07.2014 17:42, schrieb Daniel Vetter: On Tue, Jul 22, 2014 at 5:35 PM, Christian König wrote: Drivers exporting fences need to provide a fence->signaled and a fence->wait function, everything els

Re: Scheduler regression from caffcdd8d27ba78730d5540396ce72ad022aff2c

2014-07-22 Thread Peter Zijlstra
On Tue, Jul 22, 2014 at 08:37:19PM -0500, Bruno Wolff III wrote: >build_sched_domain: cpu: 0 level: SMT cpu_map: 0-3 tl->mask: > 0,2 > [0.252441] build_sched_domain: cpu: 0 level: MC cpu_map: 0-3 tl->mask: 0,2 > [0.252526] build_sched_domain: cpu: 0 level: DIE cpu_map: 0-3

Re: [PATCH v2 00/25] AMDKFD kernel driver

2014-07-22 Thread Oded Gabbay
On 22/07/14 14:15, Daniel Vetter wrote: On Tue, Jul 22, 2014 at 12:52:43PM +0300, Oded Gabbay wrote: On 22/07/14 12:21, Daniel Vetter wrote: On Tue, Jul 22, 2014 at 10:19 AM, Oded Gabbay wrote: Exactly, just prevent userspace from submitting more. And if you have misbehaving userspace that su

Re: [PATCH] avr32: Remove unnessary variables from page.h

2014-07-22 Thread Hans-Christian Egtvedt
Around Wed 23 Jul 2014 02:42:36 -0400 or thereabout, Nicholas Krause wrote: > This removes the unneeded variables memory_start and memory_end in > order to fix this fix me message. > > Signed-off-by: Nicholas Krause This is already applied to my local for-linus branch, it will be pushed once Lin

Re: Random panic in load_balance() with 3.16-rc

2014-07-22 Thread Peter Zijlstra
On Tue, Jul 22, 2014 at 09:21:40PM -0700, Linus Torvalds wrote: > On Tue, Jul 22, 2014 at 8:53 PM, Michel Dänzer wrote: > > > > Just happened again with the same change on top of 3.16-rc6. > > The (maybe) related bugzilla entry is just odd. Bruno Wolff reports > that the BUG_ON() in his added pat

Re: smp-cmp.c: CDFIXMES

2014-07-22 Thread Paul Burton
On Wed, Jul 23, 2014 at 12:40:59AM -0400, Nick Krause wrote: > Are the lines with CDFIXME still needed? If not please tell me as I > will send in a patch removing these > two from this file in order to help you guys out :). > Cheers Nick Hi Nick, I imagine the only answer any of us can give you

[PATCH V2] ACPI/NVS: Not save NVS region for new machine to accelerate S3

2014-07-22 Thread Lan Tianyu
NVS region is saved and restored unconditionally for machines without nvs_nosave quirk during S3. Tested some new machines and the operation is not necessary. Saving NVS region also affects S2RAM speed. The time of NVS saving and restoring depends on the size of NVS region and it consumes 7~10ms no

[PATCH] avr32: Remove unnessary variables from page.h

2014-07-22 Thread Nicholas Krause
This removes the unneeded variables memory_start and memory_end in order to fix this fix me message. Signed-off-by: Nicholas Krause --- arch/avr32/include/asm/page.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/avr32/include/asm/page.h b/arch/avr32/include/asm/page.h index f805d1c..

linux-next: manual merge of the scsi tree with the net-next tree

2014-07-22 Thread Stephen Rothwell
Hi James, Today's linux-next merge of the scsi tree got a conflict in drivers/scsi/cxgbi/libcxgbi.h between commit fc8d0590d914 ("libcxgbi: Add ipv6 api to driver") from the net-next tree and commit 1abf635d2f33 ("scsi: use 64-bit value for 'max_luns'") from the scsi tree. I fixed it up (see belo

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-22 Thread Maarten Lankhorst
op 22-07-14 17:59, Christian König schreef: > Am 22.07.2014 17:42, schrieb Daniel Vetter: >> On Tue, Jul 22, 2014 at 5:35 PM, Christian König >> wrote: >>> Drivers exporting fences need to provide a fence->signaled and a fence->wait >>> function, everything else like fence->enable_signaling or cal

[PATCH v3 1/2] pwm: rockchip: document RK3288 SoC compatible

2014-07-22 Thread Caesar Wang
Document new compatible for PWM founding on RK3288 SoC Signed-off-by: Caesar Wang --- Documentation/devicetree/bindings/pwm/pwm-rockchip.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt b/Documentation/devicetree/

[PATCH v3 0/2] This series adds support for RK3288 SoC integrated PWM

2014-07-22 Thread Caesar Wang
This patch will make applying on the top of Beniamino's submission, the Beniamino's submission come from [1]. [1]: https://git.kernel.org/cgit/linux/kernel/git/thierry.reding/linux-pwm.git/log/?h=for-next Beniamino's submission won't be used from genenation Rockchip SoCs. So I have t

[PATCH v3 2/2] pwm: rockchip: Added to support for RK3288 SoC

2014-07-22 Thread Caesar Wang
This patch added to support the PWM controller found on RK3288 SoC. Signed-off-by: Caesar Wang --- drivers/pwm/pwm-rockchip.c | 141 +++-- 1 file changed, 122 insertions(+), 19 deletions(-) diff --git a/drivers/pwm/pwm-rockchip.c b/drivers/pwm/pwm-rockchi

[PATCH] tty/n_gsm.c: get gsm->num after gsm_activate_mux

2014-07-22 Thread xinhui.pan
gsm->num is the index of gsm_mux[], it's invalid before calling gsm_activate_mux. Signed-off-by: xinhui.pan --- drivers/tty/n_gsm.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c index 2ebe47b..81e7ccb 100644 --- a/drivers/tt

Re: [PATCH 0/3] Deterministic UART numbering on Samsung SoCs

2014-07-22 Thread Daniel Drake
On Wed, Jul 9, 2014 at 2:23 PM, One Thousand Gnomes wrote: >> I like the sound of going to the standard ttyS notation and only >> providing ports for ones that exist, but is this userspace-visible > > ttyS is 8250 compatible UARTS. > > If the Samsung is not an 8250 compatible UART then it doesn't

Re: [PATCH 17/52] perf evlist: Add perf_evlist__set_tracking_event()

2014-07-22 Thread Adrian Hunter
On 07/22/2014 10:22 PM, Jiri Olsa wrote: > On Tue, Jul 22, 2014 at 04:17:26PM +0300, Adrian Hunter wrote: > > SNIP > >> } >> + >> +int perf_evlist__set_tracking_event(struct perf_evlist *evlist, >> +struct perf_evsel *tracking_evsel) >> +{ >> +struct perf_evse

Re: [PATCH 13/52] perf tools: Add perf_pmu__scan_file()

2014-07-22 Thread Adrian Hunter
On 07/22/2014 10:09 PM, Jiri Olsa wrote: > On Tue, Jul 22, 2014 at 04:17:22PM +0300, Adrian Hunter wrote: > > SNIP > >> + >> +static FILE *perf_pmu__open_file(struct perf_pmu *pmu, const char *name) >> +{ >> +struct stat st; >> +char path[PATH_MAX]; >> +const char *sysfs; >> + >> +

Re: [PATCH 3/5] gpio: make gpiochip_get_desc() gpiolib-private

2014-07-22 Thread Guenter Roeck
On 07/22/2014 10:39 PM, Alexandre Courbot wrote: On Wed, Jul 23, 2014 at 12:47 PM, Guenter Roeck wrote: On 07/22/2014 08:10 PM, Alexandre Courbot wrote: On Wed, Jul 23, 2014 at 5:17 AM, Guenter Roeck wrote: On Tue, Jul 22, 2014 at 04:17:41PM +0900, Alexandre Courbot wrote: As GPIO descri

[PATCH -next] staging/goldfish/goldfish_audio: fix a sparse warning

2014-07-22 Thread Robin Schroer
Fix a pointer check to use NULL instead of 0 Warning: drivers/staging/goldfish/goldfish_audio.c:300:34: warning: Using plain integer as NULL pointer Signed-off-by: Robin Schroer --- drivers/staging/goldfish/goldfish_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dri

Re: Re: [PATCH V4 1/5] trace-cmd/listen: Apply the trace-msg protocol for communication between a server and clients

2014-07-22 Thread Yoshihiro YUNOMAE
Hi Steven, Thank you for your review. (2014/07/23 0:04), Steven Rostedt wrote: Sorry for taking so long to reply, I've been hacking on the kernel a bit and that takes precedence over user tools :-/ On Fri, 11 Jul 2014 00:58:26 + Yoshihiro YUNOMAE wrote: Apply trace-msg protocol for com

Re: [PATCH net-next 1/2] net: filter: split filter.c into two files

2014-07-22 Thread Varka Bhadram
On 07/23/2014 11:31 AM, Alexei Starovoitov wrote: BPF is used in several kernel components. This split creates logical boundary between generic eBPF core and the rest kernel/bpf/core.c: eBPF interpreter net/core/filter.c: classic->eBPF converter, classic verifiers, socket filters This patch on

[PATCH] Input: synaptics-rmi4 - fix compiler warnings in F11

2014-07-22 Thread Dmitry Torokhov
Signed-off-by: Dmitry Torokhov --- drivers/input/rmi4/rmi_f11.c | 135 +++ 1 file changed, 71 insertions(+), 64 deletions(-) diff --git a/drivers/input/rmi4/rmi_f11.c b/drivers/input/rmi4/rmi_f11.c index b739d31..7af4f68 100644 --- a/drivers/input/rmi4/rmi

Re: [PATCH 01/52] perf tools: Fix jump label always changing during tracing

2014-07-22 Thread Adrian Hunter
On 07/22/2014 05:11 PM, Peter Zijlstra wrote: > On Tue, Jul 22, 2014 at 11:00:34AM -0300, Arnaldo Carvalho de Melo wrote: >> Em Tue, Jul 22, 2014 at 04:17:10PM +0300, Adrian Hunter escreveu: >>> Intel PT decoding walks the object code to reconstruct >>> the trace. A jump label change during tracin

Re: [PATCH 01/52] perf tools: Fix jump label always changing during tracing

2014-07-22 Thread Adrian Hunter
On 07/22/2014 05:00 PM, Arnaldo Carvalho de Melo wrote: > Em Tue, Jul 22, 2014 at 04:17:10PM +0300, Adrian Hunter escreveu: >> Intel PT decoding walks the object code to reconstruct >> the trace. A jump label change during tracing causes >> decoding errors. >> >> The "Enable close-on-exec flag on

Re: [PATCH v4] fs: umount on symlink leaks mnt count

2014-07-22 Thread Ian Kent
On Mon, 2014-07-21 at 12:30 +0400, Vasily Averin wrote: > v4: description corrected > v3: patch inline > > Currently umount on symlink blocks following umount: > > /vz is separate mount > > # ls /vz/ -al | grep test > drwxr-xr-x. 2 root root 4096 Jul 19 01:14 testdir > lrwxrwxrwx. 1 root

[PATCH] serial/core: Fix too big allocation for attribute member

2014-07-22 Thread Yoshihiro YUNOMAE
Current code allocates too much data for tty_groups member of uart_port struct, so fix it. Signed-off-by: Yoshihiro YUNOMAE CC: Greg Kroah-Hartman CC: Dan Carpenter --- drivers/tty/serial/serial_core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/se

[PATCH net-next 1/2] net: filter: split filter.c into two files

2014-07-22 Thread Alexei Starovoitov
BPF is used in several kernel components. This split creates logical boundary between generic eBPF core and the rest kernel/bpf/core.c: eBPF interpreter net/core/filter.c: classic->eBPF converter, classic verifiers, socket filters This patch only moves functions. Signed-off-by: Alexei Starovoit

[PATCH net-next 0/2] net: filter: split eBPF interpreter out of core networking

2014-07-22 Thread Alexei Starovoitov
Hi David, I believe my recent set of RFC/patches [1] provided good visibility on where I would like to take eBPF subsystem. These two trivial patches is a first step in that direction: patch 1 - mechanical split of eBPF interpreter out of filter.c patch 2 - nominate myself as a maintainer for eBPF

[PATCH net-next 2/2] bpf: update MAINTAINERS entry

2014-07-22 Thread Alexei Starovoitov
Signed-off-by: Alexei Starovoitov --- MAINTAINERS |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 78215a5dea28..62bf15f6954f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1912,6 +1912,13 @@ S: Supported F: drivers/net/bonding/ F: incl

[git pull] Input updates for 3.16-rc6

2014-07-22 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus or master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive a few fixups for the input subsystem. Changelog: - Bjorn Helgaas (1): Input: sirfs

Re: [PATCH v2 3/4] virtio: rng: delay hwrng_register() till driver is ready

2014-07-22 Thread Rusty Russell
Amit Shah writes: > On (Mon) 21 Jul 2014 [17:15:51], Amit Shah wrote: >> Instead of calling hwrng_register() in the probe routing, call it in the >> scan routine. This ensures that when hwrng_register() is successful, >> and it requests a few random bytes to seed the kernel's pool at init, >> we'

Re: [PATCH 2/2] module: return bool from within_module*()

2014-07-22 Thread Rusty Russell
Petr Mladek writes: > The within_module*() functions return only true or false. Let's use bool as > the return type. > > Note that it should not change kABI because these are inline functions. > > Signed-off-by: Petr Mladek Thanks, applied both. Cheers, Rusty. > --- > include/linux/module.h |

Re: [patch] mm, arc: remove obsolete pagefault oom killer comment

2014-07-22 Thread Vineet Gupta
On Wednesday 23 July 2014 06:35 AM, David Rientjes wrote: > Commit 609838cfed97 ("mm: invoke oom-killer from remaining unconverted page > fault handlers") converted arc to call pagefault_out_of_memory(), so remove > the comment about future conversion. > > Cc: Johannes Weiner > Signed-off-by: Dav

Re: [PATCH] m68k: Remove printk statement and add return statement in q40ints.c

2014-07-22 Thread Guenter Roeck
On 07/22/2014 09:56 PM, Nick Krause wrote: On Wed, Jul 23, 2014 at 12:54 AM, Guenter Roeck wrote: On 07/22/2014 09:08 PM, Nicholas Krause wrote: This removes the printk statement for irqs not defined by the hardware in function q40_irq_startup and instead returns -ENXIO as stated by the fix m

Re: [PATCH v3] gpiolib: Export gpiochip_request_own_desc and gpiochip_free_own_desc

2014-07-22 Thread Alexandre Courbot
On Wed, Jul 23, 2014 at 12:01 AM, Guenter Roeck wrote: > Both functions were introduced to let gpio drivers request their own > gpio pins. Without exporting the functions, this can however only be > used by gpio drivers built into the kernel. > > Secondary impact is that the functions can not curr

Re: [PATCH 3/5] gpio: make gpiochip_get_desc() gpiolib-private

2014-07-22 Thread Alexandre Courbot
On Wed, Jul 23, 2014 at 12:47 PM, Guenter Roeck wrote: > On 07/22/2014 08:10 PM, Alexandre Courbot wrote: >> >> On Wed, Jul 23, 2014 at 5:17 AM, Guenter Roeck wrote: >>> >>> On Tue, Jul 22, 2014 at 04:17:41PM +0900, Alexandre Courbot wrote: As GPIO descriptors are not going to remain un

Re: [PATCH] ACPI/NVS: Not save NVS region for new machines to accelerate S3

2014-07-22 Thread Lan Tianyu
On 2014年07月23日 07:40, Rafael J. Wysocki wrote: > On Friday, July 18, 2014 01:55:22 PM Lan Tianyu wrote: >> NVS region is saved and restored unconditionally for machines without >> nvs_nosave quirk during S3. Tested some new machines and the operation >> is not necessary. Saving NVS region also affe

Re: [PATCH 00/14] arm64: eBPF JIT compiler

2014-07-22 Thread Z Lim
On Mon, Jul 21, 2014 at 8:49 AM, Alexei Starovoitov wrote: > On Mon, Jul 21, 2014 at 2:16 AM, Will Deacon wrote: [...] >>> This series applies against net-next and is tested working >>> with lib/test_bpf on ARMv8 Foundation Model. >> >> Looks like it works on my Juno board too, so: >> >> Acked-

[PATCH 1/1] ASoC: sirf-usp: Fixed a bug for playback and capture work at the same time

2014-07-22 Thread Rongjun Ying
1. The startup function invoked when the playback and capture. If start playback when capturing, the registers are re-initinitialised. That cause the playback fail. So move the startup code into runtime resume. 2. Modified: If non RUNTIME_PM support, the probe need enable clock and initini

[PATCH 00/16] rcu: Some minor fixes and cleanups

2014-07-22 Thread Pranith Kumar
Hi Paul, This is a series of minor fixes and cleanup patches which I found while studying the code. All my previous pending (but not rejected ;) patches are superseded by this series, expect the rcutorture snprintf changes. I am still waiting for you to decide on that one :) These changes have be

[PATCH 01/16] rcu: Use rcu_num_nodes instead of NUM_RCU_NODES

2014-07-22 Thread Pranith Kumar
NUM_RCU_NODES is set at build time and is usually a huge number. We calculate the actual number of rcu nodes necessary at boot time based on nr_cpu_ids in rcu_init_geometry() and store it in rcu_num_nodes. We should use this variable instead of NUM_RCU_NODES. This commit changes all such NUM_RCU_N

[PATCH 04/16] rcu: Remove redundant check for an online CPU

2014-07-22 Thread Pranith Kumar
rcu_prcess_callbacks() is the softirq handler for RCU which is raised from invoke_rcu_core() which is called from __call_rcu_core(). Each of these three functions checks if the cpu is online. We can remove the redundant ones. This commit removes one of these redundant check. Signed-off-by: Pranit

[PATCH 02/16] rcu: Check return value for cpumask allocation

2014-07-22 Thread Pranith Kumar
This commit add a check for return value of zalloc_cpumask_var() used while allocating cpumask for rcu_nocb_mask. Signed-off-by: Pranith Kumar --- kernel/rcu/tree_plugin.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h

[PATCH 03/16] rcu: Fix comment for gp_state field values

2014-07-22 Thread Pranith Kumar
The comment in the code states that the values are for gp_flags field, when the values are actually for gp_state field. This commit fixes the inconsistency. Signed-off-by: Pranith Kumar --- kernel/rcu/tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/rcu/tree.h b/

[PATCH 05/16] rcu: Add noreturn attribute to boost kthread

2014-07-22 Thread Pranith Kumar
rcu_boost_kthread() runs in an infinite loop and does not return. This commit adds the __noreturn attribute to the function. Signed-off-by: Pranith Kumar --- kernel/rcu/tree_plugin.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_

[PATCH 06/16] rcu: Clear gp_flags only when actually starting new gp

2014-07-22 Thread Pranith Kumar
We are clearing the gp_flags before we check if a grace period is in progress. If a grace period is in progress, we return after incorrectly clearing the gp_flags. The code comments say that this is highly unlikely, but just to be safe this commit moves the clearing of gp_flags to after the check f

[PATCH 09/16] rcu: Remove redundant check for online cpu

2014-07-22 Thread Pranith Kumar
There are two checks for an online CPU if two if() conditions. This commit simplies this by replacing it with only one check for the online CPU. Signed-off-by: Pranith Kumar --- kernel/rcu/tree.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/kernel/rcu/tree.c b/ker

[PATCH 11/16] rcu: Check for spurious wakeup using return value

2014-07-22 Thread Pranith Kumar
When the gp_kthread wakes up from the wait event, it returns 0 if the wake up is due to the condition having been met. This commit checks this return value for a spurious wake up before calling rcu_gp_init(). Signed-off-by: Pranith Kumar --- kernel/rcu/tree.c | 4 ++-- 1 file changed, 2 insertio

[PATCH 07/16] rcu: Save and restore irq flags in rcu_gp_cleanup()

2014-07-22 Thread Pranith Kumar
We use raw_spin_lock_irqsave/restore() family of functions throughout the code but for two locations. This commit replaces raw_spin_lock_irq()/unlock_irq() with irqsave/restore() in one such location. This is not strictly necessary, so I did not change the other location. I will update the other lo

[PATCH 12/16] rcu: Rename rcu_spawn_gp_kthread() to rcu_spawn_kthreads()

2014-07-22 Thread Pranith Kumar
We are currently spawning all the threads from this functions. This commit renames the function so that it reflects the current scenario better. Signed-off-by: Pranith Kumar --- kernel/rcu/tree.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/kernel/rcu/tree.c b/kerne

[PATCH 16/16] rcu: kvm.sh: Fix error when you pass --cpus argument

2014-07-22 Thread Pranith Kumar
When you pass --cpus argument to kvm.sh, it errors out as it assumes you have all the requires CPUs to run a batch. This commit fixes this along with a minor comment fix. Signed-off-by: Pranith Kumar --- tools/testing/selftests/rcutorture/bin/kvm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 d

[PATCH 08/16] rcu: Clean up rcu_spawn_one_boost_kthread()

2014-07-22 Thread Pranith Kumar
Even though we pass on the return value of kthread_create, we do not use it anywhere. This commit uses kthread_run() and adds BUG_ON() when we create the kthread and changes the return type of this function to void. Signed-off-by: Pranith Kumar --- kernel/rcu/tree.h| 2 +- kernel/rcu/tr

[PATCH 14/16] rcu: Remove redundant checks for rcu_scheduler_fully_active

2014-07-22 Thread Pranith Kumar
rcu_scheduler_fully_active is set to true early in the boot process. The check for this flag is only needed in rcu_prepare_kthreads() as this function is called before the above flag is set. All other checks are redundant. Hence this commit removes those redundant checks. Signed-off-by: Pranith K

[PATCH 13/16] rcu: Spawn nocb kthreads from rcu_prepare_kthreads()

2014-07-22 Thread Pranith Kumar
rcu_prepare_kthreads() is called when a CPU hotplug event happens. We can also spawn the nocb kthreads from this function. This is preparation for the next patch which remove the redundant check for rcu_scheduler_fully_active. This commit moves the spawning of nocb kthreads to rcu_prepare_kthreads(

[PATCH 15/16] rcu: Check for a nocb cpu before trying to spawn nocb threads

2014-07-22 Thread Pranith Kumar
This commit tries to spawn nocb kthreads only when the CPU is marked as a nocb cpu. This is a minor optimization. Signed-off-by: Pranith Kumar --- kernel/rcu/tree_plugin.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h in

[PATCH 10/16] rcu: Check for RCU_FLAG_GP_INIT bit in gp_flags for spurious wakeup

2014-07-22 Thread Pranith Kumar
rcu_gp_init() is called once the gp_kthread wakes up on the condition that the init bit is set in the gp_flags. For a spurious wakeup we need to check that it is actually set. This commit ensures that the RCU_GP_FLAG_INIT bit is set in gp_flags. Signed-off-by: Pranith Kumar --- kernel/rcu/tree.c

Re: linux-next: manual merge of the drm-intel tree with the drm tree

2014-07-22 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 5:06 AM, Stephen Rothwell wrote: > P.S. Daniel, that drm-intel tree commit has no Signed-off-by from its > author ... Oops, fixed. Thanks for pointing this out. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch -- To

Re: [PATCH] m68k: Remove printk statement and add return statement in q40ints.c

2014-07-22 Thread Nick Krause
On Wed, Jul 23, 2014 at 12:54 AM, Guenter Roeck wrote: > On 07/22/2014 09:08 PM, Nicholas Krause wrote: >> >> This removes the printk statement for irqs not defined by the hardware in >> function q40_irq_startup and instead returns -ENXIO as stated by the fix >> me message. >> >> Signed-off-by: Ni

Re: [RFC PATCH 0/5] futex: introduce an optimistic spinning futex

2014-07-22 Thread Mike Galbraith
On Mon, 2014-07-21 at 09:42 -0700, Andi Kleen wrote: > FWIW the main problem is currently that switch-through-idle is so > slow. I think improving that would give a boost to far more > situations. Two high frequency idle enter/exit suckage spots: 1) nohz (tick) - it's expensive to start/stop ti

Re: RE: [PATCH] lib : lz4 using put_unaligned_le16 instead of put_unaligned

2014-07-22 Thread Eunbong Song
> If your patch is applied, the data which is compressed > by your big-endian system won't be decompressed in other little-endian system. I can't understand this. Please, could you explain this more ? My patch just replaces put_unaligned with put_unaligned_le16. and this just write compression

Re: [PATCH] m68k: Remove printk statement and add return statement in q40ints.c

2014-07-22 Thread Guenter Roeck
On 07/22/2014 09:08 PM, Nicholas Krause wrote: This removes the printk statement for irqs not defined by the hardware in function q40_irq_startup and instead returns -ENXIO as stated by the fix me message. Signed-off-by: Nicholas Krause --- arch/m68k/q40/q40ints.c | 3 +-- 1 file changed, 1

[git pull] Please pull powerpc.git merge branch

2014-07-22 Thread Benjamin Herrenschmidt
Hi Linus ! Here is a handful of powerpc fixes for 3.16. They are all pretty simple and self contained and should still make this release. Cheers, Ben. The following changes since commit f56029410a13cae3652d1f34788045c40a13ffc7: powerpc/perf: Never program book3s PMCs with values >= 0x8000

Work Ideas

2014-07-22 Thread Nick Krause
I am working for some work in the kernel. I am new to the kernel but I am read Robert Love's book and another book on device drivers, so my theory is good is prettygood other then not being up to date on the newest features in the latest kernels. If anyone wants to give me something to do I don't

Re: [PATCH v2 14/16] cpufreq: Add cpufreq driver for Tegra124

2014-07-22 Thread Viresh Kumar
On 21 July 2014 21:09, Tuomas Tynkkynen wrote: > diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm > index 7364a53..df3c73e 100644 > --- a/drivers/cpufreq/Kconfig.arm > +++ b/drivers/cpufreq/Kconfig.arm > @@ -244,6 +244,7 @@ config ARM_SPEAR_CPUFREQ > config ARM_TEGRA_CPUFRE

smp-cmp.c: CDFIXMES

2014-07-22 Thread Nick Krause
Are the lines with CDFIXME still needed? If not please tell me as I will send in a patch removing these two from this file in order to help you guys out :). Cheers Nick -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

[PATCH] checkpatch: Fix false positives for --strict "space after cast" test

2014-07-22 Thread Joe Perches
commit 89da401f6cff ("checkpatch: improve "no space after cast" test") in -next improved the cast test for non pointer types, but also introduced false positives for some types of static inlines. Add a test for an open brace to the exclusions to avoid these false positives. Reported-by: Hartley S

[PATCH] microblaze: Add comment for defines

2014-07-22 Thread Nicholas Krause
This adds a comment for and removes a fix me by labeling these defines as memory cache definitions. Signed-off-by: Nicholas Krause --- arch/microblaze/include/asm/pvr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/microblaze/include/asm/pvr.h b/arch/microblaze/includ

Re: Random panic in load_balance() with 3.16-rc

2014-07-22 Thread Linus Torvalds
On Tue, Jul 22, 2014 at 8:53 PM, Michel Dänzer wrote: > > Just happened again with the same change on top of 3.16-rc6. The (maybe) related bugzilla entry is just odd. Bruno Wolff reports that the BUG_ON() in his added patch triggers: + cpumask_clear(sched_group_cpus(sg)); +

RE: [PATCH v3 0/4] dra7: Add PCIe support

2014-07-22 Thread Mohit KUMAR DCG
Hello Bjorn, > -Original Message- > From: Bjorn Helgaas [mailto:bhelg...@google.com] > Sent: Wednesday, July 23, 2014 3:03 AM > To: Kishon Vijay Abraham I > Cc: devicet...@vger.kernel.org; linux-...@vger.kernel.org; linux- > p...@vger.kernel.org; jg1@samsung.com; Mohit KUMAR DCG; linux

Re: [PATCH 4/4] aio: use iovec array rather than the single one

2014-07-22 Thread Gu Zheng
Hi Jeff, On 07/22/2014 11:20 PM, Jeff Moyer wrote: > Gu Zheng writes: > >> use an iovec array rather than the single one, so that we can avoid >> to alloc more iovecs buffer in small(< 8) PREADV/PWRITEV cases. > > I did some basic functional testing of this change and the change in > patch 1/4.

Re: [PATCH 3/4] aio: fix some comments

2014-07-22 Thread Gu Zheng
On 07/22/2014 10:12 PM, Benjamin LaHaise wrote: > On Tue, Jul 22, 2014 at 10:40:03AM +0800, Gu Zheng wrote: >> Signed-off-by: Gu Zheng > > Again, you're missing a commit message here. Please resubmit with a commit > message. Got it, I'll resend it later. Thanks, Gu > > -ben >

[PATCH] m68k: Remove printk statement and add return statement in q40ints.c

2014-07-22 Thread Nicholas Krause
This removes the printk statement for irqs not defined by the hardware in function q40_irq_startup and instead returns -ENXIO as stated by the fix me message. Signed-off-by: Nicholas Krause --- arch/m68k/q40/q40ints.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/m68

Re: [PATCH 0/2] ARM: DRA7: hwmod: Add dra74x and dra72x specific ocp interface lists

2014-07-22 Thread Lokesh Vutla
Hi Nishanth, On Tuesday 22 July 2014 10:15 PM, Nishanth Menon wrote: > On 07/16/2014 03:36 AM, Lokesh Vutla wrote: >> This series add seperate ocp interface lists that are specific to dra74x >> and dra72x, and moving USB OTG SS4 to dra74x only since its not present >> in dra72x. Without this USB OT

Re: [PATCH 2/2] ARM: DRA7: hwmod: Add dra74x and dra72x specific ocp interface lists

2014-07-22 Thread Lokesh Vutla
Hi Nishanth, On Tuesday 22 July 2014 10:20 PM, Nishanth Menon wrote: > On 07/16/2014 03:36 AM, Lokesh Vutla wrote: >> From: Rajendra Nayak >> >> To deal with IPs which are specific to dra74x and dra72x, maintain seperate >> ocp interface lists, while keeping the common list for all common IPs. >>

Re: [PATCH v3 6/7] ACPI: Add support to force header inclusion rules for .

2014-07-22 Thread Hanjun Guo
Hi Lv, On 2014-7-16 16:58, Lv Zheng wrote: > As there is only CONFIG_ACPI=n processing in the , it is not > safe to include directly for source out of Linux ACPI > subsystems. > > This patch adds error messaging to warn developers of such wrong > inclusions. Thanks for doing this, it makes life

Re: Random panic in load_balance() with 3.16-rc

2014-07-22 Thread Michel Dänzer
On 22.07.2014 15:13, Michel Dänzer wrote: > On 18.07.2014 18:29, Michel Dänzer wrote: >> On 17.07.2014 16:58, Peter Zijlstra wrote: >>> On Thu, Jul 17, 2014 at 04:31:04PM +0900, Michel Dänzer wrote: I've been running into the panic captured in the attached picture (hope it's legible)

[PATCH net-next v3 0/2] cleanup for Realtek 8139CP

2014-07-22 Thread varkabhadram
From: Varka Bhadram changes since v2: - making version info print once. changes sice v1: - remove unused varible warning Varka Bhadram (2): ethernet: realtek: use module_pci_driver ethernet: realtek: use pci_device_id drivers/net/ethernet/realtek/8139cp.c | 36 +--

Re: [f2fs-dev] f2fs: Possible use-after-free when umount filesystem

2014-07-22 Thread Gu Zheng
Hi, On 07/23/2014 10:12 AM, Chao Yu wrote: > Hi Andrey Gu, > >> -Original Message- >> From: Andrey Tsyvarev [mailto:tsyva...@ispras.ru] >> Sent: Tuesday, July 22, 2014 6:04 PM >> To: Gu Zheng >> Cc: Jaegeuk Kim; linux-kernel; Alexey Khoroshilov; >> linux-f2fs-de...@lists.sourceforge.net

[PATCH net-next v3 1/2] ethernet: realtek: use module_pci_driver

2014-07-22 Thread varkabhadram
From: Varka Bhadram This patch converts to use the macro module_pci_driver, which makes the code smaller and simpler. Previously in this driver we are having driver version info will be printed log buffer based on whether the driver selected as module or statically into image itself. By using th

[PATCH net-next v3 2/2] ethernet: realtek: use pci_device_id

2014-07-22 Thread varkabhadram
From: Varka Bhadram This patch use the struct pci_device_id instead of using macro DEFINE_PCI_DEVICE_TABLE which is deprecated and should not be used. And also moves these ids after probe and remove functionalities. Signed-off-by: Varka Bhadram --- drivers/net/ethernet/realtek/8139cp.c | 14

Re: [RFC Patch V1 21/30] mm, irqchip: Use cpu_to_mem()/numa_mem_id() to support memoryless node

2014-07-22 Thread Jiang Liu
Hi Jason, Thanks for your review. According to review comments, we need to rework the patch set in another direction and will give up this patch. Regards! Gerry On 2014/7/18 20:40, Jason Cooper wrote: > On Fri, Jul 11, 2014 at 03:37:38PM +0800, Jiang Liu wrote: >> When CONFIG_HAVE_MEMORYLE

Re: [PATCH 3/5] gpio: make gpiochip_get_desc() gpiolib-private

2014-07-22 Thread Guenter Roeck
On 07/22/2014 08:10 PM, Alexandre Courbot wrote: On Wed, Jul 23, 2014 at 5:17 AM, Guenter Roeck wrote: On Tue, Jul 22, 2014 at 04:17:41PM +0900, Alexandre Courbot wrote: As GPIO descriptors are not going to remain unique anymore, having this function public is not safe. Restrain its use to gpi

Re: [PATCH] usb-core: Remove Fix mes in file hcd.c

2014-07-22 Thread Nick Krause
On Tue, Jul 22, 2014 at 8:44 PM, Sasha Levin wrote: > On 07/18/2014 10:52 PM, Nick Krause wrote: >> On Fri, Jul 18, 2014 at 10:45 PM, Nick Krause wrote: >>> Sorry didn't run spell check. I will resend this patch with the >>> correct information >>> as needed. Thanks for the advice, Sasha. >>> >>>

[PATCH v4] x86,cpu-hotplug: assign same CPU number to readded CPU

2014-07-22 Thread Yasuaki Ishimatsu
llc_shared_map is not cleared even if CPU is offline or hot removed. So when hot-plugging CPU and assigning new CPU number to hot-added CPU, the mask has wrong value. The mask is used by CSF schduler to create sched_domain. So it breaks CFS scheduler. Here is a example on my system. My system has

Re: [RFC Patch V1 15/30] mm, igb: Use cpu_to_mem()/numa_mem_id() to support memoryless node

2014-07-22 Thread Jiang Liu
Hi Nishanth and Alexander, Thanks for review, will update the comments in next version. Regards! Gerry On 2014/7/22 5:09, Nishanth Aravamudan wrote: > On 21.07.2014 [12:53:33 -0700], Alexander Duyck wrote: >> I do agree the description should probably be changed. There shouldn't be >> any

[PATCH] kernel: printk: fix bool assignements

2014-07-22 Thread Neil Zhang
Fix coccinelle warnings. Signed-off-by: Neil Zhang --- kernel/printk/printk.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 13e839d..89894e5 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@

Re: [RFC Patch V1 09/30] mm, memcg: Use cpu_to_mem()/numa_mem_id() to support memoryless node

2014-07-22 Thread Jiang Liu
Hi Michal, Thanks for your comments! As discussed, we will rework the patch set in another direction to hide memoryless node from normal slab users. Regards! Gerry On 2014/7/18 15:36, Michal Hocko wrote: > On Fri 11-07-14 15:37:26, Jiang Liu wrote: >> When CONFIG_HAVE_MEMORYLESS_NODES is e

linux-next: manual merge of the drm-intel tree with the drm tree

2014-07-22 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-intel tree got a conflict in drivers/gpu/drm/i915/intel_dp.c between commit b19729617929 ("drm/i915: fix psr match conditions screw ups") from the drm tree and commit 24acaf94ed4a ("drm/i915: Fix up PSR frontbuffer tracking") from the drm-intel tree. I

Re: [RFC Patch V1 07/30] mm: Use cpu_to_mem()/numa_mem_id() to support memoryless node

2014-07-22 Thread Jiang Liu
Hi Tejun and Christoph, Thanks for your suggestions and discussion. Tejun really gives a good point to hide memoryless node interface from normal slab users. I will rework the patch set to go that direction. Regards! Gerry On 2014/7/12 3:11, Christoph Lameter wrote: > On Fri, 11 Jul 2014,

Re: [dm-devel] [PATCH] md/dm-ioctl.c: optimize memory allocation in copy_params

2014-07-22 Thread Zhang, Yanmin
On 2014/7/22 10:04, Alasdair G Kergon wrote: On Tue, Jul 22, 2014 at 02:23:52AM +0100, Alasdair G Kergon wrote: Unanswered. Let's ask the same question in a different way: A quick search for 'vold' returns: https://android.googlesource.com/platform/system/vold/ and the code there request

Re: [PATCH 3/5] gpio: make gpiochip_get_desc() gpiolib-private

2014-07-22 Thread Alexandre Courbot
On Wed, Jul 23, 2014 at 5:17 AM, Guenter Roeck wrote: > On Tue, Jul 22, 2014 at 04:17:41PM +0900, Alexandre Courbot wrote: >> As GPIO descriptors are not going to remain unique anymore, having this >> function public is not safe. Restrain its use to gpiolib since we have >> no user outside of it.

Re: [dm-devel] [PATCH] md/dm-ioctl.c: optimize memory allocation in copy_params

2014-07-22 Thread Zhang, Yanmin
On 2014/7/22 9:23, Alasdair G Kergon wrote: On 2014/7/9 6:39, Mikulas Patocka wrote: Which ioctl with more than 16kB arguments do you use? Unanswered. Let's ask the same question in a different way: Please supply the output of these three commands on the real-world system on which you believe

linux-next: manual merge of the drm-intel tree with the drm tree

2014-07-22 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-intel tree got a conflict in drivers/gpu/drm/i915/intel_display.c between commit d05410f9a450 ("drm/i915: split conversion function out into separate function") from the drm tree and commit 6b09e72050b4 ("drm/i915: Power gating display wells during i915_

[RESEND RFC PATCH v1 0/70] Gloabl CPU Hot-plug flag _FROZEN Clean up

2014-07-22 Thread Chen, Gong
Back to long time ago (about 1.5 years), Thomas began the work for CPU hot-plug, one first thing is CPU hotplug flag cleanup. Paul hoped all the _FROZEN variants of the notifier actions can be removed at that time. Now here it is. Patch 1 ~ 69: remove all kinds of XXX_FROZEN usages Patch 70: remov

  1   2   3   4   5   6   7   8   9   10   >