Re: [RFC PATCHv2] usb: USB Type-C Connector Class

2016-05-23 Thread Guenter Roeck
On 05/23/2016 06:58 AM, Oliver Neukum wrote: On Mon, 2016-05-23 at 06:27 -0700, Guenter Roeck wrote: Good question. I originally added a sysfs attribute 'preferred-mode' to my code, but then concluded that this is supposed to be provided by the platform and added it as platform data instead, w

Re: [PATCH 7/8] perf stat: Basic support for TopDown in perf stat

2016-05-23 Thread Arnaldo Carvalho de Melo
Em Thu, May 19, 2016 at 05:10:01PM -0700, Andi Kleen escreveu: > From: Andi Kleen > > Add basic plumbing for TopDown in perf stat > > Add a new --topdown options to enable events. > When --topdown is specified set up events for all topdown > events supported by the kernel. > Add topdown-* as a s

Re: [PATCH 6/8] perf stat: Avoid fractional digits for integer scales

2016-05-23 Thread Arnaldo Carvalho de Melo
Em Thu, May 19, 2016 at 05:10:00PM -0700, Andi Kleen escreveu: > From: Andi Kleen > > When the scaling factor is a full integer don't display fractional > digits. This avoids unnecessary .00 output for topdown metrics > with scale factors. > > v2: Remove redundant check. > Signed-off-by: Andi Kl

Re: [PATCH V2 2/2] usb: musb: Stop bulk endpoint while queue is rotated

2016-05-23 Thread Sergei Shtylyov
On 05/23/2016 04:40 PM, Sergei Shtylyov wrote: Ensure that the endpoint is stopped by clearing REQPKT before clearing DATAERR_NAKTIMEOUT before rotating the queue on the dedicated bulk endpoint. This addresses an issue where a race could result in the endpoint receiving data before it was reprog

[PATCH 1/1] scsi: storvsc: Filter out storvsc messages CD-ROM medium not present

2016-05-23 Thread Cathy Avery
When a virtual scsi DVD device is present with no image file attached the storvsc driver logs all resulting unnecessary sense errors whenever IO is issued to the device. [storvsc] Sense Key : Not Ready [current] [storvsc] Add. Sense: Medium not present - tray closed Signed-off-by: Cathy Avery --

RE: [PATCH] Input: Change BTN_TOOL_FINGER flag when hover event trigger

2016-05-23 Thread 廖崇榮
Hi Dmitry, Thanks for your confirmation. I think the best and simplest way is to add below code to emit BTN_TOOL_FINGER if hover condition meets. input_report_key(dev, BTN_TOOL_FINGER, input_mt_get_value(dev, ABS_DISTANCE)); Is it ok for you? if (use_count) { if (count

Re: [PATCH] perf, tools, report: Add srcline_from/to branch sort keys

2016-05-23 Thread Arnaldo Carvalho de Melo
Em Sat, May 21, 2016 at 02:01:51PM +0200, Jiri Olsa escreveu: > On Fri, May 20, 2016 at 01:15:08PM -0700, Andi Kleen wrote: > > From: Andi Kleen > > Acked-by: Jiri Olsa Thanks, applied

Re: v4.6 kernel BUG at mm/rmap.c:1101!

2016-05-23 Thread Kirill A. Shutemov
On Mon, May 23, 2016 at 05:06:38PM +0300, Mika Westerberg wrote: > Hi, > > After upgrading kernel of my desktop system from v4.6-rc7 to v4.6, I've > started seeing following: > > [176611.093747] page:ea36 count:1 mapcount:0 > mapping:880034d2e0a1 index:0x1f9b06600 compound_mapcou

RE: [PATCH] RDMA/cxgb3: device driver frees DMA memory with different size

2016-05-23 Thread Steve Wise
> > Fixes: b955150ea784 ('RDMA/cxgb3: When a user QP is marked in error, also mark > the CQs in error') > Signed-off-by: Honggang Li Nice catch. Your fix looks correct. Reviewed-by: Steve Wise

Re: [PATCH v2] sched/completion: convert completions to use simple wait queues

2016-05-23 Thread Daniel Wagner
[Sorry for the late response. I was a few days on holiday] On 05/16/2016 10:38 PM, Luiz Capitulino wrote: > On Thu, 12 May 2016 16:08:34 +0200 > Daniel Wagner wrote: > >> In short, I haven't figured out yet why the kernel builds get slightly >> slower. > > You're doing make -j 200, right? How

Re: [PATCH 03/16] sched/fair: Disregard idle task wakee_flips in wake_wide

2016-05-23 Thread Morten Rasmussen
On Mon, May 23, 2016 at 03:00:46PM +0200, Mike Galbraith wrote: > On Mon, 2016-05-23 at 13:00 +0100, Morten Rasmussen wrote: > > > The problem then seems to be distinguishing truly idle and busy doing > > interrupts. The issue that I observe is that wake_wide() likes pushing > > tasks around in li

v4.6 kernel BUG at mm/rmap.c:1101!

2016-05-23 Thread Mika Westerberg
Hi, After upgrading kernel of my desktop system from v4.6-rc7 to v4.6, I've started seeing following: [176611.093747] page:ea36 count:1 mapcount:0 mapping:880034d2e0a1 index:0x1f9b06600 compound_mapcount: 0 [176611.093751] flags: 0x3fff844079(locked|uptodate|dirty|lru|active

Re: [PATCH 3/3] dma-buf/fence: add signal_on_any to the fence array

2016-05-23 Thread Daniel Vetter
On Mon, May 23, 2016 at 03:58:41PM +0200, Christian König wrote: > Am 23.05.2016 um 15:50 schrieb Daniel Vetter: > >On Mon, May 23, 2016 at 01:25:22PM +0200, Christian König wrote: > >>From: Christian König > >> > >>If @signal_on_any is true the fence array signals if any fence in the array > >>si

Bisection: Lost wakeups from b5179ac70de8

2016-05-23 Thread Paul E. McKenney
Hello, Peter, Current mainline doesn't do well with RCU torture testing, and the symptom once again looks like lost wakeups. Thankfully, this time each run takes only about an hour, and the false-positive/-negative rate is negligible. This means that for the first time ever, "git bisect" actuall

[PATCH] spinlock: Get rid of spin_can_lock()

2016-05-23 Thread Davidlohr Bueso
... it has no users and we already have the the regular spin_is_lock() call anyway -- although iirc this was going to be different than the simple negation for lock elision implementations. Lets drop it. Signed-off-by: Davidlohr Bueso --- include/linux/spinlock.h | 11 --- 1 file changed

Re: [RFC][PATCH 0/4] zram: add zlib compression bckend support

2016-05-23 Thread Sergey Senozhatsky
Hello Minchan, On (05/23/16 14:53), Minchan Kim wrote: > Hello Sergey, > > I talked with Joonsoo today and he has no time to support it at the moment > and I can't wait zlib support for zram until crypto work is merged. > So, I want to merge your work. oh, I see. > If you have an interest, stil

[PATCH] regulator: pv880x0: Clean up unnecessary header inclusion

2016-05-23 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/pv88060-regulator.c | 3 --- drivers/regulator/pv88080-regulator.c | 3 --- drivers/regulator/pv88090-regulator.c | 3 --- 3 files changed, 9 deletions(-) diff --git a/drivers/regulator/pv88060-regulator.c b/drivers/regulator/pv88060-regulator.c ind

Re: [RFC PATCHv2] usb: USB Type-C Connector Class

2016-05-23 Thread Oliver Neukum
On Mon, 2016-05-23 at 06:27 -0700, Guenter Roeck wrote: > >> Good question. I originally added a sysfs attribute > 'preferred-mode' to > >> my code, but then concluded that this is supposed to be provided > >> by the platform and added it as platform data instead, with > (currently) > >> no means t

Re: [PATCH 1/2] mtd: spi-nor: disable software protection for Macronix flash at startup

2016-05-23 Thread Cyrille Pitchen
Hi Matthias, Le 18/05/2016 15:32, Matthias Schiffer a écrit : > This patch has been tested in OpenWrt for a few months and seems to work > correctly. > > Signed-off-by: Felix Fietkau > Signed-off-by: Matthias Schiffer > --- > drivers/mtd/spi-nor/spi-nor.c | 1 + > 1 file changed, 1 insertion(+

Re: [PATCH 2/2] dma-buf/fence: add fence_array fences v4

2016-05-23 Thread Daniel Vetter
On Mon, May 23, 2016 at 01:29:11PM +0200, Christian König wrote: > Am 23.05.2016 um 09:41 schrieb Daniel Vetter: > >On Fri, May 20, 2016 at 11:47:28AM -0300, Gustavo Padovan wrote: > >>2016-05-20 Christian König : > >> > >>>From: Gustavo Padovan > >>> > >>>struct fence_collection inherits from str

[PATCH] usb: gadget: net2280: add USB2380 support

2016-05-23 Thread Tim Harvey
The PLX USB2380 is a PCIe version of the NET2280 and behaves more like the USB338x but without the USB3.0 superspeed support. This was tested with g_ether, g_serial, g_mass_storage on a Gateworks Ventana GW2383. Cc: Justin DeFields Signed-off-by: Tim Harvey --- drivers/usb/gadget/udc/Kconfig

Re: [PATCH 3/3] dma-buf/fence: add signal_on_any to the fence array

2016-05-23 Thread Christian König
Am 23.05.2016 um 15:50 schrieb Daniel Vetter: On Mon, May 23, 2016 at 01:25:22PM +0200, Christian König wrote: From: Christian König If @signal_on_any is true the fence array signals if any fence in the array signals, otherwise it signals when all fences in the array signal. What do you need

[PATCH] x86: fix potential memleak in do_error_trap

2016-05-23 Thread Michal Hocko
And here is the x86 one. I haven't found others so far but I haven't checked other architectures and I might have missed some callpaths for x86 as well. Also please note this hasn't been tested properly and it is based on the code reading. --- >From fa8e84058c243f81a49c847624daaf935efdeb5a Mon Sep

[PATCH 0/8] More stuff to charge to kmemcg

2016-05-23 Thread Vladimir Davydov
Hi, This patch implements per kmemcg accounting of page tables (x86-only), pipe buffers, and unix socket buffers. Basically, this is v2 of my earlier attempt [1], addressing comments by Andrew, namely: lack of comments to non-standard _mapcount usage, extra overhead even when kmemcg is unused, wr

Re: [PATCH 2/3] dma-buf/fence: add fence_array fences v5

2016-05-23 Thread Daniel Vetter
On Mon, May 23, 2016 at 01:25:21PM +0200, Christian König wrote: > From: Gustavo Padovan > > struct fence_collection inherits from struct fence and carries a > collection of fences that needs to be waited together. > > It is useful to translate a sync_file to a fence to remove the complexity > o

Re: [PATCH 3/3] dma-buf/fence: add signal_on_any to the fence array

2016-05-23 Thread Daniel Vetter
On Mon, May 23, 2016 at 01:25:22PM +0200, Christian König wrote: > From: Christian König > > If @signal_on_any is true the fence array signals if any fence in the array > signals, otherwise it signals when all fences in the array signal. What do you need this for? Sounds neat, but I can't come u

Re: [PATCH 47/54] MAINTAINERS: Add file patterns for tpm device tree bindings

2016-05-23 Thread Jarkko Sakkinen
On Sun, May 22, 2016 at 11:06:24AM +0200, Geert Uytterhoeven wrote: > Submitters of device tree binding documentation may forget to CC > the subsystem maintainer if this is missing. > > Signed-off-by: Geert Uytterhoeven > Cc: Peter Huewe > Cc: Marcel Selhorst > Cc: Jarkko Sakkinen > Cc: Jason

Re: [PATCH] drm/mm: avoid possible null pointer dereference

2016-05-23 Thread Chris Wilson
On Mon, May 23, 2016 at 02:38:29PM +0100, Eric Engestrom wrote: > On Mon, May 23, 2016 at 02:02:26PM +0100, Chris Wilson wrote: > > On Mon, May 23, 2016 at 02:56:45PM +0200, Daniel Vetter wrote: > > > On Mon, May 23, 2016 at 11:27:14AM +0100, Eric Engestrom wrote: > > > > On Wed, May 18, 2016 at 10

[PATCH] kernel/kcov: unproxify debugfs file's fops

2016-05-23 Thread Nicolai Stange
) Fixes: 5c9a8750a640 ("kernel: add kcov code coverage") Signed-off-by: Nicolai Stange --- Applicable to linux-next 20160523. In particular, it depends on - c64688081490 ("debugfs: add support for self-protecting attribute file fops") - 5c9a8750a640 (&quo

[PATCH] microblaze: fix instruction cache invalidation

2016-05-23 Thread Romeo Cane
Microblaze invalidates the instruction cache via WIC opcode which, unlike WDC for data cache, requires the virtual address of the target location when MMU is used. The current code always uses the physical address, preventing the instruction cache to be properly invalidated and exposing the risk o

Re: [PATCH 28/54] MAINTAINERS: Add file patterns for media device tree bindings

2016-05-23 Thread Javier Martinez Canillas
Hello Geert, On Sun, May 22, 2016 at 5:06 AM, Geert Uytterhoeven wrote: > Submitters of device tree binding documentation may forget to CC > the subsystem maintainer if this is missing. > > Signed-off-by: Geert Uytterhoeven > Cc: Mauro Carvalho Chehab > Cc: linux-me...@vger.kernel.org > --- > P

Re: [PATCH 2/3] Define fb_open_adj_file()

2016-05-23 Thread Daniel Vetter
On Mon, May 23, 2016 at 12:48:52PM +0200, 'Max Staudt wrote: > From: Max Staudt > > This callback from fb_open() allows a fbdev driver to adjust things such > as file->f_mapping to better represent the internal structures. > > This is needed to allow TTM drivers using ttm_fbdev_mmap() to properl

Re: [RFC PATCH 2/2] lightnvm: Append device name to target name

2016-05-23 Thread Wenwei Tao
Eh.. my lock patch can only prevent concurrent creation of the same name target on the same backend device, not the concurrent creation of same name target on different backend devices, since target management is protect by per device's gn->lock not the global nvm_lock now. 2016-05-23 20:24 GMT+0

[PATCH] s390: fix info leak in do_sigsegv

2016-05-23 Thread Michal Hocko
OK, Martin would prefer a simple patch so here we go. --- >From de1ad037f3181e795ef0e66a61b8fbe1157f66cc Mon Sep 17 00:00:00 2001 From: Michal Hocko Date: Mon, 23 May 2016 15:35:51 +0200 Subject: [PATCH] s390: fix info leak in do_sigsegv Aleksa has reported incorrect si_errno value when stracing

Re: [PATCH V2 2/2] usb: musb: Stop bulk endpoint while queue is rotated

2016-05-23 Thread Sergei Shtylyov
On 5/23/2016 4:26 PM, Andrew Goodbody wrote: Ensure that the endpoint is stopped by clearing REQPKT before clearing DATAERR_NAKTIMEOUT before rotating the queue on the dedicated bulk endpoint. This addresses an issue where a race could result in the endpoint receiving data before it was reprogra

Re: [PATCH] drm/mm: avoid possible null pointer dereference

2016-05-23 Thread Eric Engestrom
On Mon, May 23, 2016 at 02:02:26PM +0100, Chris Wilson wrote: > On Mon, May 23, 2016 at 02:56:45PM +0200, Daniel Vetter wrote: > > On Mon, May 23, 2016 at 11:27:14AM +0100, Eric Engestrom wrote: > > > On Wed, May 18, 2016 at 10:17:19PM +0200, Heinrich Schuchardt wrote: > > > > Do not dereference no

Re: [PATCH v2] cpufreq: stats: Walk online CPUs with CPU offline/online locked

2016-05-23 Thread Rafael J. Wysocki
On Monday, May 23, 2016 09:27:03 AM Viresh Kumar wrote: > On 20-05-16, 23:33, Rafael J. Wysocki wrote: > > The policy rwsem is really only needed in cpufreq_stats_create_table(), > > because > > the policy notifier is gone when _free_table() runs, so another version of > > the > > patch goes belo

Re: siginfo memory leak?

2016-05-23 Thread Michal Hocko
On Mon 23-05-16 15:29:21, Martin Schwidefsky wrote: > On Mon, 23 May 2016 15:05:38 +0200 > Michal Hocko wrote: > > > On Mon 23-05-16 14:43:19, Martin Schwidefsky wrote: > > > On Mon, 23 May 2016 13:16:30 +0200 > > [...] > > > > diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c > > > > inde

Re: [PATCH 4/5] iommu/rockchip: add ARM64 cache flush operation for iommu

2016-05-23 Thread Catalin Marinas
On Mon, May 23, 2016 at 11:44:14AM +0100, Robin Murphy wrote: > On 23/05/16 02:37, Shunqian Zheng wrote: > >From: Simon > > > >Signed-off-by: Simon > >--- > > drivers/iommu/rockchip-iommu.c | 4 > > 1 file changed, 4 insertions(+) > > > >diff --git a/drivers/iommu/rockchip-iommu.c b/drivers

[PATCH 2/3] arm64: dts: rockchip: add eDP device node for rk3399

2016-05-23 Thread Yakir Yang
Add rk3399 eDP device node, and connect to VOP device node with remote endpoint. Signed-off-by: Yakir Yang --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 52 1 file changed, 52 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boo

[PATCH 1/3] arm64: dts: rockchip: add VOP and VOP iommu node for rk3399

2016-05-23 Thread Yakir Yang
From: Mark Yao Add the core display-subsystem node and the two display controllers available on the rk3399. Signed-off-by: Mark Yao Signed-off-by: Yakir Yang --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 58 1 file changed, 58 insertions(+) diff --git a/arch

[PATCH 3/3] arm64: dts: rockchip: add backlight support for rk3399 evb board

2016-05-23 Thread Yakir Yang
Add backlight node for evb board, perpare for panel device node. Signed-off-by: Yakir Yang --- arch/arm64/boot/dts/rockchip/rk3399-evb.dts | 40 + 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-evb.dts b/arch/arm64/boot/dts/rockchi

[PATCH 0/3] Add the eDP/VOP device node for rk3399

2016-05-23 Thread Yakir Yang
This thread is rely on Mark's VOP thread[1] and Yakir's eDP thread[2]. [1]: https://lkml.org/lkml/2016/4/20/36 [2]: https://patchwork.freedesktop.org/patch/83406/ Mark Yao (1): arm64: dts: rockchip: add VOP and VOP iommu node for rk3399 Yakir Yang (2): arm64: dts: rockchip: add eDP device n

Re: [PATCH v5 0/2] skb_array: array based FIFO for skbs

2016-05-23 Thread Eric Dumazet
On Mon, 2016-05-23 at 13:43 +0300, Michael S. Tsirkin wrote: > This is in response to the proposal by Jason to make tun > rx packet queue lockless using a circular buffer. > My testing seems to show that at least for the common usecase > in networking, which isn't lockless, circular buffer > with i

Re: [GIT PULL] pin control bulk changes for the v4.7 cycle

2016-05-23 Thread Linus Walleij
On Thu, May 19, 2016 at 9:52 PM, Linus Torvalds wrote: > On Thu, May 19, 2016 at 4:20 AM, Linus Walleij > wrote: >> >> This kernel cycle was quite calm when it comes to pin >> control and there is really just one major change, and that >> is the introduction of devm_pinctrl_register() managed >>

Re: siginfo memory leak?

2016-05-23 Thread Martin Schwidefsky
On Mon, 23 May 2016 15:05:38 +0200 Michal Hocko wrote: > On Mon 23-05-16 14:43:19, Martin Schwidefsky wrote: > > On Mon, 23 May 2016 13:16:30 +0200 > [...] > > > diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c > > > index 791a4146052c..41913fac14e4 100644 > > > --- a/arch/s390/mm/fault.c

Re: [RFC PATCHv2] usb: USB Type-C Connector Class

2016-05-23 Thread Guenter Roeck
On 05/22/2016 10:34 PM, Oliver Neukum wrote: On Sun, 2016-05-22 at 08:54 -0700, Guenter Roeck wrote: Hi Oliver, On 05/20/2016 11:43 PM, Oliver Neukum wrote: On Fri, 2016-05-20 at 22:51 -0700, Guenter Roeck wrote: On 05/20/2016 06:37 AM, Oliver Neukum wrote: On Fri, 2016-05-20 at 14:24 +0300,

RE: [PATCH V2 2/2] usb: musb: Stop bulk endpoint while queue is rotated

2016-05-23 Thread Andrew Goodbody
> From: Sergei Shtylyov [mailto:sergei.shtyl...@cogentembedded.com] > > Hello. > > On 5/23/2016 3:00 PM, Andrew Goodbody wrote: > > > Ensure that the endpoint is stopped by clearing REQPKT before clearing > > DATAERR_NAKTIMEOUT before rotating the queue on the dedicated bulk > > endpoint. > > Th

Re: [PATCH] Input: tc3589x-keypad - remove stray ')'

2016-05-23 Thread Linus Walleij
On Sun, May 22, 2016 at 4:20 PM, Clifton Barnes wrote: > The end ')' needs to be removed if the macro is ever used or there > would be a compiler error as it does not have a matching '('. > > Signed-off-by: Clifton Barnes Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 1/3] arm64: dts: rockchip: add VOP and VOP iommu node for rk3399

2016-05-23 Thread Yakir Yang
On 05/23/2016 09:18 PM, Heiko Stuebner wrote: Am Montag, 23. Mai 2016, 21:11:10 schrieb Yakir Yang: From: Mark Yao Please always at least provide some minimal patch description. Something like --- 8< --- Add the core display-subsystem node and the two display controllers available on the rk3

Re: [U-Boot] Sharing code between Linux and bootloader (U-boot) ?

2016-05-23 Thread Sebastian Frias
Hi Tom, On 05/21/2016 03:41 AM, Tom Rini wrote: > On Fri, May 20, 2016 at 04:28:23PM +0200, Sebastian Frias wrote: > >> Hi, >> >> Some bootloaders (like U-boot) support several HW devices: serial, >> network, NAND, USB, etc. most of which are also supported by Linux. >> >> So the question is: is

Re: [PATCH V5 4/6] vfio: platform: add support for ACPI probe

2016-05-23 Thread Eric Auger
On 05/16/2016 04:13 AM, Sinan Kaya wrote: > The code is using the compatible DT string to associate a reset driver > with the actual device itself. The compatible string does not exist on > ACPI based systems. HID is the unique identifier for a device driver > instead. > > Signed-off-by: Sinan Kay

Re: [PATCH 1/3] arm64: dts: rockchip: add VOP and VOP iommu node for rk3399

2016-05-23 Thread Heiko Stuebner
Am Montag, 23. Mai 2016, 21:11:10 schrieb Yakir Yang: > From: Mark Yao Please always at least provide some minimal patch description. Something like --- 8< --- Add the core display-subsystem node and the two display controllers available on the rk3399 --- 8< --- applies to the other two patche

Re: [RFC PATCH 1/2] Input: rotary-encoder- Add support for absolute encoder

2016-05-23 Thread Uwe Kleine-König
Hello, On Mon, May 23, 2016 at 04:48:40PM +0530, R, Vignesh wrote: > On 5/22/2016 3:56 PM, Uwe Kleine-König wrote: > > Hello, > > > > On Thu, May 19, 2016 at 02:34:00PM +0530, Vignesh R wrote: > >> There are rotary-encoders where GPIO lines reflect the actual position > >> of the rotary encoder d

Re: [PATCH V5 3/6] vfio: platform: determine reset capability

2016-05-23 Thread Eric Auger
On 05/16/2016 04:13 AM, Sinan Kaya wrote: > Creating a new function to determine if this driver supports reset > function or not. This is an attempt to abstract device tree calls > from the rest of the code. > > Signed-off-by: Sinan Kaya > --- > drivers/vfio/platform/vfio_platform_common.c | 7 +

[PATCH 1/3] arm64: dts: rockchip: add VOP and VOP iommu node for rk3399

2016-05-23 Thread Yakir Yang
From: Mark Yao Signed-off-by: Mark Yao Signed-off-by: Yakir Yang Signed-off-by: Yakir Yang --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 58 1 file changed, 58 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockch

Re: [PATCH] mm: add config option to select the initial overcommit mode

2016-05-23 Thread Sebastian Frias
Hi Alan, On 05/13/2016 05:41 PM, One Thousand Gnomes wrote: >> My understanding is that there was a time when there was no overcommit at >> all. >> If that's the case, understanding why overcommit was introduced would be >> helpful. > > Linux always had overcommit. > > The origin of overcommit

[PATCH 0/3] Add the eDP/VOP device node for rk3399

2016-05-23 Thread Yakir Yang
This thread is rely on Mark's VOP thread[1] and Yakir's eDP thread[2]. [1]: https://lkml.org/lkml/2016/4/20/36 [2]: https://patchwork.freedesktop.org/patch/83406/ Mark Yao (1): arm64: dts: rockchip: add VOP and VOP iommu node for rk3399 Yakir Yang (2): arm64: dts: rockchip: add eDP device n

[PATCH 2/3] arm64: dts: rockchip: add eDP device node for rk3399

2016-05-23 Thread Yakir Yang
Signed-off-by: Yakir Yang --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 52 1 file changed, 52 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 54e5c25..be322db 100644 --- a/arch/arm64/boot/dts

[PATCH 3/3] arm64: dts: rockchip: add backlight support for rk3399 evb board

2016-05-23 Thread Yakir Yang
Signed-off-by: Yakir Yang --- arch/arm64/boot/dts/rockchip/rk3399-evb.dts | 40 + 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-evb.dts b/arch/arm64/boot/dts/rockchip/rk3399-evb.dts index 1a3eb14..31d9e27 100644 --- a/arch/arm64/bo

[PATCH 3/4] drm/panel: simple: Add support for Samsung LSN122DL01-C01 2560x1600 panel

2016-05-23 Thread Yakir Yang
The Samsung LSN122DL01-C01 is an 12.2" 2560x1600 (WQXGA) TFT-LCD panel connected using eDP interfaces. Signed-off-by: Yakir Yang --- drivers/gpu/drm/panel/panel-simple.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers

Re: [PATCH v5 2/2] skb_array: ring test

2016-05-23 Thread Jesper Dangaard Brouer
On Mon, 23 May 2016 13:43:46 +0300 "Michael S. Tsirkin" wrote: > Add ringtest based unit test for skb array. > > Signed-off-by: Michael S. Tsirkin > --- > tools/virtio/ringtest/skb_array.c | 167 > ++ > tools/virtio/ringtest/Makefile| 4 +- Patch didn'

RE: [char-misc-next 1/2] mei: don't use wake_up_interruptible for wr_ctrl

2016-05-23 Thread Winkler, Tomas
> > From: Alexander Usyskin > > wr_ctrl waiters are none interruptible, so should be waken up with call to > wake_up and not to wake_up_interruptible. > > This fixes commit: > 7ff4bdd ("mei: fix waiting for wr_ctrl for corner cases.") > > Signed-off-by: Alexander Usyskin > Signed-off-by: Toma

Re: [PATCH v3] input: tablet: add Pegasus Notetaker tablet driver

2016-05-23 Thread Oliver Neukum
On Mon, 2016-05-23 at 14:43 +0200, Martin Kepplinger wrote: > Am 2016-05-23 um 14:26 schrieb Oliver Neukum: > > On Mon, 2016-05-23 at 13:39 +0200, Martin Kepplinger wrote: > > > >> It's *really* fun to use as an input tablet though! So let's support this > >> for everybody. > > > > Hi, > > > > I

Re: siginfo memory leak?

2016-05-23 Thread Michal Hocko
On Mon 23-05-16 14:43:19, Martin Schwidefsky wrote: > On Mon, 23 May 2016 13:16:30 +0200 [...] > > diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c > > index 791a4146052c..41913fac14e4 100644 > > --- a/arch/s390/mm/fault.c > > +++ b/arch/s390/mm/fault.c > > @@ -248,6 +248,7 @@ static noinli

[PATCH 1/4] drm/panel: simple: Add support for LG LP097QX1-SPA1 2048x1536 panel

2016-05-23 Thread Yakir Yang
The LG LP097QX1-SPA1 is an 9.7", 2048x1536 (QXGA) TFT-LCD panel connected using eDP interfaces. Signed-off-by: Yakir Yang --- drivers/gpu/drm/panel/panel-simple.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/dr

Re: [PATCH V5 2/6] vfio: platform: move reset call to a common function

2016-05-23 Thread Eric Auger
Hi Sinan, On 05/16/2016 04:13 AM, Sinan Kaya wrote: > The reset call sequence seems to replicate itself multiple times > across the file. Grouping them together for maintenance reasons. > > Signed-off-by: Sinan Kaya > --- > drivers/vfio/platform/vfio_platform_common.c | 31 > ++-

Re: [PATCH] drm/mm: avoid possible null pointer dereference

2016-05-23 Thread Chris Wilson
On Mon, May 23, 2016 at 02:56:45PM +0200, Daniel Vetter wrote: > On Mon, May 23, 2016 at 11:27:14AM +0100, Eric Engestrom wrote: > > On Wed, May 18, 2016 at 10:17:19PM +0200, Heinrich Schuchardt wrote: > > > Do not dereference node before the check if node is NULL. > > > > > > Signed-off-by: Heinr

Re: [PATCH 03/16] sched/fair: Disregard idle task wakee_flips in wake_wide

2016-05-23 Thread Mike Galbraith
On Mon, 2016-05-23 at 13:00 +0100, Morten Rasmussen wrote: > The problem then seems to be distinguishing truly idle and busy doing > interrupts. The issue that I observe is that wake_wide() likes pushing > tasks around in lightly scenarios which isn't desirable for power > management. Selecting th

[PATCH] kcov: allow more fine-grained coverage instrumentation

2016-05-23 Thread Vegard Nossum
For more targeted fuzzing, it's better to disable kernel-wide instrumentation and instead enable it on a per-subsystem basis. This follows the pattern of UBSAN and allows you to compile in the kcov driver without instrumenting the whole kernel. To instrument a part of the kernel, you can use eithe

Re: [PATCH] drm/mm: avoid possible null pointer dereference

2016-05-23 Thread Daniel Vetter
On Mon, May 23, 2016 at 11:27:14AM +0100, Eric Engestrom wrote: > On Wed, May 18, 2016 at 10:17:19PM +0200, Heinrich Schuchardt wrote: > > Do not dereference node before the check if node is NULL. > > > > Signed-off-by: Heinrich Schuchardt > > --- > > drivers/gpu/drm/drm_mm.c | 4 +++- > > 1 fil

[PATCH 4/4] dt-bindings: add Samsung LSN122DL01-C01 panel binding

2016-05-23 Thread Yakir Yang
The Samsung LSN122DL01-C01 is an 12.2" 2560x1600 (WQXGA) TFT-LCD panel connected using eDP interfaces. Signed-off-by: Yakir Yang --- .../devicetree/bindings/display/panel/samsung,lsn122dl01-c01.txt | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 Documentation/devicetree/bindi

[PATCH 8/8] af_unix: charge buffers to kmemcg

2016-05-23 Thread Vladimir Davydov
Unix sockets can consume a significant amount of system memory, hence they should be accounted to kmemcg. Since unix socket buffers are always allocated from process context, all we need to do to charge them to kmemcg is set __GFP_ACCOUNT in sock->sk_allocation mask. Signed-off-by: Vladimir Davyd

[PATCH 2/4] dt-bindings: add LG LP097QX1-SPA1 panle binding

2016-05-23 Thread Yakir Yang
The LG LP097QX1-SPA1 is an 9.7", 2048x1536 (QXGA) TFT-LCD panel connected using eDP interfaces. Signed-off-by: Yakir Yang --- .../devicetree/bindings/display/panel/lg,lp097qx1-spa1.txt | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 Documentation/devicetree/bindings/dis

[PATCH 7/8] pipe: account to kmemcg

2016-05-23 Thread Vladimir Davydov
Pipes can consume a significant amount of system memory, hence they should be accounted to kmemcg. This patch marks pipe_inode_info and anonymous pipe buffer page allocations as __GFP_ACCOUNT so that they would be charged to kmemcg. Note, since a pipe buffer page can be "stolen" and get reused for

[PATCH 5/8] mm: memcontrol: teach uncharge_list to deal with kmem pages

2016-05-23 Thread Vladimir Davydov
Page table pages are batched-freed in release_pages on most architectures. If we want to charge them to kmemcg (this is what is done later in this series), we need to teach mem_cgroup_uncharge_list to handle kmem pages. Signed-off-by: Vladimir Davydov --- mm/memcontrol.c | 42 +++

Re: [PATCH V5 1/6] vfio: platform: rename reset function

2016-05-23 Thread Eric Auger
Hi Sinan On 05/16/2016 04:13 AM, Sinan Kaya wrote: > Renaming the reset function to of_reset as it is only used > by the device tree based platforms. > > Signed-off-by: Sinan Kaya > --- > drivers/vfio/platform/vfio_platform_common.c | 30 > +-- > drivers/vfio/platform/v

[PATCH 1/8] mm: remove pointless struct in struct page definition

2016-05-23 Thread Vladimir Davydov
... to reduce indentation level thus leaving more space for comments. Signed-off-by: Vladimir Davydov --- include/linux/mm_types.h | 68 +++- 1 file changed, 32 insertions(+), 36 deletions(-) diff --git a/include/linux/mm_types.h b/include/linux/mm_ty

[PATCH 4/8] mm: charge/uncharge kmemcg from generic page allocator paths

2016-05-23 Thread Vladimir Davydov
Currently, to charge a non-slab allocation to kmemcg one has to use alloc_kmem_pages helper with __GFP_ACCOUNT flag. A page allocated with this helper should finally be freed using free_kmem_pages, otherwise it won't be uncharged. This API suits its current users fine, but it turns out to be impos

Re: [PATCH v2] dma-buf: use vma_pages().

2016-05-23 Thread Eric Engestrom
On Mon, May 23, 2016 at 05:08:42PM +0530, Muhammad Falak R Wani wrote: > Replace explicit computation of vma page count by a call to > vma_pages(). > Also, include All good! Reviewed-by: Eric Engestrom

Re: [PATCH v3] input: tablet: add Pegasus Notetaker tablet driver

2016-05-23 Thread Martin Kepplinger
Am 2016-05-23 um 14:26 schrieb Oliver Neukum: > On Mon, 2016-05-23 at 13:39 +0200, Martin Kepplinger wrote: > >> It's *really* fun to use as an input tablet though! So let's support this >> for everybody. > > Hi, > > I am afraid there are a few issues. Thanks for having a look, comments below.

Re: [PATCH 1/1] Staging: rdma: hfi1: sdma.c: Fixed coding style issues

2016-05-23 Thread Dennis Dalessandro
On Mon, May 23, 2016 at 12:06:02PM +0530, Shyam Saini wrote: Fixed following checkpatch.pl warnings: Prefer 'unsigned int' to bare use of 'unsigned' Prefer READ_ONCE() over ACCESS_ONCE() Same response [1] as to your previous patch. If you do spin the READ_ONCE bit please squash the two.

Re: siginfo memory leak?

2016-05-23 Thread Martin Schwidefsky
On Mon, 23 May 2016 13:16:30 +0200 Michal Hocko wrote: > Hi, > Aleksa has reported that strace tells a bogus si_errno while debugging > something on s390: > [pid 20799] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, > si_errno=2510266, si_addr=0x100} That is a bug. > A quick

Re: [PATCH V2 2/2] usb: musb: Stop bulk endpoint while queue is rotated

2016-05-23 Thread Sergei Shtylyov
Hello. On 5/23/2016 3:00 PM, Andrew Goodbody wrote: Ensure that the endpoint is stopped by clearing REQPKT before clearing DATAERR_NAKTIMEOUT before rotating the queue on the dedicated bulk endpoint. This addresses an issue where a race could result in the endpoint receiving data before it was

Re: [PATCH 1/1] Staging: rdma: hfi1: rc.c: Fixed coding style issues

2016-05-23 Thread Dennis Dalessandro
On Mon, May 23, 2016 at 12:06:01PM +0530, Shyam Saini wrote: Fixed following checkpatch.pl warnings: Prefer 'unsigned int' to bare use of 'unsigned' Prefer READ_ONCE() over ACCESS_ONCE() In general please don't fix two types of issues in the same patch. Also, as to the unsinged -> unsigned i

Re: [RFC PATCH] drivers/pinctrl: Add pinctrl-ast2400

2016-05-23 Thread Linus Walleij
Hi sorry for taking so long before reviewing. Too busy, what can I say. On Fri, May 6, 2016 at 8:20 AM, Andrew Jeffery wrote: > Add pinctrl/pinmux support for the Aspeed AST2400 SoC. Configuration of > the SoC is somewhat involved: Enabling functions can involve writes of > multiple bits to mult

Re: [PATCH 16/54] MAINTAINERS: Add file patterns for drm device tree bindings

2016-05-23 Thread Rob Herring
On Mon, May 23, 2016 at 4:33 AM, Emil Velikov wrote: > On 22 May 2016 at 10:05, Geert Uytterhoeven wrote: >> Submitters of device tree binding documentation may forget to CC >> the subsystem maintainer if this is missing. >> >> Signed-off-by: Geert Uytterhoeven >> Cc: David Airlie >> Cc: dri-de

Re: [GIT PULL] EFI fix

2016-05-23 Thread Josh Poimboeuf
On Mon, May 23, 2016 at 01:08:01PM +0100, Matt Fleming wrote: > On Mon, 16 May, at 01:05:45PM, Linus Torvalds wrote: > > > > I think the right fix is to just get rid of that silly conditional > > frame pointer thing, and always use frame pointers in this stub > > function. And then we don't need t

[PATCH 3/3] ARM: configs: keystone: Enable PINCTRL_SINGLE Config

2016-05-23 Thread Keerthy
keystone-k2l devices use pinmux and are compliant with PINCTRL_SINGLE. Hence enable the config option. Signed-off-by: Keerthy --- arch/arm/configs/keystone_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/keystone_defconfig b/arch/arm/configs/keystone_defconfig ind

[PATCH 0/3] ARM: keystone-k2l: Enable pinctrl support

2016-05-23 Thread Keerthy
The series enables pinctrl support for k2l devices. Tested on keystone-k2l-evm board. Keerthy (3): ARM: dts: keystone-k2l: Add pinctrl node arm: mach-keystone: Enable PINCTRL config ARM: configs: keystone: Enable PINCTRL_SINGLE Config arch/arm/boot/dts/keystone-k2l.dtsi | 149 +

[PATCH 1/3] ARM: dts: keystone-k2l: Add pinctrl node

2016-05-23 Thread Keerthy
Add pinctrl node and populate the pinctrl registers with the default values. Signed-off-by: Keerthy --- arch/arm/boot/dts/keystone-k2l.dtsi | 149 1 file changed, 149 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2l.dtsi b/arch/arm/boot/dts/keyston

[PATCH 2/3] arm: mach-keystone: Enable PINCTRL config

2016-05-23 Thread Keerthy
keystone-k2l uses pinmux and is compliant with PINCTRL_SINGLE which depends on PINCTRL. Hence enable PINCTRL. Signed-off-by: Keerthy --- arch/arm/mach-keystone/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-keystone/Kconfig b/arch/arm/mach-keystone/Kconfig index ea955f

Re: [PATCH v3] input: tablet: add Pegasus Notetaker tablet driver

2016-05-23 Thread Oliver Neukum
On Mon, 2016-05-23 at 13:39 +0200, Martin Kepplinger wrote: > It's *really* fun to use as an input tablet though! So let's support this > for everybody. Hi, I am afraid there are a few issues. 1. Why the kernel thread? 2. This driver has questionable power management. Regards

Re: [PATCH] KVM: SVM: Add more SVM_EXIT_REASONS

2016-05-23 Thread Paolo Bonzini
On 23/05/2016 08:43, Jan Kiszka wrote: > Useful when tracing nested setups where the guest may trigger more than > the host usually does. But even some typical host exits were missing. > > Signed-off-by: Jan Kiszka > --- > arch/x86/include/uapi/asm/svm.h | 44 > +++

Re: [patch] sched/fair: Move se->vruntime normalization state into struct sched_entity

2016-05-23 Thread Peter Zijlstra
On Mon, May 23, 2016 at 11:40:35AM +0200, Mike Galbraith wrote: > Yup, bugs--. Kinda funny, I considered ~this way first, but thought > you'd not that approach.. dang, got it back-assward ;-) Hehe, so the new flag is in a word we've already written to on this path and it avoids growing the struc

Re: [PATCH] KVM: Unify traced vector format

2016-05-23 Thread Paolo Bonzini
On 23/05/2016 08:43, Jan Kiszka wrote: > Specifically the change from hex to decimal helps correlating events. > > Signed-off-by: Jan Kiszka > --- > include/trace/events/kvm.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/include/trace/events/kvm.h b/include/t

Re: sem_lock() vs qspinlocks

2016-05-23 Thread Peter Zijlstra
On Fri, May 20, 2016 at 10:00:45AM -0700, Linus Torvalds wrote: > So I do wonder if we should make that smp_mb() be something the > *caller* has to do, and document rules for it. IOW, introduce a new > spinlock primitive called "spin_lock_synchronize()", and then spinlock > implementations that ha

Re: [RFC PATCH 2/2] lightnvm: Append device name to target name

2016-05-23 Thread Matias Bjørling
On 05/23/2016 01:05 PM, Wenwei Tao wrote: 2016-05-23 17:16 GMT+08:00 Matias Bjørling : On 05/23/2016 11:13 AM, Wenwei Tao wrote: From: Wenwei Tao We may create targets with same name on different backend devices, this is not what we want, so append the device name to target name to make the

[PATCH v7 2/4] CMDQ: Mediatek CMDQ driver

2016-05-23 Thread HS Liao
This patch is first version of Mediatek Command Queue(CMDQ) driver. The CMDQ is used to help read/write registers with critical time limitation, such as updating display configuration during the vblank. It controls Global Command Engine (GCE) hardware to achieve this requirement. Currently, CMDQ on

[PATCH v7 3/4] arm64: dts: mt8173: Add GCE node

2016-05-23 Thread HS Liao
This patch adds the device node of the GCE hardware for CMDQ module. Signed-off-by: HS Liao --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index eab7efc.

<    1   2   3   4   5   6   7   8   9   >