Re: perf: fuzzer BUG: KASAN: stack-out-of-bounds in __unwind_start

2016-11-30 Thread Peter Zijlstra
On Wed, Nov 30, 2016 at 11:01:29AM +0100, Petr Mladek wrote: > On Tue 2016-11-29 18:10:38, Peter Zijlstra wrote: > > In any case, as long as printk has a globally serialized 'log', it, per > > design, will be worse than the console drivers its build upon. And them > > being shit precludes the enti

Re: [PATCH 3/6] net: ethernet: ti: cpts: add support of cpts HW_TS_PUSH

2016-11-30 Thread Jan Lübbe
On Mo, 2016-11-28 at 17:04 -0600, Grygorii Strashko wrote: > This patch adds support of the CPTS HW_TS_PUSH events which are generated > by external low frequency time stamp channels on TI's OMAP CPSW and > Keystone 2 platforms. It supports up to 8 external time stamp channels for > HW_TS_PUSH inpu

Re: [PATCH v4 1/1] crypto: add virtio-crypto driver

2016-11-30 Thread Stefan Hajnoczi
On Tue, Nov 29, 2016 at 08:48:14PM +0800, Gonglei wrote: > diff --git a/drivers/crypto/virtio/virtio_crypto_algs.c > b/drivers/crypto/virtio/virtio_crypto_algs.c > new file mode 100644 > index 000..08b077f > --- /dev/null > +++ b/drivers/crypto/virtio/virtio_crypto_algs.c > @@ -0,0 +1,518 @@ >

Re: INFO: rcu_sched detected stalls on CPUs/tasks with `kswapd` and `mem_cgroup_shrink_node`

2016-11-30 Thread Michal Hocko
[CCing Paul] On Wed 30-11-16 11:28:34, Donald Buczek wrote: [...] > shrink_active_list gets and releases the spinlock and calls cond_resched(). > This should give other tasks a chance to run. Just as an experiment, I'm > trying > > --- a/mm/vmscan.c > +++ b/mm/vmscan.c > @@ -1921,7 +1921,7 @@ sta

Re: net: GPF in rt6_get_cookie

2016-11-30 Thread Andrey Konovalov
On Wed, Nov 30, 2016 at 12:00 PM, Hannes Frederic Sowa wrote: > Hi > > On 30.11.2016 11:39, Andrey Konovalov wrote: >> On Sat, Nov 26, 2016 at 5:23 PM, 'Dmitry Vyukov' via syzkaller >> wrote: >>> Hello, >>> >>> I got several GPFs in rt6_get_cookie while running syzkaller: >>> >>> general protecti

Re: [PATCH v3 1/5] KVM: nVMX: generate non-true VMX MSRs based on true versions

2016-11-30 Thread Paolo Bonzini
On 30/11/2016 03:14, David Matlack wrote: > The "non-true" VMX capability MSRs can be generated from their "true" > counterparts, by OR-ing the default1 bits. The default1 bits are fixed > and defined in the SDM. > > Since we can generate the non-true VMX MSRs from the true versions, > there's n

Re: [RFC 4/4] mm: Ignore cpuset enforcement when allocation flag has __GFP_THISNODE

2016-11-30 Thread Anshuman Khandual
On 11/29/2016 10:22 PM, Dave Hansen wrote: > On 11/28/2016 10:51 PM, Anshuman Khandual wrote: >> On 11/29/2016 02:42 AM, Dave Hansen wrote: On 11/22/2016 06:19 AM, Anshuman Khandual wrote: >> --- a/mm/page_alloc.c >> +++ b/mm/page_alloc.c >> @@ -3715,7 +3715,7 @@ struct page *

Re: [PATCH] cxgb4i: Add a missing call to neigh_release

2016-11-30 Thread Varun Prakash
On Tue, Nov 29, 2016 at 10:18:09PM +0530, Martin K. Petersen wrote: > > "Quentin" == Quentin Lambert writes: > > Quentin> Most error branches following the call to dst_neigh_lookup > Quentin> contain a call to neigh_release. This patch add these calls > Quentin> where they are missing. > > V

[bug report] misc: mic: Enable VOP host side functionality

2016-11-30 Thread Dan Carpenter
Hello Sudeep Dutt, The patch 61e9c905df78: "misc: mic: Enable VOP host side functionality" from Feb 8, 2016, leads to the following static checker warning: drivers/misc/mic/vop/vop_vringh.c:961 vop_ioctl() warn: 'vdev' was already freed. drivers/misc/mic/vop/vop_vringh.c 271

Re: [PATCH v3 0/5] VMX Capability MSRs

2016-11-30 Thread Paolo Bonzini
On 30/11/2016 03:14, David Matlack wrote: > This patchset adds support setting the VMX capability MSRs from userspace. > This is required for migration of nested-capable VMs to different CPUs and > KVM versions. > > Patch 1 generates the non-true VMX MSRs using the true MSRs, which allows > user

Re: [PATCH] printk: Fix spinlock deadlock in printk reenty

2016-11-30 Thread Peter Zijlstra
On Wed, Nov 30, 2016 at 11:56:53AM +0100, Petr Mladek wrote: > On Wed 2016-11-30 15:15:19, linyongt...@huawei.com wrote: > > In arm, arm64, x86 or other architecture, spinlock variable x86 no longer uses ticket locks. > > The solution is that In function zap_locks(), replace > > raw_spin_lock_ini

Re: [PATCH 9/9] arm64: Documentation - Expose CPU feature registers

2016-11-30 Thread Catalin Marinas
On Wed, Nov 30, 2016 at 04:44:52PM +0530, Siddhesh Poyarekar wrote: > On Thursday 24 November 2016 07:10 PM, Suzuki K Poulose wrote: > > + d) CPU Identification : > > +MIDR_EL1 is exposed to help identify the processor. On a > > +heterogeneous system, this could be racy (just like getcpu())

Re: [PATCH 9/9] arm64: Documentation - Expose CPU feature registers

2016-11-30 Thread Siddhesh Poyarekar
On Wednesday 30 November 2016 05:00 PM, Suzuki K Poulose wrote: >> This doesn't seem to be implemented in this patchset. > > This is already available upstream. Ah OK, I seem to have missed that thread. Thanks, Siddhesh

Re: [PATCH] soc: ti: qmss: fix the case when !SMP

2016-11-30 Thread Arnd Bergmann
On Tuesday, November 29, 2016 4:15:08 PM CET Grygorii Strashko wrote: > range->num_irqs++; > > - if (oirq.args_count == 3) > + if (IS_ENABLED(SMP) && oirq.args_count == 3) > range->irqs[i].cpu_map = >

Re: [PATCH 9/9] arm64: Documentation - Expose CPU feature registers

2016-11-30 Thread Siddhesh Poyarekar
On Thursday 24 November 2016 07:10 PM, Suzuki K Poulose wrote: > + d) CPU Identification : > +MIDR_EL1 is exposed to help identify the processor. On a > +heterogeneous system, this could be racy (just like getcpu()). The > +process could be migrated to another CPU by the time it uses th

RE: RE: [PATCH v2] usb: core:hub.c: do not print error log on -enomem

2016-11-30 Thread Atul Raj
changes in v2 - added braces as suggested. drivers/usb/core/hub.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 749d595..82059f26 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -816,9 +816,

Re: [PATCH 9/9] arm64: Documentation - Expose CPU feature registers

2016-11-30 Thread Suzuki K Poulose
On 24/11/16 18:44, Catalin Marinas wrote: Hi Suzuki, On Thu, Nov 24, 2016 at 01:40:09PM +, Suzuki K. Poulose wrote: --- /dev/null +++ b/Documentation/arm64/cpu-feature-registers.txt @@ -0,0 +1,198 @@ + ARM64 CPU Feature Registers + === + +

Re: [PATCH 4/7] time: alarmtimer: Add the tracepoints for alarmtimer

2016-11-30 Thread Baolin Wang
On 29 November 2016 at 20:06, Thomas Gleixner wrote: > On Mon, 28 Nov 2016, John Stultz wrote: > >> From: Baolin Wang >> >> For system debugging, we sometimes want to know who sets one >> alarm timer, the time of the timer, when the timer started and >> fired and so on. Thus adding tracepoints ca

Re: INFO: rcu_sched detected stalls on CPUs/tasks with `kswapd` and `mem_cgroup_shrink_node`

2016-11-30 Thread Donald Buczek
On 11/30/16 12:09, Michal Hocko wrote: [CCing Paul] On Wed 30-11-16 11:28:34, Donald Buczek wrote: [...] shrink_active_list gets and releases the spinlock and calls cond_resched(). This should give other tasks a chance to run. Just as an experiment, I'm trying --- a/mm/vmscan.c +++ b/mm/vmscan

[PATCH] stmmac: simplify flag assignment

2016-11-30 Thread Pavel Machek
Simplify flag assignment. Signed-off-by: Pavel Machek diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c index ed20668..0b706a7 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +++ b/drivers/net/ethernet/stmicro/

Re: [RFC 1/4] mm: Define coherent device memory node

2016-11-30 Thread Anshuman Khandual
On 11/29/2016 11:27 PM, Dave Hansen wrote: > On 11/22/2016 06:19 AM, Anshuman Khandual wrote: >> @@ -393,6 +393,9 @@ enum node_states { >> N_MEMORY = N_HIGH_MEMORY, >> #endif >> N_CPU, /* The node has one or more cpus */ >> +#ifdef CONFIG_COHERENT_DEVICE >> +N_COHERENT_DEVIC

[PATCH] usb:hub: readibility and consistency in coding style

2016-11-30 Thread Atul Raj
It is suggested to keep braces if there is a comment in if case as comment also takes a line. --- drivers/usb/core/hub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 82059f26..f43e6302 100644 --- a/drivers/usb/core/hu

Re: [PATCH 4.8 14/37] drm/amdgpu: fix power state when port pm is unavailable

2016-11-30 Thread Greg Kroah-Hartman
On Wed, Nov 30, 2016 at 11:51:00AM +0100, Peter Wu wrote: > > Hi Greg, > > On Wed, Nov 30, 2016 at 10:29:51AM +0100, Greg Kroah-Hartman wrote: > > 4.8-stable review patch. If anyone has any objections, please let me know. > > Please delay this patch (amd tje mext radeon patch, 15/37), it contai

Re: INFO: rcu_sched detected stalls on CPUs/tasks with `kswapd` and `mem_cgroup_shrink_node`

2016-11-30 Thread Paul E. McKenney
On Wed, Nov 30, 2016 at 12:09:44PM +0100, Michal Hocko wrote: > [CCing Paul] > > On Wed 30-11-16 11:28:34, Donald Buczek wrote: > [...] > > shrink_active_list gets and releases the spinlock and calls cond_resched(). > > This should give other tasks a chance to run. Just as an experiment, I'm > > t

Re: INFO: rcu_sched detected stalls on CPUs/tasks with `kswapd` and `mem_cgroup_shrink_node`

2016-11-30 Thread Paul E. McKenney
On Wed, Nov 30, 2016 at 03:53:20AM -0800, Paul E. McKenney wrote: > On Wed, Nov 30, 2016 at 12:09:44PM +0100, Michal Hocko wrote: > > [CCing Paul] > > > > On Wed 30-11-16 11:28:34, Donald Buczek wrote: > > [...] > > > shrink_active_list gets and releases the spinlock and calls > > > cond_resched(

Re: RE: [PATCH v2] usb: core:hub.c: do not print error log on -enomem

2016-11-30 Thread gre...@linuxfoundation.org
On Wed, Nov 30, 2016 at 11:40:28AM +, Atul Raj wrote: > changes in v2 > - added braces as suggested. Why is this here? > > drivers/usb/core/hub.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) No signed off? You didn't cc: linux-usb@vger? Come on, please step back and

Re: [char-misc-next 4/4 V2] mei: bus: enable non-blocking RX

2016-11-30 Thread 'Greg Kroah-Hartman'
On Tue, Nov 29, 2016 at 08:09:38PM +, Winkler, Tomas wrote: > > > On Mon, Nov 28, 2016 at 11:03:20PM +, Winkler, Tomas wrote: > > > > > > > > > > > > > > > > > > On Sat, Nov 19, 2016 at 02:16:11PM +0200, Tomas Winkler wrote: > > > > > > From: Alexander Usyskin > > > > > > > > > > > > Enab

RE: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2016-11-30 Thread Hayes Wang
Mark Lord [...] > > Not sure why, because there really is no other way for the data to > > appear where it does at the beginning of that URB buffer. > > > > This does seem a rather unexpected burden to place upon someone > > reporting a regression in a USB network driver that corrupts user data. >

RE: [char-misc-next 4/4 V2] mei: bus: enable non-blocking RX

2016-11-30 Thread Winkler, Tomas
> On Tue, Nov 29, 2016 at 08:09:38PM +, Winkler, Tomas wrote: > > > > > On Mon, Nov 28, 2016 at 11:03:20PM +, Winkler, Tomas wrote: > > > > > > > > > > > > > > > > > > > > > > On Sat, Nov 19, 2016 at 02:16:11PM +0200, Tomas Winkler wrote: > > > > > > > From: Alexander Usyskin > > > > > >

Re: [PATCH 00/11] locking/ww_mutex: Keep sorted wait list to avoid stampedes

2016-11-30 Thread Nicolai Hähnle
On 30.11.2016 10:40, Chris Wilson wrote: On Mon, Nov 28, 2016 at 01:20:01PM +0100, Nicolai Hähnle wrote: I've included timings taken from a contention-heavy stress test to some of the patches. The stress test performs actual GPU operations which take a good chunk of the wall time, but even so, t

Re: [PATCH] usb:hub: readibility and consistency in coding style

2016-11-30 Thread gre...@linuxfoundation.org
On Wed, Nov 30, 2016 at 11:51:39AM +, Atul Raj wrote: > It is suggested to keep braces if there is a comment in if case as > comment also takes a line. > --- > drivers/usb/core/hub.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Ok, this is getting to be a joke. Take a few days

Re: [PATCH 2/2] ACPI: Ignore Consumer/Producer for QWord/DWord/Word Address Space

2016-11-30 Thread Lorenzo Pieralisi
On Tue, Nov 29, 2016 at 12:43:34PM -0600, Bjorn Helgaas wrote: > Per ACPI spec r6.0, sec 6.4.3.5.1, 2, 3, Bit [0] of General Flags (the > Consumer/Producer bit) should be ignored for QWord/DWord/Word Address Space > descriptors. The Consumer/Producer bit is defined only for the Extended > Address

[PATCH 2/2] net: rfkill: Add rfkill-any LED trigger

2016-11-30 Thread Michał Kępień
This patch adds a new "global" (i.e. not per-rfkill device) LED trigger, rfkill-any, which may be useful for laptops with a single "radio LED" and multiple radio transmitters. The trigger is meant to turn a LED on whenever there is at least one radio transmitter active and turn it off otherwise.

[PATCH 1/2] net: rfkill: Cleanup error handling in rfkill_init()

2016-11-30 Thread Michał Kępień
Use a separate label per error condition in rfkill_init() to make it a bit cleaner and easier to extend. Signed-off-by: Michał Kępień --- net/rfkill/core.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/net/rfkill/core.c b/net/rfkill/core.c index 88

Re: next: Commit 'mm: Prevent __alloc_pages_nodemask() RCU CPU stall ...' causing hang on sparc32 qemu

2016-11-30 Thread Paul E. McKenney
On Wed, Nov 30, 2016 at 02:52:11AM -0800, Guenter Roeck wrote: > On 11/29/2016 11:02 PM, Paul E. McKenney wrote: > >On Tue, Nov 29, 2016 at 08:32:51PM -0800, Guenter Roeck wrote: > >>On 11/29/2016 05:28 PM, Paul E. McKenney wrote: > >>>On Tue, Nov 29, 2016 at 01:23:08PM -0800, Guenter Roeck wrote:

[PATCH net] vhost_net: don't continue to call the recvmsg when meet errors

2016-11-30 Thread Yunjian Wang
When we meet an error(err=-EBADFD) recvmsg, the error handling in vhost handle_rx() will continue. This will cause a soft CPU lockup in vhost thread. Signed-off-by: Yunjian Wang --- drivers/vhost/net.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/vhost/net.c b/drivers/vhost/net

Re: [PATCH] IIO: Change msleep to usleep_range for small msecs

2016-11-30 Thread Linus Walleij
On Sun, Nov 27, 2016 at 11:51 AM, Jonathan Cameron wrote: > On 26/11/16 03:47, Aniroop Mathur wrote: [bmp280.c] >> /* Wait to make sure we started up properly */ >> - mdelay(data->start_up_time); >> + usleep_range(data->start_up_time, data->start_up_time + 100); > > As this in prob

Re: [PATCH 00/11] locking/ww_mutex: Keep sorted wait list to avoid stampedes

2016-11-30 Thread Chris Wilson
On Wed, Nov 30, 2016 at 12:52:28PM +0100, Nicolai Hähnle wrote: > On 30.11.2016 10:40, Chris Wilson wrote: > >On Mon, Nov 28, 2016 at 01:20:01PM +0100, Nicolai Hähnle wrote: > >>I've included timings taken from a contention-heavy stress test to some of > >>the patches. The stress test performs actu

Re: [lkp] [mm] e7c1db75fe: BUG:sleeping_function_called_from_invalid_context_at_mm/page_alloc.c

2016-11-30 Thread Sudeep Holla
8052): xprt_end_transmit+0x4c/0x60 softirqs last disabled at (508053): do_softirq.part.4+0x7c/0x98 CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.0-rc7-next-20161130-00010-ga0f9af725c5d #218 Hardware name: ARM LTD ARM Juno Development Platform/ARM Juno Development Platform, BIOS EDK II Nov 29 2016

Re: [PATCH 4/4] locking: Add kselftests for ww_mutex stress

2016-11-30 Thread Maarten Lankhorst
Op 30-11-16 om 01:35 schreef Chris Wilson: > Signed-off-by: Chris Wilson > Cc: Peter Zijlstra > Cc: Maarten Lankhorst > Cc: Nicolai Hähnle > --- > kernel/locking/test-ww_mutex.c | 134 > + > 1 file changed, 134 insertions(+) > > diff --git a/kernel/lock

Re: [patch V2 00/12] thermal/x86_pkg_temp: Sanitize hotplug and locking

2016-11-30 Thread Zhang Rui
On Tue, 2016-11-22 at 12:51 -0700, Pandruvada, Srinivas wrote: > On Tue, 2016-11-22 at 17:57 +, Thomas Gleixner wrote: > > > > Changes vs. V1: Fix the package removal wreckage reported by > > Srinivas > > > I haven't looked at individual patch but tested the series as a > whole.  > > So Rui,

Re: INFO: rcu_sched detected stalls on CPUs/tasks with `kswapd` and `mem_cgroup_shrink_node`

2016-11-30 Thread Paul Menzel
On 11/30/16 12:54, Paul E. McKenney wrote: > On Wed, Nov 30, 2016 at 03:53:20AM -0800, Paul E. McKenney wrote: >> On Wed, Nov 30, 2016 at 12:09:44PM +0100, Michal Hocko wrote: >>> [CCing Paul] >>> >>> On Wed 30-11-16 11:28:34, Donald Buczek wrote: >>> [...] shrink_active_list gets and releases

RE: Re: [PATCH] usb:hub: readibility and consistency in coding style

2016-11-30 Thread Atul Raj
Hi Greg, I am so happy to get a mail from you and I am really sorry Greg that I disappointed you. I will take utmost care in future. I will send you correct patch in sometime. for your ques "Also, why are you including a ton of people who have nothing to do with usb patches on this one?" I got t

Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v3

2016-11-30 Thread Jesper Dangaard Brouer
On Sun, 27 Nov 2016 13:19:54 + Mel Gorman wrote: [...] > SLUB has been the default small kernel object allocator for quite some time > but it is not universally used due to performance concerns and a reliance > on high-order pages. The high-order concerns has two major components -- > high-

Re: [PATCH v2 0/9] openrisc: Misc fixes from backlog

2016-11-30 Thread Stafford Horne
On Tue, 29 Nov 2016, Guenter Roeck wrote: On Mon, Nov 14, 2016 at 10:30:30PM +0900, Stafford Horne wrote: Hello, This patch is a small set of fixes from the openrisc backlog. These changes fix several issues with the openrisc build on modern tool chains and address other issues which have cr

Re: [PATCH] watchdog: meson: Remove unneeded platform MODULE_ALIAS

2016-11-30 Thread Javier Martinez Canillas
Hello Guenter, On 11/30/2016 07:59 AM, Guenter Roeck wrote: > On 11/29/2016 06:57 AM, Javier Martinez Canillas wrote: >> Hello Wim, >> >> On 10/20/2016 07:28 PM, Guenter Roeck wrote: >>> On Wed, Oct 19, 2016 at 04:49:42PM -0300, Javier Martinez Canillas wrote: The Amlogic Meson is a DT-only p

Re: [PATCH 2/2] Synopsys USB 2.0 Device Controller (UDC) Driver

2016-11-30 Thread Raviteja Garimella
Hi Balbi, On Wed, Nov 30, 2016 at 4:10 PM, Felipe Balbi wrote: > > Hi, > > Raviteja Garimella writes: >> This is driver for Synopsys Designware Cores USB Device >> Controller (UDC) Subsystem with the AMBA Advanced High-Performance >> Bus (AHB). This driver works with Synopsys UDC20 products. >>

Re: [PATCH 2/2] Synopsys USB 2.0 Device Controller (UDC) Driver

2016-11-30 Thread Felipe Balbi
Hi, Raviteja Garimella writes: > Hi Balbi, > > On Wed, Nov 30, 2016 at 4:10 PM, Felipe Balbi wrote: >> >> Hi, >> >> Raviteja Garimella writes: >>> This is driver for Synopsys Designware Cores USB Device >>> Controller (UDC) Subsystem with the AMBA Advanced High-Performance >>> Bus (AHB). This

Re: [RFC] pinctrl: imx: use radix trees for groups and functions

2016-11-30 Thread Linus Walleij
On Fri, Nov 25, 2016 at 12:38 AM, Gary Bisson wrote: > This change is inspired from the pinctrl-single architecture. > > The problem with current implementation is that it isn't possible > to add/remove functions and/or groups dynamically. The radix tree > offers an easy way to do so. The intent

Re: [PATCH 2/2 v2] sched: use load_avg for selecting idlest group

2016-11-30 Thread Morten Rasmussen
On Fri, Nov 25, 2016 at 04:34:33PM +0100, Vincent Guittot wrote: > find_idlest_group() only compares the runnable_load_avg when looking for > the least loaded group. But on fork intensive use case like hackbench > where tasks blocked quickly after the fork, this can lead to selecting the > same CPU

Re: [PATCH 4/4] locking: Add kselftests for ww_mutex stress

2016-11-30 Thread Chris Wilson
On Wed, Nov 30, 2016 at 01:29:39PM +0100, Maarten Lankhorst wrote: > > +static void stress_work(struct work_struct *work) > > +{ > > + struct stress *stress = container_of(work, typeof(*stress), work); > > + const int nlocks = stress->nlocks; > > + struct ww_mutex *locks = stress->locks; > >

Re: [PATCH v3] Documentation: pinctrl: palmas: Add ti,palmas-powerhold-override property definition

2016-11-30 Thread Linus Walleij
On Mon, Nov 28, 2016 at 5:01 AM, Keerthy wrote: > GPIO7 is configured in POWERHOLD mode which has higher priority > over DEV_ON bit and keeps the PMIC supplies on even after the DEV_ON > bit is turned off. This property enables driver to over ride the > POWERHOLD value to GPIO7 so as to turn off t

Re: [PATCH v2 1/3] devicetree: bindings: pinctrl: Add binding for ti,da850-pupd

2016-11-30 Thread Linus Walleij
On Mon, Nov 28, 2016 at 5:40 PM, David Lechner wrote: > Device-tree bindings for TI DA850/OMAP-L138/AM18XX pullup/pulldown > pinconf controller. > > Signed-off-by: David Lechner > Reviewed-by: Sekhar Nori Totally uncontroversial standard bindings so patch applied. Yours, Linus Walleij

Re: [PATCH v2 2/3] pinctrl: New driver for TI DA850/OMAP-L138/AM18XX pinconf

2016-11-30 Thread Linus Walleij
On Mon, Nov 28, 2016 at 5:40 PM, David Lechner wrote: > This adds a new driver for pinconf on TI DA850/OMAP-L138/AM18XX. These > SoCs have a separate controller for controlling pullup/pulldown groups. > > Signed-off-by: David Lechner > Reviewed-by: Sekhar Nori Patch applied. Yours, Linus Wall

Re: [PATCH v2 3/3] ARM: dts: da850: Add node for pullup/pulldown pinconf

2016-11-30 Thread Linus Walleij
On Mon, Nov 28, 2016 at 5:40 PM, David Lechner wrote: > This SoC has a separate pin controller for configuring pullup/pulldown > bias on groups of pins. > > Signed-off-by: David Lechner > --- > > v2 changes: > * Moved pin-controller@22c00c device node after gpio@226000 (there seem to be > more

[PATCH v3 1/2] ARM: dts: add devicetree for the Axentia TSE-850

2016-11-30 Thread Peter Rosin
Signed-off-by: Peter Rosin --- Documentation/devicetree/bindings/arm/axentia.txt | 19 ++ MAINTAINERS | 7 + arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/axentia-linea.dtsi | 53 + arch/arm/boot/dts/axentia

[PATCH v3 0/2] Support for Axentia TSE-850

2016-11-30 Thread Peter Rosin
Hi! changes v2 -> v3 - document the new compatible strings prefixed with "axentia,". changes v1 -> v2 - squash the fixup into the correct patch, sorry for the noise. After finally having all essintial drivers upstreamed (the last ones are currently in -next) I would like to have the dts and the

[PATCH v3 2/2] ARM: tse850_defconfig: add Axentia TSE-850

2016-11-30 Thread Peter Rosin
Signed-off-by: Peter Rosin --- MAINTAINERS | 1 + arch/arm/configs/tse850_defconfig | 223 ++ 2 files changed, 224 insertions(+) create mode 100644 arch/arm/configs/tse850_defconfig diff --git a/MAINTAINERS b/MAINTAINERS index 9dfe877f

Re: [PATCH 3/3] iio: st_pressure: Support i2c probe using acpi

2016-11-30 Thread Linus Walleij
On Tue, Nov 29, 2016 at 5:25 AM, Shrirang Bagul wrote: > Thank you Jonathan. I'll follow-up on Linus's suggestion and try and identify > more of these sensors on some of the hardware we have in the lab. and try to > add > support for some more devices. Thanks Shrirang, appreciated! Yours, Linu

Re: [PATCH v11 0/8] powerpc: Implement kexec_file_load()

2016-11-30 Thread Mimi Zohar
On Wed, 2016-11-30 at 15:52 +1100, Michael Ellerman wrote: > Andrew Morton writes: > > > On Tue, 29 Nov 2016 23:45:46 +1100 Michael Ellerman > > wrote: > > > >> This is v11 of the kexec_file_load() for powerpc series. > >> > >> I've stripped this down to the minimum we need, so we can get this

Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v3

2016-11-30 Thread Michal Hocko
On Sun 27-11-16 13:19:54, Mel Gorman wrote: [...] > @@ -2588,18 +2594,22 @@ struct page *buffered_rmqueue(struct zone > *preferred_zone, > struct page *page; > bool cold = ((gfp_flags & __GFP_COLD) != 0); > > - if (likely(order == 0)) { > + if (likely(order <= PAGE_ALLOC_COST

Re: [PATCH net] vhost_net: don't continue to call the recvmsg when meet errors

2016-11-30 Thread Jason Wang
On 2016年11月30日 20:10, Yunjian Wang wrote: When we meet an error(err=-EBADFD) recvmsg, the error handling in vhost handle_rx() will continue. This will cause a soft CPU lockup in vhost thread. Signed-off-by: Yunjian Wang --- drivers/vhost/net.c | 3 +++ 1 file changed, 3 insertions(+) diff

Re: PROBLEM-PERSISTS: dmesg spam: alloc_contig_range: [XX, YY) PFNs busy

2016-11-30 Thread Michal Nazarewicz
On Wed, Nov 30 2016, Michal Hocko wrote: > [Let's CC linux-mm and Michal] > > On Tue 29-11-16 22:43:08, Robin H. Johnson wrote: >> I didn't get any responses to this. >> >> git bisect shows that the problem did actually exist in 4.5.0-rc6, but >> has gotten worse by many orders of magnitude (< 1/w

Re: [PATCH] mmc: pwrseq: add support for Marvell SD8787 chip

2016-11-30 Thread Javier Martinez Canillas
Hello Matt, On Tue, Nov 29, 2016 at 10:20 PM, Matt Ranostay wrote: > On Tue, Nov 29, 2016 at 9:13 AM, Javier Martinez Canillas [snip] > > >>> +- pwndn-gpio: contains a power down GPIO specifier. >>> +- reset-gpio: contains a reset GPIO specifier. >>> + >> >> I wonder if we really need a custom

Re: [PATCHv5 22/36] mm, hugetlb: switch hugetlbfs to multi-order radix-tree entries

2016-11-30 Thread Kirill A. Shutemov
On Wed, Nov 30, 2016 at 05:48:05PM +0800, Hillf Danton wrote: > On Tuesday, November 29, 2016 7:23 PM Kirill A. Shutemov wrote: > > @@ -607,10 +605,10 @@ static long hugetlbfs_fallocate(struct file *file, > > int mode, loff_t offset, > > } > > > > /* Set numa allocation po

Re: INFO: rcu_sched detected stalls on CPUs/tasks with `kswapd` and `mem_cgroup_shrink_node`

2016-11-30 Thread Michal Hocko
On Wed 30-11-16 03:53:20, Paul E. McKenney wrote: > On Wed, Nov 30, 2016 at 12:09:44PM +0100, Michal Hocko wrote: > > [CCing Paul] > > > > On Wed 30-11-16 11:28:34, Donald Buczek wrote: > > [...] > > > shrink_active_list gets and releases the spinlock and calls > > > cond_resched(). > > > This sh

Re: [PATCH] x86/boot: Fail the boot if !M486 and CPUID is missing

2016-11-30 Thread One Thousand Gnomes
> Rather than trying to work around these issues, just have the kernel > fail loudly if it's running on a CPUID-less 486, doesn't have CPUID, > and doesn't have CONFIG_M486 set. NAK This still breaks the Geode at the very least and I think the ELAN and some of the other older socket 7 devices. Th

[PATCH v2] ACPI / APEI: Fix NMI notification handling

2016-11-30 Thread Prarit Bhargava
When removing and adding cpu 0 on a system with GHES NMI the following stack trace is seen when re-adding the cpu: WARNING: CPU: 0 PID: 0 at arch/x86/kernel/apic/apic.c:1349 setup_local_APIC+ Modules linked in: nfsv3 rpcsec_gss_krb5 nfsv4 nfs fscache coretemp intel_ra CPU: 0 PID: 0 Comm: swapper/0

Re: [RFC] pinctrl: imx: use radix trees for groups and functions

2016-11-30 Thread Fabio Estevam
Hi Gary, On Thu, Nov 24, 2016 at 9:38 PM, Gary Bisson wrote: > This change is inspired from the pinctrl-single architecture. > > The problem with current implementation is that it isn't possible > to add/remove functions and/or groups dynamically. The radix tree > offers an easy way to do so. The

Add openrisc for-next branch to linux-next

2016-11-30 Thread Stafford Horne
Hi Stephen, I have been working on getting the OpenRISC backlog of fixes sorted out for upstream. Can this branch be added to linux-next? git://github.com/openrisc/linux.git for-next These have been through a few reviews and we plan to ask Linus to pull in the next merge window. -Staffo

Re: [PATCH net] tipc: check minimum bearer MTU

2016-11-30 Thread Michal Kubecek
On Wed, Nov 30, 2016 at 06:28:14PM +0800, Ying Xue wrote: ... > >diff --git a/net/tipc/bearer.h b/net/tipc/bearer.h > >index 78892e2f53e3..1a0b7434ec24 100644 > >--- a/net/tipc/bearer.h > >+++ b/net/tipc/bearer.h > >@@ -39,6 +39,7 @@ > > > > #include "netlink.h" > > #include "core.h" > >+#include "

Re: [PATCH 1/1] mach-omap2: fixing wrong strcat for Non-NULL terminated string

2016-11-30 Thread Russell King - ARM Linux
On Wed, Nov 30, 2016 at 04:10:28PM +0530, Maninder Singh wrote: > variable name can have Non NULL terminated string after cropping > which may result strcat to fail, and cropping is not > required if (strlen(oh->name) + 8 < MOD_CLK_MAX_NAME_LEN). > > Issue caught with static analysis tool: > "Dang

Re: PROBLEM-PERSISTS: dmesg spam: alloc_contig_range: [XX, YY) PFNs busy

2016-11-30 Thread Michal Hocko
On Wed 30-11-16 14:08:00, Michal Nazarewicz wrote: > On Wed, Nov 30 2016, Michal Hocko wrote: > > [Let's CC linux-mm and Michal] > > > > On Tue 29-11-16 22:43:08, Robin H. Johnson wrote: > >> I didn't get any responses to this. > >> > >> git bisect shows that the problem did actually exist in 4.5.

Re: [PATCH] IIO: Change msleep to usleep_range for small msecs

2016-11-30 Thread Lars-Peter Clausen
On 11/27/2016 11:51 AM, Jonathan Cameron wrote: > On 26/11/16 03:47, Aniroop Mathur wrote: >> msleep(1~20) may not do what the caller intends, and will often sleep longer. >> (~20 ms actual sleep for any value given in the 1~20ms range) >> This is not the desired behaviour for many cases like devic

Re: [PATCH 00/11] locking/ww_mutex: Keep sorted wait list to avoid stampedes

2016-11-30 Thread Nicolai Hähnle
On 30.11.2016 13:20, Chris Wilson wrote: On Wed, Nov 30, 2016 at 12:52:28PM +0100, Nicolai Hähnle wrote: On 30.11.2016 10:40, Chris Wilson wrote: On Mon, Nov 28, 2016 at 01:20:01PM +0100, Nicolai Hähnle wrote: I've included timings taken from a contention-heavy stress test to some of the patch

Re: [PATCH net] vhost_net: don't continue to call the recvmsg when meet errors

2016-11-30 Thread Michael S. Tsirkin
On Wed, Nov 30, 2016 at 08:10:57PM +0800, Yunjian Wang wrote: > When we meet an error(err=-EBADFD) recvmsg, How do you get EBADFD? Won't vhost_net_rx_peek_head_len return 0 in this case, breaking the loop? > the error handling in vhost > handle_rx() will continue. This will cause a soft CPU locku

Re: [PATCH 1/1] usb: return error code when platform_get_irq fails

2016-11-30 Thread Matthias Brugger
On 29/11/16 13:57, Pan Bian wrote: In function xhci_mtk_probe(), variable ret takes the return value. Its value should be negative on failures. However, when the call to function platform_get_irq() fails, it does not set the error code, and 0 will be returned. 0 indicates no error. As a result,

Re: [PATCH net] vhost_net: don't continue to call the recvmsg when meet errors

2016-11-30 Thread Michael S. Tsirkin
On Wed, Nov 30, 2016 at 09:07:16PM +0800, Jason Wang wrote: > > > On 2016年11月30日 20:10, Yunjian Wang wrote: > > When we meet an error(err=-EBADFD) recvmsg, the error handling in vhost > > handle_rx() will continue. This will cause a soft CPU lockup in vhost > > thread. > > > > Signed-off-by: Yu

Re: [PATCH 4.4 00/21] 4.4.36-stable review

2016-11-30 Thread Andre Noll
On Wed, Nov 30, 10:27, Greg Kroah-Hartman wrote > Responses should be made by Fri Dec 2 09:26:46 UTC 2016. If you haven't done so already, could you please add c9b8af13 (flow_dissect: call init_default_flow_dissectors() earlier) for 4.4.37? It fixes a regression introduced in 4.4.34 which makes

[PATCH] usb: host: replace symbolic permission with octal

2016-11-30 Thread Amit Kumar Kushwaha
This patch handles warning message for preferring octal permissions over Symbolic permission for module parameter Signed-off-by: Amit Kushwaha --- drivers/usb/host/xhci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c ind

[PATCH v2] drivers/base: use READ_ONCE instead of deprecated ACCESS_ONCE

2016-11-30 Thread Davidlohr Bueso
With the new standardized functions, we can replace all ACCESS_ONCE() calls across relevant drivers/base/. ACCESS_ONCE() does not work reliably on non-scalar types. For example gcc 4.6 and 4.7 might remove the volatile tag for such accesses during the SRA (scalar replacement of aggregates) step:

Re: Re: [PATCH] usb:hub: readibility and consistency in coding style

2016-11-30 Thread gre...@linuxfoundation.org
A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I inclu

Re: [PATCH] pinctrl: sh-pfc: r8a7791: Add ADI pinconf support

2016-11-30 Thread Geert Uytterhoeven
On Tue, Nov 29, 2016 at 10:39 PM, Geert Uytterhoeven wrote: > On Tue, Nov 29, 2016 at 8:30 PM, Laurent Pinchart > wrote: >> On Tuesday 29 Nov 2016 10:11:56 Jacopo Mondi wrote: >>> Add pin configuration support for Gyro-ADC, named ADI on r8a7791 SoC. >>> >>> The Gyro-ADC supports three different c

Re: [PATCH 2/2 v2] sched: use load_avg for selecting idlest group

2016-11-30 Thread Vincent Guittot
On 30 November 2016 at 13:49, Morten Rasmussen wrote: > On Fri, Nov 25, 2016 at 04:34:33PM +0100, Vincent Guittot wrote: >> find_idlest_group() only compares the runnable_load_avg when looking for >> the least loaded group. But on fork intensive use case like hackbench [snip] >> +

[PATCH v2] drivers/usb: use READ_ONCE instead of deprecated ACCESS_ONCE

2016-11-30 Thread Davidlohr Bueso
With the new standardized functions, we can replace all ACCESS_ONCE() calls across relevant drivers/usb/. ACCESS_ONCE() does not work reliably on non-scalar types. For example gcc 4.6 and 4.7 might remove the volatile tag for such accesses during the SRA (scalar replacement of aggregates) step:

Re: [PATCH 4.4 00/21] 4.4.36-stable review

2016-11-30 Thread Greg Kroah-Hartman
On Wed, Nov 30, 2016 at 02:46:19PM +0100, Andre Noll wrote: > On Wed, Nov 30, 10:27, Greg Kroah-Hartman wrote > > > Responses should be made by Fri Dec 2 09:26:46 UTC 2016. > > If you haven't done so already, could you please add c9b8af13 > (flow_dissect: call init_default_flow_dissectors() earl

Re: [PATCH v2] drivers/base: use READ_ONCE instead of deprecated ACCESS_ONCE

2016-11-30 Thread Greg KH
On Wed, Nov 30, 2016 at 05:49:26AM -0800, Davidlohr Bueso wrote: > With the new standardized functions, we can replace all ACCESS_ONCE() > calls across relevant drivers/base/. > > ACCESS_ONCE() does not work reliably on non-scalar types. For example > gcc 4.6 and 4.7 might remove the volatile tag

Re: [PATCH 2/2 v2] sched: use load_avg for selecting idlest group

2016-11-30 Thread Vincent Guittot
On 30 November 2016 at 14:49, Vincent Guittot wrote: > On 30 November 2016 at 13:49, Morten Rasmussen > wrote: >> On Fri, Nov 25, 2016 at 04:34:33PM +0100, Vincent Guittot wrote: >>> find_idlest_group() only compares the runnable_load_avg when looking for >>> the least loaded group. But on fork

Re: [PATCH] usb: host: replace symbolic permission with octal

2016-11-30 Thread gre...@linuxfoundation.org
On Wed, Nov 30, 2016 at 01:49:02PM +, Amit Kumar Kushwaha wrote: > This patch handles warning message for preferring octal > permissions over Symbolic permission for module parameter That makes no sense at all. What warning message? Build time? Run time? Please do cleanup patches on driver

Re: [RFC v3 00/10] KVM PCIe/MSI passthrough on ARM/ARM64 and IOVA reserved regions

2016-11-30 Thread Robin Murphy
On 30/11/16 10:52, Ganapatrao Kulkarni wrote: > On Wed, Nov 30, 2016 at 3:44 PM, Auger Eric wrote: >> Hi Ganapat, >> >> On 30/11/2016 11:04, Ganapatrao Kulkarni wrote: >>> Hi Eric, >>> >>> in you repo "https://github.com/eauger/linux/tree/v4.9-rc5-reserved-rfc-v3"; >>> there is 11th patch "pci: En

Re: 4.8.8 kernel trigger OOM killer repeatedly when I have lots of RAM that should be free

2016-11-30 Thread Tetsuo Handa
On 2016/11/30 8:01, Marc MERLIN wrote: > And, after 5H of copying, not a single hang, or USB disconnect, or anything. > Obviously this seems to point to other problems in the code, and I have no > idea which layer is a culprit here, but reducing the buffers absolutely > helped a lot. Maybe you can

Re: [PATCH net 2/2] macvtap: handle ubuf refcount correctly when meet erros

2016-11-30 Thread Michael S. Tsirkin
On Wed, Nov 30, 2016 at 01:17:52PM +0800, Jason Wang wrote: > We trigger uarg->callback() immediately after we decide do datacopy > even if caller want to do zerocopy. This will cause the callback > (vhost_net_zerocopy_callback) decrease the refcount. But when we meet > an error afterwards, the err

Re: [PATCH net 1/2] tun: handle ubuf refcount correctly when meet erros

2016-11-30 Thread Michael S. Tsirkin
On Wed, Nov 30, 2016 at 01:17:51PM +0800, Jason Wang wrote: > We trigger uarg->callback() immediately after we decide do datacopy > even if caller want to do zerocopy. This will cause the callback > (vhost_net_zerocopy_callback) decrease the refcount. But when we meet > an error afterwards, the err

Re: [PATCH v10 13/13] drm/mediatek: add support for Mediatek SoC MT2701

2016-11-30 Thread Matthias Brugger
On 25/11/16 11:34, YT Shen wrote: static const struct of_device_id mtk_disp_rdma_driver_dt_match[] = { + { .compatible = "mediatek,mt2701-disp-rdma", + .data = &mt2701_rdma_driver_data}, { .compatible = "mediatek,mt8173-disp-rdma", .data = &mt8173_rdma_driver_d

Re: [PATCH 4.4 00/21] 4.4.36-stable review

2016-11-30 Thread Andre Noll
On Wed, Nov 30, 14:53, Greg Kroah-Hartman wrote > > It fixes a regression introduced in 4.4.34 which makes systems > > unbootable for us. We are currently running that patch on top of > > 4.4.35 and I can confirm that it fixes the issue. > > I wait for networking stable patches to come from the ne

Re: [PATCH 1/1] usb: return error code when platform_get_irq fails

2016-11-30 Thread Mathias Nyman
On 30.11.2016 15:41, Matthias Brugger wrote: On 29/11/16 13:57, Pan Bian wrote: In function xhci_mtk_probe(), variable ret takes the return value. Its value should be negative on failures. However, when the call to function platform_get_irq() fails, it does not set the error code, and 0 will b

Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v3

2016-11-30 Thread Mel Gorman
On Wed, Nov 30, 2016 at 01:40:34PM +0100, Jesper Dangaard Brouer wrote: > > On Sun, 27 Nov 2016 13:19:54 + Mel Gorman > wrote: > > [...] > > SLUB has been the default small kernel object allocator for quite some time > > but it is not universally used due to performance concerns and a relia

Re: [RFC v3 00/10] KVM PCIe/MSI passthrough on ARM/ARM64 and IOVA reserved regions

2016-11-30 Thread Auger Eric
Hi Will, On 30/11/2016 11:37, Will Deacon wrote: > On Wed, Nov 30, 2016 at 10:49:33AM +0100, Auger Eric wrote: >> On 15/11/2016 14:09, Eric Auger wrote: >>> Following LPC discussions, we now report reserved regions through >>> iommu-group sysfs reserved_regions attribute file. >>> >>> Reserved reg

Re: [RFC] usb: host: xhci: Remove the watchdog timer and use command timer to watch stop endpoint command

2016-11-30 Thread Mathias Nyman
On 30.11.2016 11:02, Baolin Wang wrote: If the hardware never responds to the stop endpoint command, the URBs will never be completed, and we might hang the USB subsystem. The original watchdog timer is used to watch if one stop endpoint command is timeout, if timeout, then the watchdog timer wil

Re: [RFC] pinctrl: imx: use radix trees for groups and functions

2016-11-30 Thread Gary Bisson
Hi Fabio, All, On Wed, Nov 30, 2016 at 11:19:53AM -0200, Fabio Estevam wrote: > Hi Gary, > > On Thu, Nov 24, 2016 at 9:38 PM, Gary Bisson > wrote: > > This change is inspired from the pinctrl-single architecture. > > > > The problem with current implementation is that it isn't possible > > to ad

<    1   2   3   4   5   6   7   8   9   >