Re: [PATCH v3 0/2] x86_64: Sigcontext improvements

2015-03-13 Thread Oleg Nesterov
On 03/12, Andy Lutomirski wrote: > > Patch 1 is IMO a bug fix. And personally I agree. I am still not sure about renames in include/uapi, perhaps someone can ack comment this change... Perhaps we could could even do - __u16 __pad0; + // comment to explain that ->ss i

[PATCH RT 08/31] rtmutex: Simplify remove_waiter()

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: 1ca7b86062ec8473d03c5cdfd336abc8b1c8098c Exit right away, when the removed waiter was not the top priority waiter on the lock. Get rid of the extra

[PATCH RT 16/25] futex: Simplify futex_lock_pi_atomic() and make it more robust

2015-03-13 Thread Steven Rostedt
3.2.68-rt99-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: af54d6a1c3ad474bbc9893c9905022646be6092c futex_lock_pi_atomic() is a maze of retry hoops and loops. Reduce it to simple and understandable states:

[PATCH RT 27/27] Linux 3.4.106-rt132-rc1

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index a328b97369c2..50cab880b71

[PATCH RT 24/25] lockdep: selftest: fix warnings due to missing PREEMPT_RT conditionals

2015-03-13 Thread Steven Rostedt
3.2.68-rt99-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Josh Cartwright "lockdep: Selftest: Only do hardirq context test for raw spinlock" disabled the execution of certain tests with PREEMPT_RT_FULL, but did not prevent the tests from sti

[PATCH RT 18/27] x86: UV: raw_spinlock conversion

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith Shrug. Lots of hobbyists have a beast in their basement, right? Cc: stable...@vger.kernel.org Signed-off-by: Mike Galbraith Signed-off-by: Sebastian Andrzej Siewio

[PATCH RT 25/25] Linux 3.2.68-rt99-rc1

2015-03-13 Thread Steven Rostedt
3.2.68-rt99-rc1 stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index 8de253240c16..29791c9d77a3

[PATCH RT 01/25] gpio: omap: use raw locks for locking

2015-03-13 Thread Steven Rostedt
3.2.68-rt99-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior This patch converts gpio_bank.lock from a spin_lock into a raw_spin_lock. The call path is to access this lock is always under a raw_spin_lock, for instance

Re: [PATCH] PNP / ACPI: Use ACPI_COMPANION_SET() during initialization

2015-03-13 Thread Mika Westerberg
On Fri, Mar 13, 2015 at 01:45:49AM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > pnpacpi_add_device() calls acpi_bind_one() on an already registered > device, which is a mistake, but it can initialize the ACPI companion > field of the struct device to be registered using ACPI_COMP

Re: [RFC] With 8250 Designware UART, if writes to the LCR failed the kernel will hung up

2015-03-13 Thread Andy Shevchenko
On Tue, Mar 10, 2015 at 4:47 AM, Tim Kryger wrote: > On Mon, Mar 9, 2015 at 8:05 AM, Alan Cox wrote: > >> Ah no - I meant what is their official software workaround for existing >> parts with the bug ? Presumably they have an errata document that >> discusses this and the correct methods they rec

[PATCH RT 12/31] futex: Make unlock_pi more robust

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: ccf9e6a80d9e1b9df69c98e6b9745cf49869ee15 The kernel tries to atomically unlock the futex without checking whether there is kernel state associated t

[PATCH RT 18/31] x86: UV: raw_spinlock conversion

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith Shrug. Lots of hobbyists have a beast in their basement, right? Cc: stable...@vger.kernel.org Signed-off-by: Mike Galbraith Signed-off-by: Sebastian Andrzej Siewior

[PATCH RT 15/25] futex: Split out the first waiter attachment from lookup_pi_state()

2015-03-13 Thread Steven Rostedt
3.2.68-rt99-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: 04e1b2e52b17195c9a1daa5935c55a4c8716095c We want to be a bit more clever in futex_lock_pi_atomic() and separate the possible states. Split out the co

[PATCH RT 23/25] sunrpc: make svc_xprt_do_enqueue() use get_cpu_light()

2015-03-13 Thread Steven Rostedt
3.2.68-rt99-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:915 |in_atomic(): 1, irqs_disabled(): 0, pid: 3194, name: rpc.nfsd |Preemption disabled

[PATCH RT 26/27] lockdep: selftest: fix warnings due to missing PREEMPT_RT conditionals

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Josh Cartwright "lockdep: Selftest: Only do hardirq context test for raw spinlock" disabled the execution of certain tests with PREEMPT_RT_FULL, but did not prevent the tests from s

Re: [PATCH V2 linux-next] UBIFS: simplify returns

2015-03-13 Thread Geert Uytterhoeven
On Thu, Mar 12, 2015 at 9:34 PM, Fabian Frederick wrote: > directly return recover_head() and ubifs_leb_unmap() > instead of storing value in err and testing it. > > Signed-off-by: Fabian Frederick Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterh

[PATCH RT 25/27] sunrpc: make svc_xprt_do_enqueue() use get_cpu_light()

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:915 |in_atomic(): 1, irqs_disabled(): 0, pid: 3194, name: rpc.nfsd |Preemption disabl

[PATCH RT 06/31] rtmutex: Clarify the boost/deboost part

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: a57594a13a446d1a6ab1dcd48339f799ce586843 Add a separate local variable for the boost/deboost logic to make the code more readable. Add comments wher

[PATCH RT 21/27] ARM: cmpxchg: define __HAVE_ARCH_CMPXCHG for armv6 and later

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- Both pi_stress and sigwaittest in rt-test show performance gain with __HAVE_ARCH_CMPXCHG. Testing result on coretile_express_a9x4: pi_stress -p 99 --duration=300 (on linux-3.4-rc5; bigger

Re: [PATCH 1/2] ARM: dts: am4372: Add "ti,am437x-ocp2scp" as compatible string for OCP2SCP

2015-03-13 Thread Kishon Vijay Abraham I
Hi, On Friday 13 March 2015 08:45 PM, Nishanth Menon wrote: On 03/13/2015 10:12 AM, Kishon Vijay Abraham I wrote: Added a new compatible string "ti,am437x-ocp2scp" for OCP2SCP module. This is needed since except for the OCP2SCP used in AM437x, SYNC2 value in OCP2SCP TIMING should be changed whe

[PATCH RT 07/31] rtmutex: Document pi chain walk

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: 3eb65aeadf701976b084e9171e16bb7d1e83fbb0 Add commentry to document the chain walk and the protection mechanisms and their scope. Signed-off-by: Tho

[PATCH RT 05/31] rtmutex: No need to keep task ref for lock owner check

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: 2ffa5a5cd2fe792b6399c903d5172adf088d8ff7 There is no point to keep the task ref across the check for lock owner. Drop the ref before that, so the pr

[PATCH RT 15/31] futex: Split out the first waiter attachment from lookup_pi_state()

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: 04e1b2e52b17195c9a1daa5935c55a4c8716095c We want to be a bit more clever in futex_lock_pi_atomic() and separate the possible states. Split out the c

[PATCH RT 13/31] futex: Use futex_top_waiter() in lookup_pi_state()

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: bd1dbcc67cd2c1181e2c01daac51eabf1b964dd8 No point in open coding the same function again. Signed-off-by: Thomas Gleixner Reviewed-by: Darren Hart

[PATCH RT 01/31] gpio: omap: use raw locks for locking

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior This patch converts gpio_bank.lock from a spin_lock into a raw_spin_lock. The call path is to access this lock is always under a raw_spin_lock, for instance

[PATCH RT 02/31] create-rt-enqueue

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt To ease backporting patches, replace the plist functions with rt_mutex_enqueue{_pi}() and rt_mutex_dequeue{_pi}() like upstream -rt does. This will lower the conflicts

[PATCH RT 17/31] rt-mutex: avoid a NULL pointer dereference on deadlock

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior With task_blocks_on_rt_mutex() returning early -EDEADLK we never add the waiter to the waitqueue. Later, we try to remove it via remove_waiter() and go boom

[PATCH RT 11/31] rtmutex: Avoid pointless requeueing in the deadlock detection chain walk

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: 67792e2cabadbadd1a93f6790fa7bcbd47eca7c3 In case the dead lock detector is enabled we follow the lock chain to the end in rt_mutex_adjust_prio_chain

[PATCH RT 20/31] arm/futex: disable preemption during futex_atomic_cmpxchg_inatomic()

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior The ARM UP implementation of futex_atomic_cmpxchg_inatomic() assumes that pagefault_disable() inherits a preempt disabled section. This assumtion is true fo

Re: [PATCH] of/selftest: remove the duplicate of_changeset_init

2015-03-13 Thread Rob Herring
On Mon, Mar 2, 2015 at 12:49 AM, Wang Long wrote: > Remove the duplicate of_changeset_init. In of_selftest_changeset > testcase, the "struct of_changeset chgset" is initialized twice, > but only once is enough. so, drop the first initializtion code. > > Signed-off-by: Wang Long Applied for 4.0.

[PATCH RT 10/31] rtmutex: Cleanup deadlock detector debug logic

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: 8930ed80f970a90a795239e7415c9b0e6f964649 The conditions under which deadlock detection is conducted are unclear and undocumented. Add constants ins

[PATCH RT 16/31] futex: Simplify futex_lock_pi_atomic() and make it more robust

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: af54d6a1c3ad474bbc9893c9905022646be6092c futex_lock_pi_atomic() is a maze of retry hoops and loops. Reduce it to simple and understandable states:

Re: [PATCH] of/unittest: Fix the wrong expected value in of_selftest_property_string

2015-03-13 Thread Rob Herring
On Mon, Mar 2, 2015 at 9:50 PM, Wang Long wrote: > This patch fix the wrong expected value of of_property_match_string > in of_selftest_property_string. > > Signed-off-by: Wang Long Applied for 4.0. Thanks. Rob > --- > drivers/of/unittest.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 delet

[PATCH RT 24/31] work-simple: Simple work queue implemenation

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Daniel Wagner Provides a framework for enqueuing callbacks from irq context PREEMPT_RT_FULL safe. The callbacks are executed in kthread context. Bases on wait-simple. Signed-off-by

Re: Linux XIA - merge proposal

2015-03-13 Thread Michel Machado
On 03/10/2015 01:01 PM, Bjorn Helgaas wrote: From my point of view (far outside the networking world and completely incompetent to judge the merits of XIA), this email seems like a reasonable starting point for a discussion, and I'm disappointed that it got shut down so fast. It might not be in

[PATCH RT 21/31] ARM: cmpxchg: define __HAVE_ARCH_CMPXCHG for armv6 and later

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- Both pi_stress and sigwaittest in rt-test show performance gain with __HAVE_ARCH_CMPXCHG. Testing result on coretile_express_a9x4: pi_stress -p 99 --duration=300 (on linux-3.4-rc5; bigger i

Re: [PATCH v4 0/9] ARM: at91 cleanups for 4.1 #1

2015-03-13 Thread Nicolas Ferre
Le 12/03/2015 15:54, Alexandre Belloni a écrit : > This series removes more mach/headers. > > Then it introduces a more scalable SoC detection infrastructure which allows > to > remove the at91_map_io/at91_alt_map_io and iotable_init ugliness. > > Changes in v4: > - Changes soc family and name

[PATCH RT 27/31] timers: Track total number of timers in list

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: "Paul E. McKenney" upstream commit: fff421580f512fc044cc7421fdff31a7a6997350 Currently, the tvec_base structure's ->active_timers field tracks only the non-deferrable timers, which

[PATCH RT 25/31] sunrpc: make svc_xprt_do_enqueue() use get_cpu_light()

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:915 |in_atomic(): 1, irqs_disabled(): 0, pid: 3194, name: rpc.nfsd |Preemption disable

Re: [PATCH v2 2/2] of: Drop superfluous dependance for OF_OVERLAY

2015-03-13 Thread Rob Herring
On Mon, Feb 16, 2015 at 12:27 AM, Matwey V. Kornilov wrote: > The whole menu already depends on OF, so there is no need to additionaly > specify it. > > Suggested-by: Paul Bolle > Signed-off-by: Matwey V. Kornilov Applied for 4.0. Thanks. Rob > --- > drivers/of/Kconfig | 1 - > 1 file chang

[PATCH RT 14/27] futex: Split out the waiter check from lookup_pi_state()

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: e60cbc5ceaa518d630ab8f35a7d05cee1c752648 We want to be a bit more clever in futex_lock_pi_atomic() and separate the possible states. Split out the

[PATCH RT 00/27] Linux 3.4.106-rt132-rc1

2015-03-13 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 3.4.106-rt132-rc1. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release ca

Re: [PATCH RT 00/39] Linux 3.14.34-rt32-rc1

2015-03-13 Thread Steven Rostedt
On Fri, 13 Mar 2015 11:11:35 -0400 Steven Rostedt wrote: > On Fri, Mar 13, 2015 at 05:49:13AM +0100, Mike Galbraith wrote: > > On Thu, 2015-03-12 at 15:13 -0400, Steven Rostedt wrote: > > > Dear RT Folks, > > > > > > This is the RT stable review cycle of patch 3.14.34-rt32-rc1. > > > > > > Plea

Re: [PATCH 2/4] x86/fpu: introduce restore_init_xstate()

2015-03-13 Thread Borislav Petkov
On Fri, Mar 13, 2015 at 03:39:28PM +0100, Oleg Nesterov wrote: > This too needs cleanups. But later ;) > > Note that xstate_enable_boot_cpu is not called if !cpu_has_xsave, see the > check in xsave_init(). Howver, eagerfpu=on will force eager_fpu_init() which > calls eager_fpu_init_bp(). Yahaa.

[PATCH RT 23/31] scheduling while atomic in cgroup code

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith mm, memcg: make refill_stock() use get_cpu_light() Nikita reported the following memcg scheduling while atomic bug: Call Trace: [e22d5a90] [c0007ea8] show_stack+0x4c

[PATCH RT 13/27] futex: Use futex_top_waiter() in lookup_pi_state()

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: bd1dbcc67cd2c1181e2c01daac51eabf1b964dd8 No point in open coding the same function again. Signed-off-by: Thomas Gleixner Reviewed-by: Darren Hart

Re: [PATCH v3 2/3] of: add optional options parameter to of_find_node_by_path()

2015-03-13 Thread Rob Herring
On Fri, Mar 6, 2015 at 12:59 PM, Peter Hurley wrote: > On 03/06/2015 01:11 PM, Peter Hurley wrote: >> On 03/06/2015 11:52 AM, Leif Lindholm wrote: > > [...] > >>> Could you give the below a spin, and if it works for you, send me the >>> above tests as a full patch so that I can post both as a seri

[PATCH RT 11/27] rtmutex: Avoid pointless requeueing in the deadlock detection chain walk

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: 67792e2cabadbadd1a93f6790fa7bcbd47eca7c3 In case the dead lock detector is enabled we follow the lock chain to the end in rt_mutex_adjust_prio_chai

[PATCH RT 09/27] rtmutex: Confine deadlock logic to futex

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: c051b21f71d1ffdfd7ad406a1ef5ede5e5f974c5 The deadlock logic is only required for futexes. Remove the extra arguments for the public functions and

[PATCH RT 17/27] rt-mutex: avoid a NULL pointer dereference on deadlock

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior With task_blocks_on_rt_mutex() returning early -EDEADLK we never add the waiter to the waitqueue. Later, we try to remove it via remove_waiter() and go boo

Re: [PATCH RESEND 2/2] serial: add device tree binding documentation for ETRAX FS UART

2015-03-13 Thread Rob Herring
On Wed, Feb 18, 2015 at 4:29 PM, Niklas Cassel wrote: > Signed-off-by: Niklas Cassel > --- > [PATCH 1/2] of this patch series has already reached its way into mainline. > It would be nice if someone picked up [PATCH 2/2] (this commit) before the > merge window closes. > > .../devicetree/binding

Re: [PATCH v2 1/2] of: Add prompt for OF_OVERLAY config

2015-03-13 Thread Rob Herring
On Mon, Feb 16, 2015 at 12:27 AM, Matwey V. Kornilov wrote: > Add prompt for OF_OVERLAY config option to make in visible in > menuconfig/xconfig > to make user be able to set or unset this option. > > Signed-off-by: Matwey V. Kornilov Applied for 4.0. Thanks. Rob > --- > Changes from v1: > -

Re: vvar, gup && coredump

2015-03-13 Thread Oleg Nesterov
On 03/12, Andy Lutomirski wrote: > > What's wrong with off-topic? :) OK ;) > As vvar demonstrates, it's possible to add new per-process vmas that > show up in all processes automatically. The trickiest part is making > it work with CRIU. Ah... I seem to finaly understand why exactly you added t

Re: kswapd hogging in lowmem_shrink

2015-03-13 Thread Michal Hocko
On Fri 13-03-15 19:55:27, Vaibhav Shinde wrote: > On low memory situation, I see various shrinkers being invoked, but in > lowmem_shrink() case, kswapd is found to be hogging for around 150msecs. > > Due to this my application suffer latency issue, as the cpu was not > released by kswapd0. > > I

[PATCH RT 10/27] rtmutex: Cleanup deadlock detector debug logic

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: 8930ed80f970a90a795239e7415c9b0e6f964649 The conditions under which deadlock detection is conducted are unclear and undocumented. Add constants in

[PATCH RT 02/27] create-rt-enqueue

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt To ease backporting patches, replace the plist functions with rt_mutex_enqueue{_pi}() and rt_mutex_dequeue{_pi}() like upstream -rt does. This will lower the conflict

Re: [PATCH -next] of/platform: Fix sparc:allmodconfig build

2015-03-13 Thread Rob Herring
On Tue, Mar 10, 2015 at 10:31 PM, Guenter Roeck wrote: > sparc:allmodconfig fails to build with: > > drivers/built-in.o: In function `platform_bus_init': > (.init.text+0x3684): undefined reference to > `of_platform_register_reconfig_notifier' > > of_platform_register_reconfig_notifier is only dec

Re: [PATCH] dt: submitting-patches: clarify that DT maintainers are to be cced on bindings

2015-03-13 Thread Rob Herring
On Thu, Mar 5, 2015 at 9:53 AM, Matt Porter wrote: > The exact steps provided for submitting binding patches can be read > as requiring the bindings to be sent only to the devicet...@vger.kernel.org > list. Since the DT maintainers would like to be Cced on any binding > submissions, make this requ

Re: [PATCH] of: Add vendor prefix for Arasan

2015-03-13 Thread Rob Herring
On Thu, Feb 12, 2015 at 2:38 AM, Michal Simek wrote: > PATA(pata_arasan_cf.c) and SDHCI(sdhci-of-arasan.c) drivers > are already using this prefix. > > Signed-off-by: Michal Simek Applied for 4.0. Thanks. Rob > --- > > https://arasan.com/contact/ > --- > Documentation/devicetree/bindings/vend

[PATCH RT 12/27] futex: Make unlock_pi more robust

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: ccf9e6a80d9e1b9df69c98e6b9745cf49869ee15 The kernel tries to atomically unlock the futex without checking whether there is kernel state associated

Re: [PATCH] of: Kconfig: Let OF_UNITTEST depend on "I2C=y" and "I2C_MUX=y"

2015-03-13 Thread Rob Herring
On Wed, Mar 4, 2015 at 1:49 PM, Arnd Bergmann wrote: > On Wednesday 04 March 2015 16:04:23 Geert Uytterhoeven wrote: >> > - depends on OF_IRQ && OF_EARLY_FLATTREE >> > + depends on OF_IRQ && OF_EARLY_FLATTREE && I2C=y && I2C_MUX=y >> >> ... I think it would be better to replace "#if IS

[PATCH RT 08/27] rtmutex: Simplify remove_waiter()

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: 1ca7b86062ec8473d03c5cdfd336abc8b1c8098c Exit right away, when the removed waiter was not the top priority waiter on the lock. Get rid of the extra

[PATCH RT 04/27] rtmutex: Simplify and document try_to_take_rtmutex()

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: 358c331f391f3e0432f4f96f25017d12ac8d10b1 The current implementation of try_to_take_rtmutex() is correct, but requires more than a single brain twis

[PATCH RT 15/27] futex: Split out the first waiter attachment from lookup_pi_state()

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: 04e1b2e52b17195c9a1daa5935c55a4c8716095c We want to be a bit more clever in futex_lock_pi_atomic() and separate the possible states. Split out the

[PATCH RT 01/27] gpio: omap: use raw locks for locking

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior This patch converts gpio_bank.lock from a spin_lock into a raw_spin_lock. The call path is to access this lock is always under a raw_spin_lock, for instanc

[PATCH RT 03/27] rtmutex: Simplify rtmutex_slowtrylock()

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream-commit: 88f2b4c15e561bb5c28709d666364f273bf54b98 Oleg noticed that rtmutex_slowtrylock() has a pointless check for rt_mutex_owner(lock) != current. To avo

[PATCH RT 14/31] futex: Split out the waiter check from lookup_pi_state()

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: e60cbc5ceaa518d630ab8f35a7d05cee1c752648 We want to be a bit more clever in futex_lock_pi_atomic() and separate the possible states. Split out the w

[PATCH RT 31/31] Linux 3.10.70-rt75-rc1

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index 7d028f4a9e56..5449cd22a524

Re: [PATCH 7/7] common.c:105 Variable 'gephy' is never used.

2015-03-13 Thread Russell King - ARM Linux
On Fri, Mar 13, 2015 at 03:48:40PM +0100, Andrew Lunn wrote: > On Fri, Mar 13, 2015 at 02:19:26PM +, Russell King - ARM Linux wrote: > > On Fri, Mar 13, 2015 at 03:44:24PM +0200, Ameen Ali wrote: > > > Variable 'gephy' is assigned a value that is never used. > > > > > > Signed-off-by : > > >

[PATCH RT 06/27] rtmutex: Clarify the boost/deboost part

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: a57594a13a446d1a6ab1dcd48339f799ce586843 Add a separate local variable for the boost/deboost logic to make the code more readable. Add comments whe

[PATCH RT 20/27] arm/futex: disable preemption during futex_atomic_cmpxchg_inatomic()

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior The ARM UP implementation of futex_atomic_cmpxchg_inatomic() assumes that pagefault_disable() inherits a preempt disabled section. This assumtion is true f

[PATCH RT 29/31] timers: Reduce future __run_timers() latency for newly emptied list

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: "Paul E. McKenney" upstream commit: 16d937f880312e3f47157d4d6d6ebf7e61523378 The __run_timers() function currently steps through the list one jiffy at a time in order to update the

[PATCH RT 22/31] sas-ata/isci: dontt disable interrupts in qc_issue handler

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Paul Gortmaker On 3.14-rt we see the following trace on Canoe Pass for SCSI_ISCI "Intel(R) C600 Series Chipset SAS Controller" when the sas qc_issue handler is run: BUG: sleeping f

[PATCH RT 07/27] rtmutex: Document pi chain walk

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: 3eb65aeadf701976b084e9171e16bb7d1e83fbb0 Add commentry to document the chain walk and the protection mechanisms and their scope. Signed-off-by: Th

[PATCH RT 28/31] timers: Reduce __run_timers() latency for empty list

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: "Paul E. McKenney" upstream commit: d550e81dc0ddc04f1b417c179c214103a28e0ee8 The __run_timers() function currently steps through the list one jiffy at a time in order to update the

[PATCH RT 05/27] rtmutex: No need to keep task ref for lock owner check

2015-03-13 Thread Steven Rostedt
3.4.106-rt132-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream commit: 2ffa5a5cd2fe792b6399c903d5172adf088d8ff7 There is no point to keep the task ref across the check for lock owner. Drop the ref before that, so the p

[PATCH RT 26/31] lockdep: selftest: fix warnings due to missing PREEMPT_RT conditionals

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Josh Cartwright "lockdep: Selftest: Only do hardirq context test for raw spinlock" disabled the execution of certain tests with PREEMPT_RT_FULL, but did not prevent the tests from st

[PATCH RT 30/31] timers: Reduce future __run_timers() latency for first add to empty list

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: "Paul E. McKenney" upstream commit: 18d8cb64c9c074cbe2bd677ab10fff8283abdb62 The __run_timers() function currently steps through the list one jiffy at a time in order to update the

[PATCH RT 00/31] Linux 3.10.70-rt75-rc1

2015-03-13 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 3.10.70-rt75-rc1. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release can

Re: [PATCH 1/2] ARM: dts: am4372: Add "ti,am437x-ocp2scp" as compatible string for OCP2SCP

2015-03-13 Thread Nishanth Menon
On 03/13/2015 10:12 AM, Kishon Vijay Abraham I wrote: > Added a new compatible string "ti,am437x-ocp2scp" for OCP2SCP module. > This is needed since except for the OCP2SCP used in AM437x, SYNC2 value > in OCP2SCP TIMING should be changed whereas the default value is sufficient > in AM437x. > > Cc:

[PATCH 11/11] iop-adma.c:1129: possible bad parameter in memset

2015-03-13 Thread Ameen Ali
The 2nd memset() argument '286331153' doesn't fit into an 'unsigned char'. Signed-off-by : --- drivers/dma/iop-adma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/iop-adma.c b/drivers/dma/iop-adma.c index 263d9f6..78382b0 100644 --- a/drivers/dma/iop-adma.c +++

[PATCH RT 03/31] rtmutex: Simplify rtmutex_slowtrylock()

2015-03-13 Thread Steven Rostedt
3.10.70-rt75-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner upstream-commit: 88f2b4c15e561bb5c28709d666364f273bf54b98 Oleg noticed that rtmutex_slowtrylock() has a pointless check for rt_mutex_owner(lock) != current. To avoi

[PATCH RT 21/36] ARM: enable irq in translation/section permission fault handlers

2015-03-13 Thread Steven Rostedt
3.12.38-rt53-rc1 stable review patch. If anyone has any objections, please let me know. -- From: "Yadi.hu" Probably happens on all ARM, with CONFIG_PREEMPT_RT_FULL CONFIG_DEBUG_ATOMIC_SLEEP This simple program int main() { *((char*)0xc0001000) = 0; }; [ 512.742724] BU

Re: [PATCH RT 00/39] Linux 3.14.34-rt32-rc1

2015-03-13 Thread Steven Rostedt
On Fri, Mar 13, 2015 at 05:49:13AM +0100, Mike Galbraith wrote: > On Thu, 2015-03-12 at 15:13 -0400, Steven Rostedt wrote: > > Dear RT Folks, > > > > This is the RT stable review cycle of patch 3.14.34-rt32-rc1. > > > > Please scream at me if I messed something up. > > Hm, in both 12/14 series,

[PATCH 1/2] ARM: dts: am4372: Add "ti,am437x-ocp2scp" as compatible string for OCP2SCP

2015-03-13 Thread Kishon Vijay Abraham I
Added a new compatible string "ti,am437x-ocp2scp" for OCP2SCP module. This is needed since except for the OCP2SCP used in AM437x, SYNC2 value in OCP2SCP TIMING should be changed whereas the default value is sufficient in AM437x. Cc: Tony Lindgren Signed-off-by: Kishon Vijay Abraham I --- .../de

[PATCH 2/2] bus: ocp2scp: SYNC2 value should be changed to 0x6

2015-03-13 Thread Kishon Vijay Abraham I
As per the TRMs of AM572x, OMAP4430, OMAP4460, OMAP543x, the value of SYNC2 must be set to 0x6 in order to ensure correct operation. So modified the SYNC2 value of OCP2SCP TIMING register to 0x6 in all the platforms that use OCP2SCP driver except AM437x. Also introduced a new compatible property s

Re: vvar, gup && coredump

2015-03-13 Thread Oleg Nesterov
On 03/13, Sergio Durigan Junior wrote: > > On Thursday, March 12 2015, Oleg Nesterov wrote: > > > And it seems that we all agree that the kernel should not dump this vma > > too. Could you confirm that this is fine from gdb pov just in case? > > Yes, this is what we expect from the GDB side. This

Re: [RFC] ext4: Add pollable sysfs entry for block threshold events

2015-03-13 Thread Theodore Ts'o
On Wed, Mar 11, 2015 at 03:12:25PM +0100, Lukáš Czerner wrote: > > I though you were advocating for a solution independent on the file > system. This is ext4 only solution, but I do not really have > anything against this. It would be nice if we could have a fs-independent solution so that we don

Re: committed memory, mmaps and shms

2015-03-13 Thread Marcos Dione
On Thu, Mar 12, 2015 at 01:56:00PM -0300, Marcos Dione wrote: > On Thu, Mar 12, 2015 at 11:35:13AM -0400, Michal Hocko wrote: > > > > On Wed 11-03-15 19:10:44, Marcos Dione wrote: > I think that what I'm trying to do is figure out what each value > represents and where it's incuded, as if to ma

Re: [PATCH 4/4] x86/fpu: don't abuse drop_init_fpu() in flush_thread()

2015-03-13 Thread Oleg Nesterov
On 03/13, Borislav Petkov wrote: > > On Wed, Mar 11, 2015 at 06:35:07PM +0100, Oleg Nesterov wrote: > > drop_init_fpu() makes no sense. We need drop_fpu() and only if > > Oh, please explain why. I can try to rhyme it up as something like "we > don't need to restore FPU context when flushing the thr

Re: [PATCH v4 0/9] epoll: Introduce new syscalls, epoll_ctl_batch and epoll_pwait1

2015-03-13 Thread Paolo Bonzini
On 13/03/2015 15:46, Jason Baron wrote: > > The throttling algorithm computes a duration for the next IO, which is used > > to > > arm a timer in order to delay the request a bit. As timers are always > > rounded > > *UP* to the effective granularity, the timeout being 1ms in epoll_pwait is >

[PATCH -mm] memcg: zap mem_cgroup_lookup

2015-03-13 Thread Vladimir Davydov
mem_cgroup_lookup is a wrapper around mem_cgroup_from_id, which checks that id != 0 before issuing the function call. Today, there is no point in this additional check apart from optimization, because there is no css with id <= 0, so that css_from_id, called by mem_cgroup_from_id, will return NULL

Re: [PATCH 7/7] common.c:105 Variable 'gephy' is never used.

2015-03-13 Thread Andrew Lunn
On Fri, Mar 13, 2015 at 02:19:26PM +, Russell King - ARM Linux wrote: > On Fri, Mar 13, 2015 at 03:44:24PM +0200, Ameen Ali wrote: > > Variable 'gephy' is assigned a value that is never used. > > > > Signed-off-by : > > --- > > arch/arm/mach-dove/common.c | 2 +- > > 1 file changed, 1 insert

[PATCH 10/11] arch/arm/mach-s3c24xx/mach-osiris-dvs.c: use "&&" (not "&") with bool operands

2015-03-13 Thread Ameen Ali
bitwise AND ("&") was used in logical expressions with operands having "bool" type. Replaced bitwise AND operators with logical AND. Signed-off-by : Ameen Ali http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v4 8/9] ARM: at91: sama5 use SoC detection infrastructure

2015-03-13 Thread Nicolas Ferre
Le 12/03/2015 15:54, Alexandre Belloni a écrit : > Use the soc detection infrastructure for sama5 initialization. > > Signed-off-by: Alexandre Belloni > --- > arch/arm/mach-at91/sama5.c | 49 > -- > arch/arm/mach-at91/soc.h | 13 > 2 fi

Re: [PATCH 2/2] drm/msm: Support NV12MT format in mdp4

2015-03-13 Thread Stéphane Viau
Hi Daniel, > On Fri, Feb 20, 2015 at 3:42 PM, Beeresh Gopal > wrote: >> +/* Samsung framebuffer modifiers */ >> + >> +/* >> + * NV12 64x32 Tiled >> + * >> + * 2 planes Y and CbCr, grouped into 64x32 macro tiles, >> + * with a non-standard order in memory (Z-shape). >> + * >> + * Pixel layout iden

Re: kswapd hogging in lowmem_shrink

2015-03-13 Thread Rik van Riel
On 03/13/2015 10:25 AM, Vaibhav Shinde wrote: > > On low memory situation, I see various shrinkers being invoked, but in > lowmem_shrink() case, kswapd is found to be hogging for around 150msecs. > > Due to this my application suffer latency issue, as the cpu was not > released by kswapd0. > > I

Re: [PATCH v10 10/21] ARM64 / ACPI: Get PSCI flags in FADT for PSCI init

2015-03-13 Thread Lorenzo Pieralisi
On Wed, Mar 11, 2015 at 12:39:36PM +, Hanjun Guo wrote: [...] > +static void __init psci_0_2_set_functions(void) > +{ > + pr_info("Using standard PSCI v0.2 function IDs\n"); > + psci_function_id[PSCI_FN_CPU_SUSPEND] = PSCI_0_2_FN64_CPU_SUSPEND; > + psci_ops.cpu_suspend = psci_cpu_

[PATCH V2 3/3] MAINTAINERS: mmc: Cleanup MMC/SD/SDIO section and SDHCI driver section

2015-03-13 Thread Ulf Hansson
As Chris Ball has moved on to other assignments, he's no longer able to help me maintain MMC. Let's remove him from the MMC sections in MAINTAINERS and add him to CREDIT file. This also affects the SDHCI DRIVER section, since its state now becomes orphan. Cc: Chris Ball Signed-off-by: Ulf Hansso

Re: [PATCH v6 00/30] Refine PCI scan interfaces and make generic pci host bridge

2015-03-13 Thread Bjorn Helgaas
On Fri, Mar 13, 2015 at 6:31 AM, Liviu Dudau wrote: > On Thu, Mar 12, 2015 at 04:23:06PM -0500, Bjorn Helgaas wrote: >> On Mon, Mar 09, 2015 at 10:33:57AM +0800, Yijing Wang wrote: >> > ... >> > Yijing Wang (29): >> > PCI: Rip out pci_bus_add_devices() from pci_scan_bus() >> > PCI: Rip out pci

<    1   2   3   4   5   6   7   8   9   >