Re: Linux 3.11-rc2 (acpi backlight, revert)

2013-07-26 Thread Kalle Valo
"Rafael J. Wysocki" writes: > James, Kamal, Steven, Jörg, Martin, Kalle, please check if the apppended patch > fixes the backlight for you. I did three suspend-resume cycles and didn't notice anything wrong so this patch fixes the issue for me. I'll continue testing and will report if I spot

Re: [PATCH 2/3] cpuidle/powernv: Enable idle powernv cpu to call into the cpuidle framework.

2013-07-26 Thread Daniel Lezcano
On 07/23/2013 11:01 AM, Deepthi Dharwar wrote: > This patch enables idle powernv cpu to hook on to the cpuidle > framework, if available, else call on to default idle platform > code. Why do you need to do that ? > Signed-off-by: Deepthi Dharwar > --- > arch/powerpc/platforms/powernv/setup.c

Re: [linux-pm] [PATCH 1/3] cpuidle/powernv: cpuidle backend driver for powernv

2013-07-26 Thread Daniel Lezcano
On 07/23/2013 11:01 AM, Deepthi Dharwar wrote: > This patch implements a back-end cpuidle driver for > powernv calling power7_nap and snooze idle states. > This can be extended by adding more idle states > in the future to the existing framework. > > Signed-off-by: Deepthi Dharwar > --- >

[PATCH] btrfs: use list_for_each_entry_safe() when delete items

2013-07-26 Thread Azat Khuzhin
Replace list_for_each_entry() by list_for_each_entry_safe() in next functions: - lock_stripe_add() - __btrfs_close_devices() Signed-off-by: Azat Khuzhin --- fs/btrfs/raid56.c |4 ++-- fs/btrfs/volumes.c |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

LETTER FROM GILLIAN...I NEED TO KNOW YOU

2013-07-26 Thread gillian billy
-- Hello, My sincere apology contating you in this manner without getting to know you properly before now,I'm mailling you this letter base on my health condition seeking the attention of Godly minded personto handle humanitarian project in my name. Am Gillian Billy on sick bed in St Brownlow

Re: [Ksummit-2013-discuss] DT bindings as ABI [was: Do we have people interested in device tree janitoring / cleanup?]

2013-07-26 Thread Richard Cochran
On Fri, Jul 26, 2013 at 08:49:43AM -0700, Olof Johansson wrote: > > Long term, final goal is likely to be close to what Russell is saying Why is this a long term goal? Start today. > -- nothing should go into the kernel tree unless the binding is in a > fully stable state. However, we have a

Re: [Ksummit-2013-discuss] DT bindings as ABI [was: Do we have people interested in device tree janitoring / cleanup?]

2013-07-26 Thread Richard Cochran
On Fri, Jul 26, 2013 at 11:36:13AM -0500, Rob Herring wrote: > On 07/26/2013 10:49 AM, Olof Johansson wrote: > > On Fri, Jul 26, 2013 at 7:10 AM, Mark Brown wrote: > >> On Fri, Jul 26, 2013 at 03:09:29PM +0200, Richard Cochran wrote: > >> > >>> Unless I totally misunderstood, the thread is

Re: [PATCH v2 00/42] ARM: at91: move to common clk framework

2013-07-26 Thread boris brezillon
Hello, This email is a feedback on the discussion I had with Jean-Christophe last Wednesday. As discussed with him, I will try to split this patch series in order to 1) limit the number of patches to review 2) limit the number of SoCs/boards to test The new at91 clk support on non-dt boards

[PATCH v2] hrtimer: Fix a performance regression by disable reprogramming in remove_hrtimer

2013-07-26 Thread ethan.kernel
commit 968320b hrtimer: Fix extra wakeups from __remove_hrtimer() introduced a significant scheduler performance regression, following is the test: a. Test environment: SUN FIRE X4170 M2 SERVER CPU model name: Intel(R) Xeon(R) CPU X5675 @ 3.07GHz 2 socket X 6 core X 2 thread b. To eliminate

Re: [trivial PATCH] treewide: Add __GFP_NOWARN to k.alloc calls with v.alloc fallbacks

2013-07-26 Thread Joe Perches
On Wed, 2013-06-19 at 12:15 -0700, Joe Perches wrote: > Don't emit OOM warnings when k.alloc calls fail when > there there is a v.alloc immediately afterwards. > > Converted a kmalloc/vmalloc with memset to kzalloc/vzalloc. Hey Jiri. What's your schedule for accepting or rejecting these sorts

Re: [PATCH RFC fs] v2 Make sync() satisfy many requests with one invocation

2013-07-26 Thread Paul E. McKenney
On Sat, Jul 27, 2013 at 12:57:03PM +1000, Dave Chinner wrote: > On Fri, Jul 26, 2013 at 04:28:52PM -0700, Paul E. McKenney wrote: > > Dave Jones reported RCU stalls, overly long hrtimer interrupts, and > > amazingly long NMI handlers from a trinity-induced workload involving > > lots of concurrent

[PATCH 2/2] cpuset: correct the disoder comment of two functions

2013-07-26 Thread Zhao Hongjiang
correct the disoder comment between cpuset_css_offline() and cpuset_css_free() functions. Signed-off-by: Zhao Hongjiang --- kernel/cpuset.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/kernel/cpuset.c b/kernel/cpuset.c index 2ddd9b9..703bfd5 100644 ---

[PATCH 1/2] cpuset: get rid of the useless forward declaration of cpuset

2013-07-26 Thread Zhao Hongjiang
get rid of the useless forward declaration of the struct cpuset cause the below define it. Signed-off-by: Zhao Hongjiang --- kernel/cpuset.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/cpuset.c b/kernel/cpuset.c index e565778..2ddd9b9 100644 --- a/kernel/cpuset.c +++

Re: [PATCH v2 2/2] tracing: Shrink the size of struct ftrace_event_field

2013-07-26 Thread Steven Rostedt
On Sat, 2013-07-27 at 11:32 +0800, Li Zefan wrote: > struct event_filter { > diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c > index 7d85429..d72694d 100644 > --- a/kernel/trace/trace_events.c > +++ b/kernel/trace/trace_events.c > @@ -106,6 +106,9 @@

[PATCH v2 2/2] tracing: Shrink the size of struct ftrace_event_field

2013-07-26 Thread Li Zefan
Use bit fields, and the size of struct ftrace_event_field can be shrunk from 48 bytes to 40 bytes on 64bit kernel. slab_name active_obj nr_obj size obj_per_slab - ftrace_event_field 1105 1105 48 85 (before) ftrace_event_field 1224 1224

Re: [tip:perf/core] perf: Update perf_event_type documentation

2013-07-26 Thread Vince Weaver
On Fri, 26 Jul 2013, Peter Zijlstra wrote: > On Thu, Jul 25, 2013 at 11:20:24PM -0400, Vince Weaver wrote: > > > > a thing that personally bothers me are these imaginary struct definitions > > added as part of the documentation that aren't actually available in the > > public perf_event.h > >

Re: [PATCH 2/2][RESEND] tracing: Shrink the size of struct ftrace_event_field

2013-07-26 Thread Li Zefan
>> @@ -111,6 +111,11 @@ static int __trace_define_field(struct list_head *head, >> const char *type, >> field->size = size; >> field->is_signed = is_signed; > > I think we should just change is_signed to bool. At least the parameter. > Or we can make the assignment: field->is_signed =

Re: [PATCH 14/16] usb: musb: dsps: add MUSB_DEVCTL_SESSION back after removal

2013-07-26 Thread Bin Liu
Sebastian, On Fri, Jul 26, 2013 at 3:35 PM, Sebastian Andrzej Siewior wrote: >> My build server is down this afternoon. Once it comes back next week, >> I will try 3.8 again, to see how I can help on this USB1 host mode >> issue. its devctl register should stay on 0x19 even nothing is >>

[PATCH 3/3] tile / cpu topology: remove stale Macro arch_provides_topology_pointers

2013-07-26 Thread Hanjun Guo
Macro arch_provides_topology_pointers is pointless now, remove it. Signed-off-by: Hanjun Guo --- arch/tile/include/asm/topology.h |3 --- 1 file changed, 3 deletions(-) diff --git a/arch/tile/include/asm/topology.h b/arch/tile/include/asm/topology.h index d5e86c9..d15c0d8 100644 ---

[PATCH 2/3] x86 / cpu topology: remove the stale macro arch_provides_topology_pointers

2013-07-26 Thread Hanjun Guo
Macro arch_provides_topology_pointers is pointless now, remove it. Signed-off-by: Hanjun Guo --- arch/x86/include/asm/topology.h |3 --- 1 file changed, 3 deletions(-) diff --git a/arch/x86/include/asm/topology.h b/arch/x86/include/asm/topology.h index 095b215..d35f24e 100644 ---

[PATCH 1/3] cpu topology: remove stale arch_provides_topology_pointers and define_siblings_show_map/list()

2013-07-26 Thread Hanjun Guo
arch_provides_topology_pointers was introduced in commit 23ca4bba3 (x86: cleanup early per cpu variables/accesses v4) to indicate pointers to the topology cpumask_t maps are valid to avoid copying data on to/off of the stack. But later in commit fbd59a8d (cpumask: Use topology_core_cpumask()/

Re: [PATCH RFC fs] v2 Make sync() satisfy many requests with one invocation

2013-07-26 Thread Dave Chinner
On Fri, Jul 26, 2013 at 04:28:52PM -0700, Paul E. McKenney wrote: > Dave Jones reported RCU stalls, overly long hrtimer interrupts, and > amazingly long NMI handlers from a trinity-induced workload involving > lots of concurrent sync() calls (https://lkml.org/lkml/2013/7/23/369). > There are any

[PATCH v2] fs/ocfs2: use list_for_each_entry() instead of list_for_each()

2013-07-26 Thread Dong Fang
Signed-off-by: Dong Fang --- fs/ocfs2/cluster/heartbeat.c | 14 +- fs/ocfs2/dlm/dlmast.c|8 +++- fs/ocfs2/dlm/dlmcommon.h |4 +--- fs/ocfs2/dlm/dlmconvert.c| 11 +++ fs/ocfs2/dlm/dlmdebug.c | 15 --- fs/ocfs2/dlm/dlmdomain.c

Re: [PATCH RFC fs] v2 Make sync() satisfy many requests with one invocation

2013-07-26 Thread Paul E. McKenney
On Fri, Jul 26, 2013 at 05:29:44PM -0700, Linus Torvalds wrote: > On Fri, Jul 26, 2013 at 4:28 PM, Paul E. McKenney > wrote: > > + > > + snap = ACCESS_ONCE(sync_seq); > > + smp_mb(); /* Prevent above from bleeding into critical section. */ > > + mutex_lock(_mutex); > > +

Re: PROBLEM: Persistent unfair sharing of a processor by auto groups in 3.11-rc2 (has twice regressed)

2013-07-26 Thread Paul Turner
On Fri, Jul 26, 2013 at 2:50 PM, Peter Zijlstra wrote: > On Fri, Jul 26, 2013 at 02:24:50PM -0700, Paul Turner wrote: >> On Fri, Jul 26, 2013 at 2:03 PM, Peter Zijlstra wrote: >> > >> > >> > OK, so I have the below; however on a second look, Paul, shouldn't that >> > update_cfs_shares() call be

Re: [PATCH 1/2] uio: provide vm access to UIO_MEM_PHYS maps

2013-07-26 Thread Greg Kroah-Hartman
On Tue, Jul 16, 2013 at 07:21:03PM +0200, Uwe Kleine-König wrote: > This makes it possible to let gdb access mappings of the process that is > being debugged. > > uio_mmap_logical was moved and uio_vm_ops renamed to group related code > and differentiate to new stuff. > > Signed-off-by: Uwe

Re: [ 00/79] 3.10.4-stable review

2013-07-26 Thread Greg Kroah-Hartman
On Sat, Jul 27, 2013 at 12:19:24AM +, Shuah Khan wrote: > On 07/26/2013 03:21 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.10.4 release. > > There are 79 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH RESEND 0/1] AHCI: Optimize interrupt processing

2013-07-26 Thread Nicholas A. Bellinger
On Fri, 2013-07-26 at 14:14 -0700, Nicholas A. Bellinger wrote: > On Thu, 2013-07-25 at 20:09 -0600, Jens Axboe wrote: > > On Thu, Jul 25 2013, Nicholas A. Bellinger wrote: > > > On Thu, 2013-07-25 at 12:16 +0200, Alexander Gordeev wrote: > > > > On Mon, Jul 22, 2013 at 02:10:36PM -0700, Nicholas

Re: [PATCH RFC fs] v2 Make sync() satisfy many requests with one invocation

2013-07-26 Thread Linus Torvalds
On Fri, Jul 26, 2013 at 4:28 PM, Paul E. McKenney wrote: > + > + snap = ACCESS_ONCE(sync_seq); > + smp_mb(); /* Prevent above from bleeding into critical section. */ > + mutex_lock(_mutex); > + snap_done = ACCESS_ONCE(sync_seq); > + if (ULONG_CMP_GE(snap_done,

Re: RFC: revert request for cpuidle patches e11538d1 and 69a37bea

2013-07-26 Thread Rafael J. Wysocki
On Friday, July 26, 2013 11:48:36 PM Rafael J. Wysocki wrote: > On Friday, July 26, 2013 02:29:40 PM Rik van Riel wrote: > > On 07/26/2013 02:27 PM, Arjan van de Ven wrote: > > > On 7/26/2013 11:13 AM, Rik van Riel wrote: > > > > > >> > > >> Could you try running the tests with just the repeat

Re: [ 00/79] 3.10.4-stable review

2013-07-26 Thread Shuah Khan
On 07/26/2013 03:21 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.10.4 release. > There are 79 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH] w1: replace strict_strtol() with kstrtol()

2013-07-26 Thread Рустафа Джамурахметов
27.07.2013, 03:16, "GregKH" : > On Tue, Jul 23, 2013 at 12:00:44AM +0400, Evgeniy Polyakov wrote: > >>  Hi everyone >> >>  19.07.2013, 11:16, "Jingoo Han" : >>>  The usage of strict_strtol() is not preferred, because >>>  strict_strtol() is obsolete. Thus, kstrtol() should be >>>  used. >>  

[PATCH 1/2] input: ti_tsc: Enable shared IRQ for TSC

2013-07-26 Thread Zubair Lutfullah
From: "Patil, Rachna" Touchscreen and ADC share the same IRQ line from parent MFD core. Previously only Touchscreen was interrupt based. With continuous mode support added in ADC driver, driver requires interrupt to process the ADC samples, so enable shared IRQ flag bit for touchscreen.

[PATCH 2/2] iio: ti_am335x_adc: Add continuous sampling and trigger support

2013-07-26 Thread Zubair Lutfullah
Previously the driver had only one-shot reading functionality. This patch adds triggered buffer support to the driver. A buffer of samples can now be read via /dev/iio. Patil Rachna (TI) laid the ground work for ADC HW register access. Russ Dill (TI) fixed bugs in the driver relevant to FIFOs and

[PATCH 0/2] iio: input: ti_am335x_adc: Add continuous sampling and trigger support round 3

2013-07-26 Thread Zubair Lutfullah
ADC and TSC share an IRQ line. Patch one is simple and adds shared irq support on the TSC side. The second patch adds continuous sampling support to the am335x_adc driver. It has been submitted previously. This is round 3. Previously: - Submitted as a series of patches and bug fixes. - The

Re: [GIT PULL] arm64 fixes for 3.11

2013-07-26 Thread Benjamin Herrenschmidt
On Fri, 2013-07-26 at 12:54 -0700, Linus Torvalds wrote: > > *Some* other 64-bit architectures do 16k stack sizes. But neither > x86-64 nor powerpc do, afaik. Instead, they do irq stacks, which is > generally a better idea than having one big stack. Sadly you over estimated us here :-) We do 16K

[PATCH 05/21] nohz: Only enable context tracking on full dynticks CPUs

2013-07-26 Thread Frederic Weisbecker
The context tracking subsystem has the ability to selectively enable the tracking on any defined subset of CPU. This means that we can define a CPU range that doesn't run the context tracking and another range that does. Now what we want in practice is to enable the tracking on full dynticks CPUs

[PATCH 02/21] context_tracing: Fix guest accounting with native vtime

2013-07-26 Thread Frederic Weisbecker
1) If context tracking is enabled with native vtime accounting (which combo is useless except for dev testing), we call vtime_guest_enter() and vtime_guest_exit() on host <-> guest switches. But those are stubs in this configurations. As a result, cputime is not correctly flushed on kvm context

[PATCH 04/21] context_tracking: Fix runtime CPU off-case

2013-07-26 Thread Frederic Weisbecker
As long as the context tracking is enabled on any CPU, even a single one, all other CPUs need to keep track of their user <-> kernel boundaries cross as well. This is because a task can sleep while servicing an exception that happened in the kernel or in userspace. Then when the task eventually

[PATCH 01/21] sched: Consolidate open coded preemptible() checks

2013-07-26 Thread Frederic Weisbecker
preempt_schedule() and preempt_schedule_context() open code their preemptability checks. Use the standard API instead for consolidation. Signed-off-by: Frederic Weisbecker Cc: Ingo Molnar Cc: Li Zhong Cc: Paul E. McKenney Cc: Peter Zijlstra Cc: Steven Rostedt Cc: Thomas Gleixner Cc:

[PATCH 08/21] context_tracking: Optimize main APIs off case with static key

2013-07-26 Thread Frederic Weisbecker
Optimize user and exception entry/exit APIs with static keys. This minimize the overhead for those who enable CONFIG_NO_HZ_FULL without always using it. Having no range passed to nohz_full= should result in the probes to be nopped (at least we hope so...). If this proves not be enough in the long

[PATCH 06/21] context_tracking: Remove full dynticks' hacky dependency on wide context tracking

2013-07-26 Thread Frederic Weisbecker
Now that the full dynticks subsystem only enables the context tracking on full dynticks CPUs, lets remove the dependency on CONTEXT_TRACKING_FORCE This dependency was a hack to enable the context tracking widely for the full dynticks susbsystem until the latter becomes able to enable it in a more

[PATCH 07/21] context_tracking: Ground setup for static key use

2013-07-26 Thread Frederic Weisbecker
Prepare for using a static key in the context tracking subsystem. This will help optimizing the off case on its many users: * user_enter, user_exit, exception_enter, exception_exit, guest_enter, guest_exit, vtime_*() Signed-off-by: Frederic Weisbecker Cc: Steven Rostedt Cc: Paul E. McKenney

[PATCH 12/21] vtime: Remove a few unneeded generic vtime state checks

2013-07-26 Thread Frederic Weisbecker
Some generic vtime APIs check if the vtime accounting is enabled on the local CPU before doing their work. Some of these are not needed because all their callers already take care of that. Let's remove the checks on these. Signed-off-by: Frederic Weisbecker Cc: Steven Rostedt Cc: Paul E.

[PATCH 14/21] context_tracking: Split low level state headers

2013-07-26 Thread Frederic Weisbecker
We plan to use the context tracking static key on inline vtime APIs. For this we need to include the context tracking headers from those of vtime. However vtime headers need to stay low level because they are included in hardirq.h that mostly contains standalone definitions. But

[PATCH 16/21] vtime: Optimize full dynticks accounting off case with static keys

2013-07-26 Thread Frederic Weisbecker
If no CPU is in the full dynticks range, we can avoid the full dynticks cputime accounting through generic vtime along with its overhead and use the traditional tick based accounting instead. Let's do this and nope the off case with static keys. Signed-off-by: Frederic Weisbecker Cc: Steven

[PATCH 17/21] vtime: Always scale generic vtime accounting results

2013-07-26 Thread Frederic Weisbecker
The cputime accounting in full dynticks can be a subtle mixup of CPUs using tick based accounting and others using generic vtime. As long as the tick can have a share on producing these stats, we want to scale the result against CFS precise accounting as the tick can miss some task hiding between

[PATCH 15/21] vtime: Describe overriden functions in dedicated arch headers

2013-07-26 Thread Frederic Weisbecker
If the arch overrides some generic vtime APIs, let it describe these on a dedicated and standalone header. This way it becomes convenient to include it in vtime generic headers without irrelevant stuff in such a low level header. Signed-off-by: Frederic Weisbecker Cc: Steven Rostedt Cc: Paul E.

[PATCH 10/21] context_tracking: Optimize context switch off case with static keys

2013-07-26 Thread Frederic Weisbecker
No need for syscall slowpath if no CPU is full dynticks, rather nop this in this case. Signed-off-by: Frederic Weisbecker Cc: Steven Rostedt Cc: Paul E. McKenney Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Borislav Petkov Cc: Li Zhong Cc: Mike Galbraith Cc: Kevin Hilman

[PATCH 20/21] nohz: Optimize full dynticks state checks with static keys

2013-07-26 Thread Frederic Weisbecker
These APIs are frequenctly accessed and priority is given to optimize the full dynticks off-case in order to let distros enable this feature without suffering from significant performance regressions. Let's inline these APIs and optimize them with static keys. Signed-off-by: Frederic Weisbecker

[PATCH 18/21] vtime: Always debug check snapshot source _before_ updating it

2013-07-26 Thread Frederic Weisbecker
The vtime delta update performed by get_vtime_delta() always check that the source of the snapshot is valid. Meanhile the snapshot updaters that rely on get_vtime_delta() also set the new snapshot origin. But some of them do this right before the call to get_vtime_delta(), making its debug check

[PATCH 13/21] vtime: Fix racy cputime delta update

2013-07-26 Thread Frederic Weisbecker
get_vtime_delta() must be called under the task vtime_seqlock with the code that does the cputime accounting flush. Otherwise the cputime reader can be fooled and run into a race where it sees the snapshot update but misses the cputime flush. As a result it can report a cputime that is way too

[PATCH 21/21] nohz: Optimize full dynticks's sched hooks with static keys

2013-07-26 Thread Frederic Weisbecker
Scheduler IPIs and task context switches are serious fast path. Let's try to hide as much as we can the impact of full dynticks APIs' off case that are called on these sites through the use of static keys. Signed-off-by: Frederic Weisbecker Cc: Steven Rostedt Cc: Paul E. McKenney Cc: Ingo

[PATCH 11/21] context_tracking: User/kernel broundary cross trace events

2013-07-26 Thread Frederic Weisbecker
This can be useful to track all kernel/user round trips. And it's also helpful to debug the context tracking subsystem. Signed-off-by: Frederic Weisbecker Cc: Steven Rostedt Cc: Paul E. McKenney Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Borislav Petkov Cc: Li Zhong Cc:

[PATCH 00/21] nohz patches for 3.12 preview v2

2013-07-26 Thread Frederic Weisbecker
Hi, This is a respin of the series that optimize full dynticks off-case with static keys. It seems that some distros are interested in full dynticks so we need to optimize the off case such that unconcerned users are not impacted by performance regressions. Thanks to Steve for his reviews on

[PATCH 03/21] vtime: Update a few comments

2013-07-26 Thread Frederic Weisbecker
Update a stale comment from the old vtime era and document some locking that might be non obvious. Signed-off-by: Frederic Weisbecker Cc: Steven Rostedt Cc: Paul E. McKenney Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Borislav Petkov Cc: Li Zhong Cc: Mike Galbraith Cc:

[PATCH 19/21] nohz: Rename a few state variables

2013-07-26 Thread Frederic Weisbecker
Rename the full dynticks's cpumask and cpumask state variables to some more exportable names. These will be used later from global headers to optimize the main full dynticks APIs in conjunction with static keys. Signed-off-by: Frederic Weisbecker Cc: Steven Rostedt Cc: Paul E. McKenney Cc:

[PATCH 09/21] context_tracking: Optimize guest APIs off case with static key

2013-07-26 Thread Frederic Weisbecker
Optimize guest entry/exit APIs with static keys. This minimize the overhead for those who enable CONFIG_NO_HZ_FULL without always using it. Having no range passed to nohz_full= should result in the probes overhead to be minimized. Signed-off-by: Frederic Weisbecker Cc: Steven Rostedt Cc: Paul

[PATCH RFC fs] v2 Make sync() satisfy many requests with one invocation

2013-07-26 Thread Paul E. McKenney
Dave Jones reported RCU stalls, overly long hrtimer interrupts, and amazingly long NMI handlers from a trinity-induced workload involving lots of concurrent sync() calls (https://lkml.org/lkml/2013/7/23/369). There are any number of things that one might do to make sync() behave better under high

Re: linux-next: build failure after merge of the staging tree

2013-07-26 Thread Greg KH
On Sat, Jul 27, 2013 at 01:54:44AM +0300, Eli Billauer wrote: > On 27/07/13 00:56, Greg KH wrote: > >No, I need you to do that. Can you do a kernel build with: > > make M=drivers/staging/xillybus C=1 > >and fix up the errors that sparse reports and send a patch for that? > > > I'm not sure

Re: [PATCH 1/3] pinctrl: rollback check for !dev->pins in pinctrl_pm_select*() APIs

2013-07-26 Thread Linus Walleij
On Wed, Jul 17, 2013 at 5:40 PM, Tony Lindgren wrote: > * Grygorii Strashko [130717 04:49]: >> The pinctrl support in Device core assumed to be optional - so, It's >> valid case, when there are no definition for default device's pinctrl >> states in DT at all ("default", "active", "idle",

[PATCH RFC nohz_full 3/7] nohz_full: Add per-CPU idle-state tracking

2013-07-26 Thread Paul E. McKenney
From: "Paul E. McKenney" This commit adds the code that updates the rcu_dyntick structure's new fields to track the per-CPU idle state based on interrupts and transitions into and out of the idle loop (NMIs are ignored because NMI handlers cannot cleanly read out the time anyway). This code is

[PATCH RFC nohz_full 2/7] nohz_full: Add rcu_dyntick data for scalable detection of all-idle state

2013-07-26 Thread Paul E. McKenney
From: "Paul E. McKenney" This commit adds fields to the rcu_dyntick structure that are used to detect idle CPUs. These new fields differ from the existing ones in that the existing ones consider a CPU executing in user mode to be idle, where the new ones consider CPUs executing in user mode to

[PATCH RFC nohz_full 5/7] nohz_full: Add full-system-idle arguments to API

2013-07-26 Thread Paul E. McKenney
From: "Paul E. McKenney" This commit adds an isidle and jiffies argument to force_qs_rnp(), dyntick_save_progress_counter(), and rcu_implicit_dynticks_qs() to enable RCU's force-quiescent-state process to check for full-system idle. Signed-off-by: Paul E. McKenney Cc: Frederic Weisbecker Cc:

[PATCH RFC nohz_full 6/7] nohz_full: Add full-system-idle state machine

2013-07-26 Thread Paul E. McKenney
From: "Paul E. McKenney" This commit adds the state machine that takes the per-CPU idle data as input and produces a full-system-idle indication as output. This state machine is driven out of RCU's quiescent-state-forcing mechanism, which invokes rcu_sysidle_check_cpu() to collect per-CPU idle

[PATCH RFC nohz_full 1/7] nohz_full: Add Kconfig parameter for scalable detection of all-idle state

2013-07-26 Thread Paul E. McKenney
From: "Paul E. McKenney" At least one CPU must keep the scheduling-clock tick running for timekeeping purposes whenever there is a non-idle CPU. However, with the new nohz_full adaptive-idle machinery, it is difficult to distinguish between all CPUs really being idle as opposed to all non-idle

[PATCH RFC nohz_full 7/7] nohz_full: Force RCU's grace-period kthreads onto timekeeping CPU

2013-07-26 Thread Paul E. McKenney
From: "Paul E. McKenney" Because RCU's quiescent-state-forcing mechanism is used to drive the full-system-idle state machine, and because this mechanism is executed by RCU's grace-period kthreads, this commit forces these kthreads to run on the timekeeping CPU (tick_do_timer_cpu). To do

[PATCH RFC nohz_full 4/7] nohz_full: Add full-system idle states and variables

2013-07-26 Thread Paul E. McKenney
From: "Paul E. McKenney" This commit adds control variables and states for full-system idle. The system will progress through the states in numerical order when the system is fully idle (other than the timekeeping CPU), and reset down to the initial state if any non-timekeeping CPU goes

[PATCH RFC nohz_full 0/7] v4 Provide infrastructure for full-system idle

2013-07-26 Thread Paul E. McKenney
Whenever there is at least one non-idle CPU, it is necessary to periodically update timekeeping information. Before NO_HZ_FULL, this updating was carried out by the scheduling-clock tick, which ran on every non-idle CPU. With the advent of NO_HZ_FULL, it is possible to have non-idle CPUs that

Re: [PATCH v14 6/6] LSM: Multiple LSM Documentation and cleanup

2013-07-26 Thread Randy Dunlap
On 07/25/13 11:32, Casey Schaufler wrote: > Subject: [PATCH v14 6/6] LSM: Multiple LSM Documentation and cleanup > > Add documentation and remove the obsolete capability LSM. > Clean up some comments in security.h > > Signed-off-by: Casey Schaufler > > --- > Documentation/security/LSM.txt |

Re: [PATCH] w1: replace strict_strtol() with kstrtol()

2013-07-26 Thread GregKH
On Tue, Jul 23, 2013 at 12:00:44AM +0400, Evgeniy Polyakov wrote: > Hi everyone > > 19.07.2013, 11:16, "Jingoo Han" : > > The usage of strict_strtol() is not preferred, because > > strict_strtol() is obsolete. Thus, kstrtol() should be > > used. > > Looks good to me, although I do not really see

Re: [PATCH 06/18] MAINTAINERS: ARM: plat-nomadik: Update patterns

2013-07-26 Thread Linus Walleij
On Mon, Jul 22, 2013 at 2:15 AM, Joe Perches wrote: > commit 694e33a7f4 ("ARM: plat-nomadik: move MTU, kill plat-nomadik") > moved the files, update the patterns. > > Signed-off-by: Joe Perches > cc: Linus Walleij Reviewed-by: Linus Walleij Sorry for missing this :-/ Yours, Linus Walleij

Re: [PATCH] ti-st: fix NULL dereference on protocol type check

2013-07-26 Thread Greg Kroah-Hartman
On Thu, Jul 25, 2013 at 07:16:28PM +0100, Gustavo Padovan wrote: > * Andrew Morton [2013-07-24 16:12:22 -0700]: > > > On Tue, 23 Jul 2013 15:29:31 +0100 Gustavo Padovan > > wrote: > > > > > From: Gustavo Padovan > > > > > > If the type we receive is greater than ST_MAX_CHANNELS we can't

Re: [patch 0/3] mm: improve page aging fairness between zones/nodes

2013-07-26 Thread Johannes Weiner
On Fri, Jul 26, 2013 at 03:45:33PM -0700, Andrew Morton wrote: > On Fri, 19 Jul 2013 16:55:22 -0400 Johannes Weiner wrote: > > > The way the page allocator interacts with kswapd creates aging > > imbalances, where the amount of time a userspace page gets in memory > > under reclaim pressure is

Re: [PATCH 1/4] ALSA: Added jack detection kcontrol support

2013-07-26 Thread Felipe Tonello
Mark, On Fri, Jul 26, 2013 at 3:48 PM, Mark Brown wrote: > On Fri, Jul 26, 2013 at 12:10:27PM -0700, Felipe Tonello wrote: >> On Fri, Jul 26, 2013 at 11:54 AM, Mark Brown wrote: > >> > This isn't ideal for multi-function jacks like headsets - it will report >> > a single boolean value for the

Re: [PATCH 0/4] pci_ids, 8250_pci: remove PCI_VENDOR_ID_ADDIDATA_OLD

2013-07-26 Thread Greg Kroah-Hartman
On Fri, Jul 19, 2013 at 03:37:26PM -0600, Bjorn Helgaas wrote: > On Tue, Jul 16, 2013 at 9:14 AM, Ian Abbott wrote: > > The 8250_pci driver uses PCI_VENDOR_ID_ADDIDATA_OLD (0x10e8), > > PCI_DEVICE_ID_ADDIDATA_APCI7800 (0x818e) to recognize the original > > ADDI-DATA APCI-7800 PCI serial card.

Re: [microblaze-linux] [RESEND PATCH] microblaze: Fix clone syscall

2013-07-26 Thread Andrew Morton
On Wed, 24 Jul 2013 08:48:27 +0200 Michal Simek wrote: > On 07/24/2013 07:55 AM, Rich Felker wrote: > > On Wed, Jul 24, 2013 at 07:34:07AM +0200, Michal Simek wrote: > >> Microblaze was assign to CLONE_BACKWARDS type where > >> parent tid was passed via 3rd argument. > >> Microblaze glibc is

Re: [PATCH 2/2] serial: omap: fix wrong context restoration on init

2013-07-26 Thread Greg Kroah-Hartman
On Fri, Jul 12, 2013 at 03:11:46PM +0300, Felipe Balbi wrote: > hi, > > On Fri, Jul 12, 2013 at 02:55:42PM +0300, Grygorii Strashko wrote: > > Since commit a630fbf "serial: omap: Fix device tree based PM runtime" > > the OMAP serial driver will always try to restore its context in > >

Re: linux-next: build failure after merge of the staging tree

2013-07-26 Thread Eli Billauer
On 27/07/13 00:56, Greg KH wrote: No, I need you to do that. Can you do a kernel build with: make M=drivers/staging/xillybus C=1 and fix up the errors that sparse reports and send a patch for that? I'm not sure it's related to me. I get the same errors whether I compile my own

Re: [patch 1/3] mm: vmscan: fix numa reclaim balance problem in kswapd

2013-07-26 Thread Andrew Morton
On Fri, 19 Jul 2013 16:55:23 -0400 Johannes Weiner wrote: > When the page allocator fails to get a page from all zones in its > given zonelist, it wakes up the per-node kswapds for all zones that > are at their low watermark. > > However, with a system under load and the free page counters

Re: [PATCH RFC nohz_full 6/7] nohz_full: Add full-system-idle state machine

2013-07-26 Thread Paul E. McKenney
On Thu, Jul 25, 2013 at 01:26:44AM +0200, Frederic Weisbecker wrote: > On Wed, Jul 24, 2013 at 03:09:02PM -0700, Paul E. McKenney wrote: > > On Wed, Jul 24, 2013 at 08:09:04PM +0200, Frederic Weisbecker wrote: > > > On Thu, Jul 18, 2013 at 10:06:25PM -0700, Paul E. McKenney wrote: > > > > > Lets

Re: [PATCH 4/4] ALSA: oxygen: Updating jack implementation according new ALSA Jacks

2013-07-26 Thread Felipe Tonello
Mark, On Fri, Jul 26, 2013 at 3:45 PM, Mark Brown wrote: > On Fri, Jul 26, 2013 at 12:02:51PM -0700, Felipe Tonello wrote: >> On Fri, Jul 26, 2013 at 11:56 AM, Mark Brown wrote: > >> >> snd_jack_new(chip->card, "Headphone", >> >> - SND_JACK_HEADPHONE, >hp_jack); >> >> +

Re: [PATCH 1/4] ALSA: Added jack detection kcontrol support

2013-07-26 Thread Mark Brown
On Fri, Jul 26, 2013 at 12:10:27PM -0700, Felipe Tonello wrote: > On Fri, Jul 26, 2013 at 11:54 AM, Mark Brown wrote: > > This isn't ideal for multi-function jacks like headsets - it will report > > a single boolean value for the jack regardless of what's plugged in > > meaning userpace can't do

[PATCH v2 1/3] ALSA: Added jack detection kcontrol support

2013-07-26 Thread Felipe F. Tonello
From: "Felipe F. Tonello" This patch adds jack support for alsa kcontrol. This support is necessary since the new kcontrol is used by user-space daemons, such as PulseAudio(>=2.0), to do jack detection.) Signed-off-by: Felipe F. Tonello --- include/sound/jack.h | 6 --

[PATCH v2 2/3] ALSA: pci: HDA/oxygen: Updating jack implementation according new ALSA Jacks

2013-07-26 Thread Felipe F. Tonello
From: "Felipe F. Tonello" ALSA standard jacks already are implemented using ALSA KControl. So there is no need implement that itself or to use snd_jack for input events only. Also updating oxygen codec jack implementation to support new jack API. Signed-off-by: Felipe F. Tonello ---

[PATCH v2 3/3] ALSA: SoC: Updating jack implementation according new ALSA Jacks

2013-07-26 Thread Felipe F. Tonello
From: "Felipe F. Tonello" Updating the ASoC jack support to add the ability to specify a jack index when creating it. Signed-off-by: Felipe F. Tonello --- include/sound/soc.h| 2 +- sound/soc/fsl/wm1133-ev1.c | 4 ++-- sound/soc/mid-x86/mfld_machine.c | 6 +++---

Re: [patch 0/3] mm: improve page aging fairness between zones/nodes

2013-07-26 Thread Andrew Morton
On Fri, 19 Jul 2013 16:55:22 -0400 Johannes Weiner wrote: > The way the page allocator interacts with kswapd creates aging > imbalances, where the amount of time a userspace page gets in memory > under reclaim pressure is dependent on which zone, which node the > allocator took the page frame

[PATCH v2 0/3] ALSA: Implement core jack support for kcontrol

2013-07-26 Thread Felipe F. Tonello
From: "Felipe F. Tonello" Sending series again. Difference is that previous Patch 4 was squashed with Patch 2. Also fixed comment on Patche 3. Felipe F. Tonello (3): ALSA: Added jack detection kcontrol support ALSA: pci: HDA/oxygen: Updating jack implementation according new ALSA Jacks

Re: [PATCH 4/4] ALSA: oxygen: Updating jack implementation according new ALSA Jacks

2013-07-26 Thread Mark Brown
On Fri, Jul 26, 2013 at 12:02:51PM -0700, Felipe Tonello wrote: > On Fri, Jul 26, 2013 at 11:56 AM, Mark Brown wrote: > >> snd_jack_new(chip->card, "Headphone", > >> - SND_JACK_HEADPHONE, >hp_jack); > >> + SND_JACK_HEADPHONE, 0, >hp_jack); > >>

Re: [PATCH] regulator: read low power states configuration from device tree

2013-07-26 Thread Mark Brown
On Fri, Jul 26, 2013 at 10:54:10PM +0200, Tomasz Figa wrote: > > The reason this isn't in device tree at the minute is that suspend to > > disk and suspend to RAM are somewhat Linux specific concepts and the > > whole thing gets more and more dynamic as time moves forwards with the > > suspend

Re: [PATCH 30/36] net: core: convert class code to use dev_groups

2013-07-26 Thread David Miller
From: Greg Kroah-Hartman Date: Wed, 24 Jul 2013 15:05:33 -0700 > The dev_attrs field of struct class is going away soon, dev_groups > should be used instead. This converts the networking core class code to > use the correct field. > > In order to do this in the "cleanest" way, some of the

Re: [PATCH 31/36] net: ieee802154: convert class code to use dev_groups

2013-07-26 Thread David Miller
From: Greg Kroah-Hartman Date: Wed, 24 Jul 2013 15:05:34 -0700 > The dev_attrs field of struct class is going away soon, dev_groups > should be used instead. This converts the ieee802154 class code to use > the correct field. > > Cc: Alexander Smirnov > Cc: Dmitry Eremin-Solenikov > Cc:

[PATCH] staging: xillybus: Multiple definition of xillyname resolved (bug fix)

2013-07-26 Thread Eli Billauer
Signed-off-by: Eli Billauer --- drivers/staging/xillybus/xillybus.h |2 -- drivers/staging/xillybus/xillybus_core.c |2 ++ drivers/staging/xillybus/xillybus_of.c |2 ++ drivers/staging/xillybus/xillybus_pcie.c |2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) diff

Re: [PATCH v5] clk: add MOXA ART SoCs clock driver

2013-07-26 Thread Mike Turquette
Quoting Tomasz Figa (2013-07-23 01:09:06) > On Monday 22 of July 2013 10:21:38 Mark Rutland wrote: > > On Fri, Jul 19, 2013 at 09:17:17AM +0100, Jonas Jensen wrote: > > > This patch adds MOXA ART SoCs clock driver support. > > > > > > Signed-off-by: Jonas Jensen > > > --- > > > > > > Notes: > >

Re: [PATCH 2/2] drivers/crypto/nx: fix limits to sg lists for SHA-2

2013-07-26 Thread Benjamin Herrenschmidt
On Fri, 2013-07-26 at 14:08 -0300, Marcelo Cerri wrote: > --- > drivers/crypto/nx/nx-sha256.c | 108 +++- > drivers/crypto/nx/nx-sha512.c | 113 > -- > 2 files changed, 129 insertions(+), 92 deletions(-) What about the

Re: [PATCH 2/2] drivers/crypto/nx: fix limits to sg lists for SHA-2

2013-07-26 Thread Benjamin Herrenschmidt
On Fri, 2013-07-26 at 14:08 -0300, Marcelo Cerri wrote: > > Signed-off-by: Fionnuala Gunter > Signed-off-by: Joel Schopp > Signed-off-by: Joy Latten > Signed-off-by: Marcelo Cerri > --- Why that enormous S-O-B list ? Did every of these people actually carry the patch ? If it's just acks or

Re: Zynq clk fixes

2013-07-26 Thread Sören Brinkmann
On Fri, Jul 26, 2013 at 03:25:01PM -0700, Mike Turquette wrote: > Quoting Sören Brinkmann (2013-07-26 14:11:52) > > On Fri, Jul 26, 2013 at 01:07:03PM -0700, Mike Turquette wrote: > > > Quoting Michal Simek (2013-07-26 05:09:58) > > > > Hi Mike, [cc: Arnd and Olof] > > > > > > > > Soren has found

Re: [PATCHv2] bridge: disable snooping if there is no querier

2013-07-26 Thread Adam Baker
On 25/07/13 14:56, Linus Lüssing wrote: If there is no querier on a link then we won't get periodic reports and therefore won't be able to learn about multicast listeners behind ports, potentially leading to lost multicast packets, especially for multicast listeners that joined before the

RE: [PATCH] mfd: palmas: Add DVFS mux setting

2013-07-26 Thread Andrew Chew
> How does this interact with the pinctrl driver that Laxman just > sent for Palmas? > > https://lkml.org/lkml/2013/7/26/141 > [PATCH 0/2] pinctrl: palmas: add pincontrol driver > >>> > >>> Thanks for pointing this out. Given this: > >>> > >>> +Optional properties: > >>>

Re: DT bindings as ABI [was: Do we have people interested in device tree janitoring / cleanup?]

2013-07-26 Thread Rob Herring
On Thu, Jul 25, 2013 at 7:34 PM, Stephen Warren wrote: > On 07/25/2013 01:16 PM, Rob Herring wrote: >> On Thu, Jul 25, 2013 at 2:31 PM, Jason Cooper wrote: >>> On Thu, Jul 25, 2013 at 02:11:31PM -0500, Rob Herring wrote: On Thu, Jul 25, 2013 at 11:09 AM, Olof Johansson wrote: >>> > One

  1   2   3   4   5   6   7   8   9   10   >