Re: [PATCH] drm: tda998x: mali-dp: hdlcd: refactor connector registration

2016-11-08 Thread Daniel Vetter
On Tue, Nov 08, 2016 at 10:59:43AM +, Russell King - ARM Linux wrote: > On Tue, Nov 08, 2016 at 10:25:52AM +0100, Daniel Vetter wrote: > > Hm, I entirely missed that part of the troubles. Anyway, if you all agree > > on a patch I certainly won't block it, feel free to merge through suitable > >

Re: [PATCH] drm: panel: simple-panel: get the enable gpio as-is

2016-11-08 Thread Thierry Reding
On Mon, Nov 07, 2016 at 03:26:56PM +0100, Philipp Zabel wrote: > Am Montag, den 07.11.2016, 14:17 +0100 schrieb Thierry Reding: > > On Mon, Nov 07, 2016 at 06:12:43PM +0800, Chen-Yu Tsai wrote: > > > On Sun, Nov 6, 2016 at 7:09 PM, Icenowy Zheng wrote: > > > > The enable gpio of simple-panel may b

[ANNOUNCE] util-linux v2.29

2016-11-08 Thread Karel Zak
The util-linux release v2.29 is available at http://ftp.kernel.org/pub/linux/utils/util-linux/v2.29 Feedback and bug reports, as always, are welcomed. Karel Util-linux 2.29 Release Notes = Security issues --- CVE-2016-2779 This security issue

Re: [PATCH] drm/tegra: add tiling FB modifiers

2016-11-08 Thread Daniel Vetter
On Tue, Nov 08, 2016 at 04:50:42PM +0900, Alexandre Courbot wrote: > Add FB modifiers to allow user-space to specify that a surface is in one > of the two tiling formats supported by Tegra chips, and add support in > the tegradrm driver to handle them properly. This is necessary for the > display c

Re: [PATCH RESEND] phy: exynos-mipi-video: simplify check for coupled phy status

2016-11-08 Thread Javier Martinez Canillas
Hello Marek, On 11/08/2016 03:27 AM, Marek Szyprowski wrote: > Hi Javier, > > > On 2016-11-07 19:50, Javier Martinez Canillas wrote: >> On 11/07/2016 07:48 AM, Marek Szyprowski wrote: >>> There is no need to access regmap of coupled phy to check its state - such >>> information is already in the

Re: [PATCH v7 0/3] drm: add explict fencing

2016-11-08 Thread Daniel Vetter
On Tue, Nov 08, 2016 at 10:35:08AM +, Chris Wilson wrote: > On Tue, Nov 08, 2016 at 03:54:47PM +0900, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Hi, > > > > This is yet another version of the DRM fences patches. Please refer > > to the cover letter[1] in a previous version to c

Re: [PATCH v1 03/11] drivers: soc: hisi: Add support for Hisilicon Djtag driver

2016-11-08 Thread John Garry
On 07/11/2016 20:08, Arnd Bergmann wrote: On Monday, November 7, 2016 2:15:10 PM CET John Garry wrote: Hi Arnd, The new bus type tries to model the djtag in a similar way to I2C/USB driver arch, where we have a host bus adapter and child devices attached to the bus. The child devices are bus d

Re: [PATCH v4 1/3] leds: Introduce userspace leds driver

2016-11-08 Thread Jacek Anaszewski
Hi David, On 09/16/2016 09:16 PM, David Lechner wrote: This driver creates a userspace leds driver similar to uinput. New leds are created by opening /dev/uleds and writing a uleds_user_dev struct. A new leds class device is registered with the name given in the struct. Reading will return a si

[PATCH/RFC v2] tools/leds: Add led_notify_mon program for monitoring brightness changes

2016-11-08 Thread Jacek Anaszewski
LED subsystem supports POLLPRI on "brightness" sysfs file of LED class devices. This tool demonstrates how to use the feature. Signed-off-by: Jacek Anaszewski Cc: Hans de Goede --- Changes since v1: - added lseek which fixes non-blocking poll() behaviour tools/leds/Makefile | 4 +-- t

Re: [PATCH] iommu/dma-iommu: properly respect configured address space size

2016-11-08 Thread Robin Murphy
Hi Marek, On 07/11/16 13:06, Marek Szyprowski wrote: > When one called iommu_dma_init_domain() with size smaller than device's > DMA mask, the alloc_iova() will not respect it and always assume that all > IOVA addresses will be allocated from the the (base ... dev->dma_mask) range. Is that actual

Re: [PATCH] mm: only enable sys_pkey* when ARCH_HAS_PKEYS

2016-11-08 Thread Arnd Bergmann
On Tuesday, November 8, 2016 10:30:42 AM CET Heiko Carstens wrote: > Three architectures (parisc, powerpc, s390) decided to ignore the system > calls completely, but still have the pkey code linked into the kernel > image. Wouldn't it actually make sense to hook this up to the storage keys in the

Re: [PATCH v8 3/3] fpga: Add support for Lattice iCE40 FPGAs

2016-11-08 Thread Marek Vasut
On 11/07/2016 07:49 PM, Joel Holdsworth wrote: > Hi Marek, Hi, > Thanks again for your comments. > > > On 07/11/16 11:01, Marek Vasut wrote: >> On 11/07/2016 03:49 AM, Joel Holdsworth wrote: >>> The Lattice iCE40 is a family of FPGAs with a minimalistic architecture >>> and very regular structu

Re: [PATCH] serial: sirf: Simplify a test

2016-11-08 Thread Arnd Bergmann
On Tuesday, November 8, 2016 8:18:04 AM CET Christophe JAILLET wrote: > Le 07/11/2016 à 14:50, Arnd Bergmann a écrit : > > On Tuesday, November 1, 2016 8:03:33 AM CET Christophe JAILLET wrote: > >> 'dmaengine_prep_dma_cyclic()' does not return an error pointer, so the test > >> can be simplified to

Re: [PATCH v1 03/11] drivers: soc: hisi: Add support for Hisilicon Djtag driver

2016-11-08 Thread Arnd Bergmann
On Tuesday, November 8, 2016 11:23:35 AM CET John Garry wrote: > On 07/11/2016 20:08, Arnd Bergmann wrote: > > On Monday, November 7, 2016 2:15:10 PM CET John Garry wrote: > >> > >> Hi Arnd, > >> > >> The new bus type tries to model the djtag in a similar way to I2C/USB > >> driver arch, where we h

Re: [PATCH v1 03/11] drivers: soc: hisi: Add support for Hisilicon Djtag driver

2016-11-08 Thread Arnd Bergmann
On Tuesday, November 8, 2016 1:08:31 PM CET Anurup M wrote: > On Tuesday 08 November 2016 12:32 PM, Tan Xiaojun wrote: > > On 2016/11/7 21:26, Arnd Bergmann wrote: > >> On Wednesday, November 2, 2016 11:42:46 AM CET Anurup M wrote: > >>> From: Tan Xiaojun > >>> + /* ensure the djtag operation is

Re: [PATCH v7 0/3] drm: add explict fencing

2016-11-08 Thread Chris Wilson
On Tue, Nov 08, 2016 at 12:32:56PM +0100, Daniel Vetter wrote: > On Tue, Nov 08, 2016 at 10:35:08AM +, Chris Wilson wrote: > > On Tue, Nov 08, 2016 at 03:54:47PM +0900, Gustavo Padovan wrote: > > > From: Gustavo Padovan > > > > > > Hi, > > > > > > This is yet another version of the DRM fence

Re: [PATCH V5 2/3] ARM64 LPC: Add missing range exception for special ISA

2016-11-08 Thread Mark Rutland
On Tue, Nov 08, 2016 at 11:47:08AM +0800, zhichang.yuan wrote: > +Hisilicon Hip06 low-pin-count device > + Usually LPC controller is part of PCI host bridge, so the legacy ISA ports > + locate on LPC bus can be accessed direclty. But some SoCs have independent > + LPC controller, and access the

Re: net/sunrpc/clnt.c:2773 suspicious rcu_dereference_check() usage!

2016-11-08 Thread Jeff Layton
On Mon, 2016-11-07 at 22:42 -0700, Ross Zwisler wrote: > I've got a virtual machine that has some NFS mounts, and with a newly compiled > kernel based on v4.9-rc3 I see the following warning/info message: > > [ 42.750181] === > [ 42.750192] [ INFO: suspicious RCU us

Re: Re: Reset implementation for Zynq

2016-11-08 Thread Shubhrajyoti Datta
Hi Iztok, On Tue, Nov 8, 2016 at 3:10 PM, wrote: > Hi Shubhrajyoti, > > By lockup state, I mean an undefined/unhandled state of the HW logic state > machine, > or something similar in the software driver. > Based on symptoms I assume it is a HW lockup. > In practice asking the driver for a new

[PATCH] drm/vmwgfx : Fix NULL pointer comparison

2016-11-08 Thread Ravikant Bijendra Sharma
From: Ravikant B Sharma Replace direct comparisons to NULL i.e. 'x == NULL' with '!x'. As per coding standard. Signed-off-by: Ravikant B Sharma --- drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c|4 ++-- drivers/gpu/drm/vmwgfx/vmwgfx_context.c |2 +- drivers/gpu/drm/vmwgfx/vmwgfx_

Re: [PATCH V5 1/3] ARM64 LPC: Indirect ISA port IO introduced

2016-11-08 Thread Mark Rutland
On Tue, Nov 08, 2016 at 11:47:07AM +0800, zhichang.yuan wrote: > For arm64, there is no I/O space as other architectural platforms, such as > X86. Most I/O accesses are achieved based on MMIO. But for some arm64 SoCs, > such as Hip06, when accessing some legacy ISA devices connected to LPC, those >

Re: [PATCH] mm: only enable sys_pkey* when ARCH_HAS_PKEYS

2016-11-08 Thread Heiko Carstens
On Tue, Nov 08, 2016 at 12:39:28PM +0100, Arnd Bergmann wrote: > On Tuesday, November 8, 2016 10:30:42 AM CET Heiko Carstens wrote: > > Three architectures (parisc, powerpc, s390) decided to ignore the system > > calls completely, but still have the pkey code linked into the kernel > > image. > >

Re: [PATCH V2 3/5] arm64: hw_breakpoint: Handle inexact watchpoint addresses

2016-11-08 Thread Pavel Labath
>> >> /* Do we need to handle the stepping? */ >> if (is_default_overflow_handler(wp)) >> step = 1; >> - >> -unlock: >> - rcu_read_unlock(); >> } >> + if (min_dist > 0 && min_dist != -1) { >> + /* No exact match fou

Re: [PATCH] crypto: rsa: rename two rsa key files

2016-11-08 Thread Herbert Xu
yanjiang@windriver.com wrote: > From: Yanjiang Jin > > This is to eliminate the below compile error: > > crypto/rsa_helper.c:19:29: fatal error: rsaprivkey-asn1.h: No such file or > directory > #include "rsaprivkey-asn1.h" > ^ > compilation terminated. > > Signe

Re: net/sunrpc/clnt.c:2773 suspicious rcu_dereference_check() usage!

2016-11-08 Thread Jeff Layton
On Tue, 2016-11-08 at 06:53 -0500, Jeff Layton wrote: > On Mon, 2016-11-07 at 22:42 -0700, Ross Zwisler wrote: > > > > I've got a virtual machine that has some NFS mounts, and with a newly > > compiled > > kernel based on v4.9-rc3 I see the following warning/info message: > > > > [ 42.750181]

Re: [PATCH] staging: vc04_services: Add 32-bit compatibility ioctls

2016-11-08 Thread Arnd Bergmann
On Monday, November 7, 2016 4:48:35 PM CET Michael Zoran wrote: > .../vc04_services/interface/vchiq_arm/vchiq_arm.c | 269 > + > .../vc04_services/interface/vchiq_arm/vchiq_if.h | 25 ++ > .../interface/vchiq_arm/vchiq_ioctl.h | 102 > 3 files changed

[PATCH v4 0/8] IIO wrapper drivers, dpot-dac and envelope-detector

2016-11-08 Thread Peter Rosin
Hi! This is a respin with a handful of nitpicks fixed from v3. No major changes. And a couple of acks was added too, thanks! I also added Thomas Gleixner as Cc, since Jonathan was hoping for some comments on the somewhat odd interrupt handling in patch 8/8 (but perhaps plumbers-week isn't the best

Re: [PATCH] perf/x86: Fix overlap counter scheduling bug

2016-11-08 Thread Peter Zijlstra
On Tue, Nov 01, 2016 at 04:44:28PM +0100, Jiri Olsa wrote: > My fuzzer testing hits following warning in the counter scheduling code: > > WARNING: CPU: 0 PID: 0 at arch/x86/events/core.c:718 > perf_assign_events+0x2ae/0x2c0 > Call Trace: > >dump_stack+0x68/0x93 >__warn+0xcb/0xf0 >

Re: [PATCH] sched/rt: RT_RUNTIME_GREED sched feature

2016-11-08 Thread Peter Zijlstra
No, none of this stands a chance of being accepted. This is making bad code worse.

Re: [PATCH v3 0/3] dmaengine: DW DMAC: split pdata to hardware properties

2016-11-08 Thread Eugeniy Paltsev
On Mon, 2016-11-07 at 15:55 +0200, Andy Shevchenko wrote: >  > Thanks for an update, but, please, answer to all my comments to your > patch v2. Either you are okay with them, then you didn't address few, > or > you are not okay, I didn't get why. Deffer newer version until we get > an > agreement o

[PATCH 0/3] tty/serial: fix invalid user-pointer checks

2016-11-08 Thread Johan Hovold
This series drop invalid user-pointer checks from ioctl handlers (which tend to get replicated in new drivers). Note that only the rocket driver has been compile tested. Johan Johan Hovold (3): tty: amiserial: fix invalid user-pointer check tty: rocket: fix invalid user-pointer checks ser

[PATCH 2/3] tty: rocket: fix invalid user-pointer checks

2016-11-08 Thread Johan Hovold
Drop invalid user-pointer checks from custom ioctl handlers. A NULL-pointer can be valid in user space and copy_to_user() takes care of sanity checking. Signed-off-by: Johan Hovold --- drivers/tty/rocket.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/tty/rocket.c b/drivers/tty

[PATCH 1/3] tty: amiserial: fix invalid user-pointer check

2016-11-08 Thread Johan Hovold
Drop invalid user-pointer check from TIOCGSERIAL handler. A NULL-pointer can be valid in user space and copy_to_user() takes care of sanity checking. Signed-off-by: Johan Hovold --- drivers/tty/amiserial.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/tty/amiserial.c b/drivers/tt

[PATCH 3/3] serial: crisv10: fix invalid user-pointer check

2016-11-08 Thread Johan Hovold
Drop invalid user-pointer check from TIOCGSERIAL handler. A NULL-pointer can be valid in user space and copy_to_user() takes care of sanity checking. Cc: Mikael Starvik Cc: Jesper Nilsson Cc: linux-cris-ker...@axis.com Signed-off-by: Johan Hovold --- drivers/tty/serial/crisv10.c | 2 -- 1 fil

[PATCH 0/3] Add howto.rst Korean translation into build system

2016-11-08 Thread SeongJae Park
This patchset does - fix trivial document build warnings, - move translations into translations/ subdirectory, and - insert howto.rst Korean translation into document build system. It is based on linux-next for 20161108 and patches[0] for the translation. [0] https://www.spinics.net/lists/kernel

[PATCH 3/3] Documentation: Add HOWTO Korean translation into rst based build system

2016-11-08 Thread SeongJae Park
This commit adds Korean translation of HOWTO document into rst based documentation build system. Signed-off-by: SeongJae Park --- Documentation/index.rst | 8 Documentation/translations/ko_KR/{HOWTO => howto.rst} | 0 Documentation/translations/ko_KR/inde

[PATCH] USB: serial: fix invalid user-pointer checks

2016-11-08 Thread Johan Hovold
Drop invalid user-pointer checks from ioctl handlers. A NULL-pointer can be valid in user space and copy_to_user() takes care of sanity checking. Signed-off-by: Johan Hovold --- drivers/usb/serial/ftdi_sio.c | 5 - drivers/usb/serial/io_edgeport.c | 3 --- drivers/usb/serial/io

[PATCH 1/3] docs/driver-api: Apply changed source file names

2016-11-08 Thread SeongJae Park
Few files under dma-buf/ changed their names but the changes didn't applied to a document that referencing them. It is causing few documentation build warnings. This commit fixes the problems by applying changed file names on the document. Signed-off-by: SeongJae Park --- Documentation/driver-

[PATCH RESEND 1/2] platform/chrome: cros_ec_lpc: Add R/W helpers to LPC protocol variants

2016-11-08 Thread Thierry Escande
From: Shawn Nematbakhsh Call common functions for read / write to prepare support for future LPC protocol variants which use different I/O ops than inb / outb. Signed-off-by: Shawn Nematbakhsh Signed-off-by: Gwendal Grignou Signed-off-by: Guenter Roeck Signed-off-by: Thierry Escande --- dri

[PATCH 2/3] Documentation: Move translations into a sub-directory

2016-11-08 Thread SeongJae Park
Signed-off-by: SeongJae Park --- Documentation/{ => translations}/ja_JP/HOWTO | 0 Documentation/{ => translations}/ja_JP/SubmitChecklist | 0 Documentation/{ => translations}/ja_JP/SubmittingPatches | 0 Documentation/{ => translations}/ja_

[PATCH RESEND 0/2] platform/chrome: Add support for mec1322 EC

2016-11-08 Thread Thierry Escande
Hi, This serie adds support for the LPC Microchip Embedded Controller 1322. Shawn Nematbakhsh (2): platform/chrome: cros_ec_lpc: Add R/W helpers to LPC protocol variants platform/chrome: cros_ec_lpc: Add support for mec1322 EC drivers/platform/chrome/Kconfig | 9 ++ drivers/plat

[PATCH RESEND 2/2] platform/chrome: cros_ec_lpc: Add support for mec1322 EC

2016-11-08 Thread Thierry Escande
From: Shawn Nematbakhsh This adds support for the ChromeOS LPC Microchip Embedded Controller (mec1322) variant. mec1322 accesses I/O region [800h, 9ffh] through embedded memory interface (EMI) rather than LPC. Signed-off-by: Shawn Nematbakhsh Signed-off-by: Gwendal Grignou Signed-off-by: Guen

Re: [PATCH 4/6] ARM: dts: add basic support for Rockchip RK1108 SOC

2016-11-08 Thread Andy Yan
Hi Heiko: On 2016年11月04日 16:00, Heiko Stuebner wrote: Am Donnerstag, 3. November 2016, 20:40:48 CET schrieb Andy Yan: RK1108 is embedded with an ARM Cortex-A7 single core and a DSP core. It is designed for varies application scenario such as car DVR, sports DV, secure camera and UAV camera. T

Re: [PATCH 2/2][RFC v6] PM / sleep: save/restore RTC time after resumed if pm_trace enabled

2016-11-08 Thread Chen Yu
Hi all, On Tue, Nov 08, 2016 at 05:02:14PM +0800, Chen Yu wrote: > Previously the bogus CMOS RTC sleep time has been ignored if pm_trace > is enabled, however once the system successfully resumed back, > any further read to CMOS RTC would return an error. Actually it is > more user-friendly to br

[PATCH v4 1/8] iio:core: add a callback to allow drivers to provide _available attributes

2016-11-08 Thread Peter Rosin
From: Jonathan Cameron A large number of attributes can only take a limited range of values. Currently in IIO this is handled by directly registering additional *_available attributes thus providing this information to userspace. It is desirable to provide this information via the core for much

[PATCH v4 5/8] dt-bindings: iio: document dpot-dac bindings

2016-11-08 Thread Peter Rosin
Acked-by: Rob Herring Signed-off-by: Peter Rosin --- .../devicetree/bindings/iio/dac/dpot-dac.txt | 41 ++ MAINTAINERS| 6 2 files changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/dac/dpot-

[PATCH v4 8/8] iio: envelope-detector: ADC driver based on a DAC and a comparator

2016-11-08 Thread Peter Rosin
The DAC is used to find the peak level of an alternating voltage input signal by a binary search using the output of a comparator wired to an interrupt pin. Like so: _ | \ input +-->---|+ \ | \ .---

Re: [PATCH 1/2][RFC v6] timekeeping: Ignore the bogus sleep time if pm_trace is enabled

2016-11-08 Thread Chen Yu
On Tue, Nov 08, 2016 at 05:01:35PM +0800, Chen Yu wrote: > From: Thomas Gleixner > > Previously we encountered some memory overflow issues due to > the bogus sleep time brought by inconsistent rtc, which is > triggered when pm_trace is enabled, and we have fixed it > in recent kernel. However it'

Re: net/sunrpc/clnt.c:2773 suspicious rcu_dereference_check() usage!

2016-11-08 Thread Anna Schumaker
On 11/08/2016 07:09 AM, Jeff Layton wrote: > On Tue, 2016-11-08 at 06:53 -0500, Jeff Layton wrote: >> On Mon, 2016-11-07 at 22:42 -0700, Ross Zwisler wrote: >>> >>> I've got a virtual machine that has some NFS mounts, and with a newly >>> compiled >>> kernel based on v4.9-rc3 I see the following w

Re: [PATCH v7 0/3] drm: add explict fencing

2016-11-08 Thread Daniel Vetter
On Tue, Nov 08, 2016 at 11:45:51AM +, Chris Wilson wrote: > On Tue, Nov 08, 2016 at 12:32:56PM +0100, Daniel Vetter wrote: > > On Tue, Nov 08, 2016 at 10:35:08AM +, Chris Wilson wrote: > > > On Tue, Nov 08, 2016 at 03:54:47PM +0900, Gustavo Padovan wrote: > > > > From: Gustavo Padovan > >

Re: [PATCH v7 0/3] drm: add explict fencing

2016-11-08 Thread Christian König
Am 08.11.2016 um 12:45 schrieb Chris Wilson: On Tue, Nov 08, 2016 at 12:32:56PM +0100, Daniel Vetter wrote: On Tue, Nov 08, 2016 at 10:35:08AM +, Chris Wilson wrote: On Tue, Nov 08, 2016 at 03:54:47PM +0900, Gustavo Padovan wrote: From: Gustavo Padovan Hi, This is yet another version of

[RFC] base: soc: Add few more soc details in soc attribute

2016-11-08 Thread Imran Khan
The commit adds three more fields in the generic soc attribute structure. The vendor field provides information about SoC vendor, it may be argued that vendor is more or less conveying the same information as family but nonetheless there is nothing preventing two vendors from having similar family

Re: [PATCH 3/3] serial: crisv10: fix invalid user-pointer check

2016-11-08 Thread Jesper Nilsson
On Tue, Nov 08, 2016 at 01:24:55PM +0100, Johan Hovold wrote: > Drop invalid user-pointer check from TIOCGSERIAL handler. > > A NULL-pointer can be valid in user space and copy_to_user() takes care > of sanity checking. > > Cc: Mikael Starvik Acked-by: Jesper Nilsson > Cc: linux-cris-ker...@a

Re: [PATCH v7 0/3] drm: add explict fencing

2016-11-08 Thread Chris Wilson
On Tue, Nov 08, 2016 at 01:43:40PM +0100, Daniel Vetter wrote: > On Tue, Nov 08, 2016 at 11:45:51AM +, Chris Wilson wrote: > > On Tue, Nov 08, 2016 at 12:32:56PM +0100, Daniel Vetter wrote: > > > On Tue, Nov 08, 2016 at 10:35:08AM +, Chris Wilson wrote: > > > > On Tue, Nov 08, 2016 at 03:54

Re: [PATCH v7 0/3] drm: add explict fencing

2016-11-08 Thread Daniel Vetter
On Tue, Nov 08, 2016 at 01:44:34PM +0100, Christian König wrote: > Am 08.11.2016 um 12:45 schrieb Chris Wilson: > > On Tue, Nov 08, 2016 at 12:32:56PM +0100, Daniel Vetter wrote: > > > On Tue, Nov 08, 2016 at 10:35:08AM +, Chris Wilson wrote: > > > > On Tue, Nov 08, 2016 at 03:54:47PM +0900, Gu

[PATCH/RFC v2] z3fold: use per-page read/write lock

2016-11-08 Thread Vitaly Wool
Most of z3fold operations are in-page, such as modifying z3fold page header or moving z3fold objects within a page. Taking per-pool spinlock to protect per-page objects is therefore suboptimal, and the idea of having a per-page spinlock (or rwlock) has been around for some time. However, adding one

[PATCH] get_maintainer: Correct erroneous spaces.

2016-11-08 Thread Tetsuo Handa
Replace \xA0 introduced by error by "get_maintainer: look for arbitrary letter prefixes in sections" with \x20. Signed-off-by: Tetsuo Handa --- scripts/get_maintainer.pl | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/get_maintainer.pl b/scripts/get_maintai

Re: [PATCH 4/8] writeback: track if we're sleeping on progress in balance_dirty_pages()

2016-11-08 Thread Jan Kara
On Tue 01-11-16 15:08:47, Jens Axboe wrote: > Note in the bdi_writeback structure whenever a task ends up sleeping > waiting for progress. We can use that information in the lower layers > to increase the priority of writes. > > Signed-off-by: Jens Axboe The patch looks good to me. You can add:

Re: [PATCH] ARM: tegra: nyan: Mark all USB ports as host

2016-11-08 Thread Paul Kocialkowski
Le mardi 08 novembre 2016 à 11:09 +, Jon Hunter a écrit : > On 08/11/16 11:07, Thierry Reding wrote: > > > > * PGP Signed by an unknown key > > > > On Tue, Nov 08, 2016 at 09:47:42AM +, Jon Hunter wrote: > > > > > > > > > On 08/11/16 08:54, Peter De Schrijver wrote: > > > > > > > > On

Re: [PATCHv3 1/8] powerpc/vdso: unify return paths in setup_additional_pages

2016-11-08 Thread Dmitry Safonov
On 11/08/2016 03:10 AM, Michael Ellerman wrote: Hi Dmitry, Thanks for the patches. Dmitry Safonov writes: Impact: cleanup I'm not a fan of these "Impact" lines, especially when they're not correct, ie. this is not a cleanup, a cleanup doesn't change logic. Rename `rc' variable which doesn

Re: [PATCHv3 0/8] powerpc/mm: refactor vDSO mapping code

2016-11-08 Thread Dmitry Safonov
On 11/08/2016 02:57 AM, Michael Ellerman wrote: Dmitry Safonov <0x7f454...@gmail.com> writes: 2016-10-27 20:09 GMT+03:00 Dmitry Safonov : ping? There's another series doing some similar changes: http://www.spinics.net/lists/linux-mm/msg115860.html Well, that version makes arch_mremap hook

[PATCH 3/4] perf hist browser: Fix column indentation on --hierarchy

2016-11-08 Thread Namhyung Kim
When horizontall scrolling is used in hierarchy mode, the the right most column has unnecessary indentation. Actually it's needed only if some of left (overhead) columns were shown. Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 19 +-- 1 file changed, 13 inser

[PATCH 1/4] perf hist browser: Fix indentation of folded sign on --hierarchy

2016-11-08 Thread Namhyung Kim
It should indent 2 spaces for folded sign and a whitespace. Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/perf/ui/browsers/hists.c b/tools/perf/ui/browsers/hists.c index 84f5dd2fb59c..fe5677ccbc22 10

[PATCH 0/4] perf tools: Assorted fixes for hierarchy mode

2016-11-08 Thread Namhyung Kim
Hello, This patches fix problems in hierarchy output Markus reported some time ago. The code is available on the 'perf/hierarchy-fix-v1' branch in my tree: git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git Any feedbacks are welcomed. Thanks, Namhyung Cc: Markus Trippels

[PATCH 4/4] perf hists: Fix column length on --hierarchy

2016-11-08 Thread Namhyung Kim
Markus reported that there's a weird behavior on perf top --hierarch regarding the column length. Looking at the code, I found a debious code which affects the symtoms. When --hierarchy option is used, the last column length might be inaccurate since it skips to update the length on leaf entries.

Re: [PATCH v3 3/4] ptp_clock: allow for it to be optional

2016-11-08 Thread Edward Cree
On 07/11/16 22:14, Nicolas Pitre wrote: > In order to break the hard dependency between the PTP clock subsystem and > ethernet drivers capable of being clock providers, this patch provides > simple PTP stub functions to allow linkage of those drivers into the > kernel even when the PTP subsystem is

[PATCH 2/4] perf hist browser: Show folded sign properly on --hierarchy

2016-11-08 Thread Namhyung Kim
When horizontall scrolling is used in hierarchy mode, the folded signed disappears at the right most column. Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/perf/ui/browsers/hists.c b/tools/perf/u

[PATCH] net: ethernet: ti: davinci_cpdma: fix fixed prio cpdma ctlr configuration

2016-11-08 Thread Ivan Khoronzhuk
The dma ctlr is reseted to 0 while cpdma start, thus cpdma ctlr cannot be configured after cpdma is stopped. So, restore content of cpdma ctlr while off/on procedure. Based on net-next/master Signed-off-by: Ivan Khoronzhuk --- drivers/net/ethernet/ti/cpsw.c | 6 +- drivers/net/ethern

Re: panic at rb_next when do pick_next_task_fair

2016-11-08 Thread Peter Zijlstra
On Tue, Nov 08, 2016 at 05:52:03PM +0800, 蒋雄伟(蒋冲) wrote: > Hi,all > > We encountered the following panic in 2.6.32 and 3.10.0: Can you reproduce using anything recent? I've really no idea what any of those kernels looked like. That's ancient software.

Re: [PATCH] perf/x86: Fix overlap counter scheduling bug

2016-11-08 Thread Jiri Olsa
On Tue, Nov 08, 2016 at 01:20:39PM +0100, Peter Zijlstra wrote: SNIP > Now, I would much rather solve this by changing the constraint like the > below, that yields: > > 0x01 - 0001 > 0x03 - 0011 > > 0x0c - 1100 > > Which is two distinct groups, only one of which has overlap. And the one > w

Re: [PATCH v7 3/3] drm/fence: add out-fences support

2016-11-08 Thread Daniel Vetter
On Tue, Nov 08, 2016 at 03:54:50PM +0900, Gustavo Padovan wrote: > From: Gustavo Padovan > > Support DRM out-fences by creating a sync_file with a fence for each CRTC > that sets the OUT_FENCE_PTR property. > > We use the out_fence pointer received in the OUT_FENCE_PTR prop to send > the sync_fi

[PATCH] net: ethernet: ti: davinci_cpdma: free memory while channel destroy

2016-11-08 Thread Ivan Khoronzhuk
While create/destroy channel operation memory is not freed. It was supposed that memory is freed while driver remove. But a channel can be created and destroyed many times while changing number of channels with ethtool. Based on net-next/master Signed-off-by: Ivan Khoronzhuk --- drivers/net/eth

Re: [PATCH 0/4] x86: enable User-Mode Instruction Prevention

2016-11-08 Thread Peter Zijlstra
On Mon, Nov 07, 2016 at 10:12:09PM -0800, Ricardo Neri wrote: > There is a caveat, however. Certain applications running in virtual-8086 > mode, such as DOSEMU[1] and Wine[2], want to utilize the SGDT, SIDT and > SLDT instructions for legitimate reasons. In order to keep such > applications working

Re: [PATCH v7 0/3] drm: add explict fencing

2016-11-08 Thread Daniel Vetter
On Tue, Nov 08, 2016 at 03:54:47PM +0900, Gustavo Padovan wrote: > From: Gustavo Padovan > > Hi, > > This is yet another version of the DRM fences patches. Please refer > to the cover letter[1] in a previous version to check for more details. > > In v7 we now have split most of the out_fences c

Re: [PATCH 0/4] perf tools: Assorted fixes for hierarchy mode

2016-11-08 Thread Markus Trippelsdorf
On 2016.11.08 at 22:08 +0900, Namhyung Kim wrote: > Hello, > > This patches fix problems in hierarchy output Markus reported some > time ago. The code is available on the 'perf/hierarchy-fix-v1' branch > in my tree: > > git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git > >

revert 05fd007e46296afb (was: [PATCH v3] console: use first console if stdout-path device doesn't appear)

2016-11-08 Thread Sergey Senozhatsky
Hello Andrew, (just in case) please revert 'commit 05fd007e46296afb24 ("console: don't prefer first registered if DT specifies stdout-path")' -ss

Re: [PATCH v2] HID: udraw: Add support for the uDraw tablet for PS3

2016-11-08 Thread Jiri Kosina
On Fri, 4 Nov 2016, Bastien Nocera wrote: > This adds support for the THQ uDraw tablet for the PS3, as > 4 separate device nodes, so that user-space can easily consume > events coming from the hardware. > > Note that the touchpad two-finger support is fairly unreliable, > and a right-click can on

Re: [PATCH 2/6] mm: mark all calls into the vmalloc subsystem as potentially sleeping

2016-11-08 Thread Joel Fernandes
On Wed, Oct 19, 2016 at 4:15 AM, Chris Wilson wrote: > On Tue, Oct 18, 2016 at 08:56:07AM +0200, Christoph Hellwig wrote: >> This is how everyone seems to already use them, but let's make that >> explicit. > > Ah, found an exception, vmapped stacks: > > [ 696.928541] BUG: sleeping function called

Re: linux-next: manual merge of the tip tree with the drm-intel tree

2016-11-08 Thread Peter Zijlstra
On Tue, Nov 08, 2016 at 11:44:03AM +0100, Daniel Vetter wrote: > On Tue, Nov 08, 2016 at 03:25:41PM +1100, Stephen Rothwell wrote: > > Hi all, > > > > FIXME: Add owner of second tree to To: > >Add author(s)/SOB of conflicting commits. > > > > Today's linux-next merge of the tip tree got a

Re: [PATCH 4/6] ARM: dts: add basic support for Rockchip RK1108 SOC

2016-11-08 Thread Heiko Stübner
Am Dienstag, 8. November 2016, 20:31:55 schrieb Andy Yan: > Hi Heiko: > > On 2016年11月04日 16:00, Heiko Stuebner wrote: > > Am Donnerstag, 3. November 2016, 20:40:48 CET schrieb Andy Yan: > >> + gic: interrupt-controller@3201 { > >> + compatible = "arm,cortex-a15-gic"; > > > > compat

Re: [PATCH] clk: rockchip: validity should be checked prior to clock rate change

2016-11-08 Thread Heiko Stübner
Hi Elaine, Am Dienstag, 8. November 2016, 17:10:14 schrieb Elaine Zhang: > If validity is not checked prior to clock rate change, clk_set_rate( > cpu_clk, unsupported_rate) will return success, but the real clock rate > change operation is prohibited in post clock change event. Alough post > clock

Re: [PATCH 2/2] pinctrl: tegra: Add driver to configure voltage and power of io pads

2016-11-08 Thread Linus Walleij
On Tue, Nov 8, 2016 at 11:20 AM, Laxman Dewangan wrote: > On Tuesday 08 November 2016 03:45 PM, Linus Walleij wrote: >> If you can *actually* change the volatage, it needs to be modeled >> as a (fixed voltage?) regulator, not as a custom property for the pin >> control attributes. I guess you def

[PATCH 1/2] [net-next] udp: provide udp{4,6}_lib_lookup for nf_socket_ipv{4,6}

2016-11-08 Thread Arnd Bergmann
Since commit ca065d0cf80f ("udp: no longer use SLAB_DESTROY_BY_RCU") the udp6_lib_lookup and udp4_lib_lookup functions are only provided when it is actually possible to call them. However, moving the callers now caused a link error: net/built-in.o: In function `nf_sk_lookup_slow_v6': (.text+0x131

Re: [PATCH v2] HID: udraw: Add support for the uDraw tablet for PS3

2016-11-08 Thread Bastien Nocera
On Tue, 2016-11-08 at 14:23 +0100, Jiri Kosina wrote: > On Fri, 4 Nov 2016, Bastien Nocera wrote: > > > This adds support for the THQ uDraw tablet for the PS3, as > > 4 separate device nodes, so that user-space can easily consume > > events coming from the hardware. > >  > > Note that the touchpad

[PATCH v6 0/7] Exynos IOMMU: proper runtime PM support (use device dependencies)

2016-11-08 Thread Marek Szyprowski
Hello, This is another update of the patchset for adding proper runtime PM support to Exynos IOMMU driver. This has been achieved by using recently introduced device links, which lets SYSMMU controller's runtime PM to follow master's device runtime PM state (the device which actually performs DMA

[PATCH] lib/stackdepot: Export save/fetch stack for drivers

2016-11-08 Thread Chris Wilson
Some drivers would like to record stacktraces in order to aide leak tracing. As stackdepot already provides a facility for only storing the unique traces, thereby reducing the memory required, export that functionality for use by drivers. The code was originally created for KASAN and moved under l

[PATCH v6 6/7] iommu/exynos: Add runtime pm support

2016-11-08 Thread Marek Szyprowski
This patch adds runtime pm implementation, which is based on previous suspend/resume code. SYSMMU controller is now being enabled/disabled mainly from the runtime pm callbacks. System sleep callbacks relies on generic pm_runtime_force_suspend/pm_runtime_force_resume helpers. To ensure internal stat

[PATCH v6 2/7] iommu/exynos: Remove dead code

2016-11-08 Thread Marek Szyprowski
__sysmmu_enable/disable functions were designed to do ref-count based operations, but current code always calls them only once, so the code for checking the conditions and invalid conditions can be simply removed without any influence to the driver operation. Signed-off-by: Marek Szyprowski ---

[PATCH v6 3/7] iommu/exynos: Simplify internal enable/disable functions

2016-11-08 Thread Marek Szyprowski
Remove remaining leftovers of the ref-count related code in the __sysmmu_enable/disable functions inline __sysmmu_enable/disable_nocount to them. Suspend/resume callbacks now checks if master device is set for given SYSMMU controller instead of relying on the activation count. Signed-off-by: Marek

[PATCH v6 4/7] iommu/exynos: Set master device once on boot

2016-11-08 Thread Marek Szyprowski
To avoid possible races, set master device pointer in each SYSMMU controller once on boot. Suspend/resume callbacks now properly relies on the configured iommu domain to enable or disable SYSMMU controller. While changing the code, also update the sleep debug messages and make them conditional. Si

[PATCH v6 5/7] iommu/exynos: Rework and fix internal locking

2016-11-08 Thread Marek Szyprowski
This patch reworks locking in the exynos_iommu_attach/detach_device functions to ensure that all entries of the sysmmu_drvdata and exynos_iommu_owner structure are updated under the respective spinlocks, while runtime pm functions are called without any spinlocks held. Signed-off-by: Marek Szyprow

[PATCH v6 1/7] iommu/exynos: Remove excessive, useless debug

2016-11-08 Thread Marek Szyprowski
Remove excessive, useless debug about skipping TLB invalidation, which is a normal situation when more aggressive power management is enabled. Signed-off-by: Marek Szyprowski --- drivers/iommu/exynos-iommu.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/iommu/exynos-iommu.c b/dri

[PATCH 2/2] [nf-next] netfilter: fix NF_REPEAT handling

2016-11-08 Thread Arnd Bergmann
gcc correctly identified a theoretical uninitialized variable use: net/netfilter/nf_conntrack_core.c: In function 'nf_conntrack_in': net/netfilter/nf_conntrack_core.c:1125:14: error: 'l4proto' may be used uninitialized in this function [-Werror=maybe-uninitialized] This could only happen when we

Re: [PATCH] gpio: davinci: Use unique labels for each gpio chip

2016-11-08 Thread Linus Walleij
On Thu, Nov 3, 2016 at 12:34 PM, Axel Haslam wrote: > The gpiod framework uses the chip label to match a specific chip. > The davinci gpio driver, creates several chips using always the same > label, which is not compatible with gpiod. > > To allow platform data to declare gpio lookup tables, and

[PATCH v3 2/2] cpufreq: powernv: Use PMCR to verify global and local pstate

2016-11-08 Thread Akshay Adiga
As fast_switch() may get called with interrupt disable mode, we cannot hold a mutex to update the global_pstate_info. So currently, fast_switch() does not update the global_pstate_info and it will end up with stale data whenever pstate is updated through fast_switch(). As the gpstate_timer can fir

[PATCH] net: mii: report 0 for unknown lp_advertising

2016-11-08 Thread Arnd Bergmann
The newly introduced mii_ethtool_get_link_ksettings function sets lp_advertising to an uninitialized value when BMCR_ANENABLE is not set: drivers/net/mii.c: In function 'mii_ethtool_get_link_ksettings': drivers/net/mii.c:224:2: error: 'lp_advertising' may be used uninitialized in this function [-

[PATCH v6 7/7] iommu/exynos: Use device dependency links to control runtime pm

2016-11-08 Thread Marek Szyprowski
This patch uses recently introduced device dependency links to track the runtime pm state of the master's device. The goal is to let SYSMMU controller device's runtime PM to follow the runtime PM state of the respective master's device. This way each SYSMMU controller is active only when its master

[PATCH v3 1/2] cpufreq: powernv: Adding fast_switch for schedutil

2016-11-08 Thread Akshay Adiga
Adding fast_switch which does light weight operation to set the desired pstate. Both global and local pstates are set to the same desired pstate. Signed-off-by: Akshay Adiga Reviewed-by: Gautham R. Shenoy Acked-by: Viresh Kumar --- Changes from v2 : - No changes. Changes from v1 : - Removed unn

[Xen PATCH] xen-netback: fix error handling output

2016-11-08 Thread Arnd Bergmann
The connect function prints an unintialized error code after an earlier initialization was removed: drivers/net/xen-netback/xenbus.c: In function 'connect': drivers/net/xen-netback/xenbus.c:938:3: error: 'err' may be used uninitialized in this function [-Werror=maybe-uninitialized] This prints i

Re: [PATCH v3 0/3] dmaengine: DW DMAC: split pdata to hardware properties

2016-11-08 Thread Andy Shevchenko
On Tue, 2016-11-08 at 12:22 +, Eugeniy Paltsev wrote: > On Mon, 2016-11-07 at 15:55 +0200, Andy Shevchenko wrote:   > > > + * @only_quirks_used: Only read quirks (like "is_private" or > > > "is_memcpy") from > > > + * platform data structure. Read other parameters from > > > device > > >

<    1   2   3   4   5   6   7   8   9   10   >