[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

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

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 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 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] 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: 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 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: [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 "

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: [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

[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: [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

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: [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: [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: 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 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: [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 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 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

[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

[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

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

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 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 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 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 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: [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] 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: [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] 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 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] 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: 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: 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: [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: [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: [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 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: [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

[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

[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 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.

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

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 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: [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 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 '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: 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: 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: 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: [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

[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: [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] 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: 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

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: 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 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: [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 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 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] 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 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] 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: [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 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: 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 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: [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: 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 v10 09/13] drm/mediatek: add mipi_tx data rate check

2016-11-30 Thread CK Hu
Hi, YT: On Fri, 2016-11-25 at 18:34 +0800, YT Shen wrote: > modify data rate limitation (>lGbps/lane) for mipitx > I think MT2701 DRM can work correctly without this patch. Why do you put this patch in MT2701 series? Maybe you can send this patch independently. Regards, CK > Signed-off-by: sh

Re: [PATCH 5/9] arm64: cpufeature: Define helpers for sys_reg id

2016-11-30 Thread Will Deacon
On Thu, Nov 24, 2016 at 01:40:05PM +, Suzuki K Poulose wrote: > Define helper macros to extract op0, op1, CRn, CRm & op2 > for a given sys_reg id. > > Cc: Catalin Marinas > Cc: Mark Rutland > Cc: Will Deacon > Signed-off-by: Suzuki K Poulose > --- > arch/arm64/include/asm/sysreg.h | 21 ++

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

2016-11-30 Thread Guenter Roeck
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 platform, which means the devices are registered via OF and not using the leg

Re: [PATCH 4/6] net: ethernet: ti: cpts: add ptp pps support

2016-11-30 Thread Jan Lübbe
On Mo, 2016-11-28 at 17:04 -0600, Grygorii Strashko wrote: > --- a/Documentation/devicetree/bindings/net/keystone-netcp.txt > +++ b/Documentation/devicetree/bindings/net/keystone-netcp.txt > @@ -127,6 +127,16 @@ Optional properties: > The number of external time stamp channels. >

Re: net: GPF in rt6_get_cookie

2016-11-30 Thread Hannes Frederic Sowa
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 protection fault: [#1] SMP DEBUG_PAGEALLOC KASAN >> Dumping ftrace buffer: >>

net/ipv6: null-ptr-deref in ip6_rt_cache_alloc

2016-11-30 Thread Andrey Konovalov
Hi! I've got the following error report while running the syzkaller fuzzer. On commit d8e435f3ab6fea2ea324dce72b51dd7761747523 (Nov 26). This might be related to the crash in rt6_get_cookie that Dmitry reported, since it also happens when accessing ort->dst: https://groups.google.com/forum/#!msg

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

2016-11-30 Thread Petr Mladek
On Wed 2016-11-30 15:15:19, linyongt...@huawei.com wrote: > From: Jinling Ke > > when Oops in printk, printk will call zap_locks() to reinitialize > spinlock to prevent deadlock. In arm, arm64, x86 or other > architecture smp cpu, race condition will occur in printk spinlock > logbuf_lock and the

[PATCH V5] PM / OPP: Pass opp_table to dev_pm_opp_put_regulator()

2016-11-30 Thread Viresh Kumar
From: Stephen Boyd Joonyoung Shim reported an interesting problem on his ARM octa-core Odoroid-XU3 platform. During system suspend, dev_pm_opp_put_regulator() was failing for a struct device for which dev_pm_opp_set_regulator() is called earlier. This happened because an earlier call to dev_pm_o

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

2016-11-30 Thread Guenter Roeck
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: Hi Paul, most of my qemu tests for sparc32 targets started to fail in n

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

2016-11-30 Thread Peter Wu
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 contains a regression for which these patches (from drm-fixes) are needed:

Re: [PATCH 1/2] arm64: Correcting format specifier for printin 64 bit addresses

2016-11-30 Thread Will Deacon
On Wed, Nov 30, 2016 at 01:33:56PM +0530, Maninder Singh wrote: > This patch corrects format specifier for printing 64 bit addresses. > > Before Patch > > [ 68.251603] Unable to handle kernel NULL pointer dereference at virtual > address > [ 68.251673] pgd = ffc01395

[RFC] perf/x86/intel/uncore: pmu->type->single_fixed question

2016-11-30 Thread Jiri Olsa
hi, I'm trying to find out some documentation background for this part of uncore code: --- static int uncore_pmu_event_init(struct perf_event *event) { ... if (event->attr.config == UNCORE_FIXED_EVENT) { /* no fixed counter */ if (!pmu->type->fixed_

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

2016-11-30 Thread Ganapatrao Kulkarni
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: Enable overrides for missing ACS capabilities" >> is this

Re: linux-next: manual merge of the edac-amd tree with the edac tree

2016-11-30 Thread Mauro Carvalho Chehab
Em Mon, 28 Nov 2016 09:27:35 +0100 Borislav Petkov escreveu: > On Mon, Nov 28, 2016 at 02:37:26PM +1100, Stephen Rothwell wrote: > > Hi Borislav, > > > > Today's linux-next merge of the edac-amd tree got a conflict in: > > > > drivers/edac/edac_mc.c > > > > between commit: > > > > ef91afa

Re: [PATCH V4] PM / OPP: Pass opp_table to dev_pm_opp_put_regulator()

2016-11-30 Thread Viresh Kumar
On 30-11-16, 09:29, Viresh Kumar wrote: > +struct opp_table *dev_pm_opp_set_regulator(struct device *dev, const char > *name) > { > struct opp_table *opp_table; > struct regulator *reg; > - int ret; > > mutex_lock(&opp_table_lock); > > opp_table = _add_opp_table(de

Re: Enabling peer to peer device transactions for PCIe devices

2016-11-30 Thread Haggai Eran
On 11/28/2016 9:02 PM, Jason Gunthorpe wrote: > On Mon, Nov 28, 2016 at 06:19:40PM +, Haggai Eran wrote: GPU memory. We create a non-ODP MR pointing to VRAM but rely on user-space and the GPU not to migrate it. If they do, the MR gets destroyed immediately. >>> That sounds horrib

Re: [PATCH v10 11/13] drm/mediatek: add dsi rxtx control

2016-11-30 Thread CK Hu
Hi, YT: On Fri, 2016-11-25 at 18:34 +0800, YT Shen wrote: > add non-continuous clock mode and EOT packet control for dsi > I think commit title should be 'drm/mediatek: add non-continuous clock mode and EOT packet control for dsi', and commit message should describe more information about this m

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

2016-11-30 Thread Maninder Singh
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: "Dangerous usage of 'name' (strncpy doesn't always 0-terminate it)" Signed-off-b

Re: [PATCH 12/12] usb: renesas_usbhs: Replace the deprecated extcon API

2016-11-30 Thread Felipe Balbi
Hi, Chanwoo Choi writes: > This patch replaces the deprecated extcon API as following: > - extcon_get_cable_state_() -> extcon_get_state() > > Signed-off-by: Chanwoo Choi Acked-by: Felipe Balbi -- balbi signature.asc Description: PGP signature

Re: [PATCH 2/3 v2] ALSA: usb-audio: avoid setting of sample rate multiple times on bus

2016-11-30 Thread Takashi Sakamoto
Hi Jiada, I don't oppose this patch. Nevertheless, your description is not necessarily correct. On Nov 30 2016 16:59, Jiada Wang wrote: From: Daniel Girnus ALSA usually calls the prepare function twice before starting the playback: 1. On hw_params call from userland and 2. internally when s

<    2   3   4   5   6   7   8   9   >