Re: [RFC V2 03/12] mm: Change generic FALLBACK zonelist creation process

2017-01-31 Thread Anshuman Khandual
On 01/31/2017 07:27 AM, Dave Hansen wrote: > On 01/30/2017 05:36 PM, Anshuman Khandual wrote: >>> Let's say we had a CDM node with 100x more RAM than the rest of the >>> system and it was just as fast as the rest of the RAM. Would we still >>> want it isolated like this? Or would we want a

Re: [RFC V2 03/12] mm: Change generic FALLBACK zonelist creation process

2017-01-31 Thread Anshuman Khandual
On 01/31/2017 12:55 PM, John Hubbard wrote: > On 01/30/2017 05:57 PM, Dave Hansen wrote: >> On 01/30/2017 05:36 PM, Anshuman Khandual wrote: Let's say we had a CDM node with 100x more RAM than the rest of the system and it was just as fast as the rest of the RAM. Would we still

Re: [PATCH v5 1/4] mm/migration: make isolate_movable_page() return int type

2017-01-31 Thread Minchan Kim
Hi Yisheng, On Tue, Jan 31, 2017 at 09:06:18PM +0800, ys...@foxmail.com wrote: > From: Yisheng Xie > > This patch changes the return type of isolate_movable_page() > from bool to int. It will return 0 when isolate movable page > successfully, return -EINVAL when the page is not a non-lru

RE: kernel 4.10-rcx iio helper question

2017-01-31 Thread Jonathan Cameron
On 1 February 2017 00:42:31 GMT+00:00, "Ken.Lin" wrote: > > >> -Original Message- >> From: Peter Rosin [mailto:p...@axentia.se] >> Sent: Tuesday, January 31, 2017 1:10 PM >> To: Ken.Lin; ji...@kernel.org >> Cc: knaac...@gmx.de; pme...@pmeerw.net; linux-...@vger.kernel.org; >linux- >>

Re: remove the cmd_type field from struct request

2017-01-31 Thread Hannes Reinecke
On 01/31/2017 07:02 PM, Jens Axboe wrote: On 01/31/2017 07:57 AM, Christoph Hellwig wrote: [1] which were a pain in the ass to untangle and debug during development, it's really time for it to die.. Outside of the patch series in question, how to we expedite the euthanasia of IDE? What

Re: [RFC V2 03/12] mm: Change generic FALLBACK zonelist creation process

2017-01-31 Thread Anshuman Khandual
On 01/31/2017 11:34 PM, Dave Hansen wrote: > On 01/30/2017 11:25 PM, John Hubbard wrote: >> I also don't like having these policies hard-coded, and your 100x >> example above helps clarify what can go wrong about it. It would be >> nicer if, instead, we could better express the "distance" between

Re: [PATCH v2 1/4] perf tools: Create for_each_event macro for tracepoints iteration

2017-01-31 Thread Taeung Song
Hi, Arnaldo :) On 01/31/2017 09:21 PM, Arnaldo Carvalho de Melo wrote: Em Tue, Jan 31, 2017 at 08:38:28PM +0900, Taeung Song escreveu: Such as for_each_subsystem and for_each_event in util/parse-events.c, add new macros 'for_each_event' for easy iteration over the tracepoints in order to be

Re: [PATCH 1/2] ARM: dts: i.MX25: add AIPS control registers

2017-01-31 Thread Sascha Hauer
On Tue, Jan 31, 2017 at 08:20:01PM +0100, Martin Kaiser wrote: > The i.MX25 contains two AHB to IP bridges (AIPS), each of which has a set of > control registers. Add the memory regions for the control registers to > the Device Tree. > > All the registers from the i.MX53 AIPSTZ are present on the

Re: [PATCH v2 2/4] perf ftrace: Add ftrace.tracer config option

2017-01-31 Thread Taeung Song
On 01/31/2017 10:15 PM, Arnaldo Carvalho de Melo wrote: Em Tue, Jan 31, 2017 at 09:46:28AM -0300, Arnaldo Carvalho de Melo escreveu: Also you are silently ignoring any unknown variable in this section, so if someone has this: cat ~/.perfconfig [ftrace] trace = function I.e.

Re: Staging: ks7010: clean up ks_hostif.h

2017-01-31 Thread Greg KH
On Tue, Jan 31, 2017 at 09:53:33PM -0800, Logan Gorence wrote: > >From 58defc62d53cb473f9d745127d98df834a10b321 Mon Sep 17 00:00:00 2001 > From: Logan Gorence > Date: Tue, 31 Jan 2017 21:51:05 -0800 > Subject: [PATCH] Staging: ks7010: clean up ks_hostif.h Why is this all here in the body of your

Re: [PATCH 4.9 00/66] 4.9.7-stable review

2017-01-31 Thread Greg Kroah-Hartman
On Tue, Jan 31, 2017 at 03:06:08PM -0700, Shuah Khan wrote: > On 01/30/2017 10:36 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.7 release. > > There are 66 patches in this series, all will be posted as a response > > to this one. If anyone has any

linux-next: Tree for Feb 1

2017-01-31 Thread Stephen Rothwell
Hi all, Changes since 20170131: Dropped tree: vfs-miklos (build failure and out of date) The vfs-miklos tree still had its build failure, so I just dropped it again for today. The v4l-dvb tree still had its build failure so I used the version from next-20170130. The net-next tree gained

Re: [PATCH 4/7] drm/exynos/hdmi: add bridge support

2017-01-31 Thread Inki Dae
2017년 01월 20일 15:52에 Andrzej Hajda 이(가) 쓴 글: > In some platforms there is attached another device to the end of HDMI. > The patch adds support for it. Andrzej, can you clarify what bridge device can be attached and actually is now attached to the end of HDMI? And I wonder if we have the device

Re: [RFC] cpuset: Enable changing of top_cpuset's mems_allowed nodemask

2017-01-31 Thread Anshuman Khandual
On 01/31/2017 09:30 PM, Mel Gorman wrote: > On Tue, Jan 31, 2017 at 07:52:37PM +0530, Anshuman Khandual wrote: >> At present, top_cpuset.mems_allowed is same as node_states[N_MEMORY] and it >> cannot be changed at the runtime. Maximum possible node_states[N_MEMORY] >> also gets reflected in

Re: Fwd: Re: [tpmdd-devel] [PATCH v9 2/2] tpm: add securityfs support,for TPM 2.0 firmware event log

2017-01-31 Thread Nayna
On 02/01/2017 02:20 AM, Jarkko Sakkinen wrote: On Wed, Feb 01, 2017 at 12:14:12AM +0530, Nayna wrote: I already sent my pull request to 4.11 and even today I found something fishy. You declared a function local array by using a variable in "tpm: enhance TPM 2.0 PCR extend to support multiple

Re: [PATCH 4/7] drm/exynos/hdmi: add bridge support

2017-01-31 Thread Andrzej Hajda
On 01.02.2017 08:31, Inki Dae wrote: > > 2017년 01월 20일 15:52에 Andrzej Hajda 이(가) 쓴 글: >> In some platforms there is attached another device to the end of HDMI. >> The patch adds support for it. > Andrzej, can you clarify what bridge device can be attached and actually is > now attached to the end

Re: [PATCH 4/7] drm/exynos/hdmi: add bridge support

2017-01-31 Thread Inki Dae
2017년 02월 01일 16:34에 Andrzej Hajda 이(가) 쓴 글: > On 01.02.2017 08:31, Inki Dae wrote: >> >> 2017년 01월 20일 15:52에 Andrzej Hajda 이(가) 쓴 글: >>> In some platforms there is attached another device to the end of HDMI. >>> The patch adds support for it. >> Andrzej, can you clarify what bridge device can

Re: [PATCH v3 1/8] ASoC: sun4i-i2s: Update binding documentation to include A31

2017-01-31 Thread Mylene Josserand
and resend. I based my series on linux-next 20170131. Which one I should use? Thank you in advance, Best regards, -- Mylène Josserand, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com

[PATCH v9 0/3] Add support for the S6E3HA2 panel on TM2 board

2017-01-31 Thread Hoegeun Kwon
Changes for V9: - Fixed the te-gpio to optional in bindings Changes for V8: - Applied below two patches: (drm/exynos) : drm/exynos: mic: Add mode_set callback function : drm/exynos: mic: Fix parse_dt function - The dt-binding patch and driver patch were divided. - Rebase these patches on

[PATCH v9 2/3] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2017-01-31 Thread Hoegeun Kwon
This patch add support for MIPI-DSI based S6E3HA2 AMOLED panel driver. This panel has 1440x2560 resolution in 5.7-inch physical panel in the TM2 device. Signed-off-by: Donghwa Lee Signed-off-by: Hyungwon Hwang Signed-off-by: Hoegeun Kwon Tested-by: Chanwoo Choi Reviewed-by: Andrzej Hajda ---

[PATCH v9 1/3] dt-bindings: Add support for samsung s6e3ha2 panel binding

2017-01-31 Thread Hoegeun Kwon
The Samsung s6e3ha2 is a 5.7" 1440x2560 AMOLED panel connected using MIPI-DSI interfaces. Signed-off-by: Donghwa Lee Signed-off-by: Hyungwon Hwang Signed-off-by: Hoegeun Kwon Reviewed-by: Andrzej Hajda Acked-by: Rob Herring --- .../bindings/display/panel/samsung,s6e3ha2.txt | 28

[PATCH v9 3/3] arm64: dts: exynos: Add support for S6E3HA2 panel device on TM2 board

2017-01-31 Thread Hoegeun Kwon
From: Hyungwon Hwang This patch add the panel device tree node for S6E3HA2 display controller to TM2 dts. Signed-off-by: Hyungwon Hwang Signed-off-by: Andrzej Hajda Signed-off-by: Chanwoo Choi Signed-off-by: Hoegeun Kwon Tested-by: Chanwoo Choi ---

Re: [GIT PULL] percpu fix for v4.10-rc6

2017-01-31 Thread David Howells
Linus Torvalds wrote: > The fact is, atomic_long_inc_not_zero() shouldn't be returning > anything with high bits.. Ummm... Why's that the case? If atomic_long_t can never exceed UINT_MAX, then why does it exist at all? David

[PATCH] powerpc: kprobes: fixes for kprobe_lookup_name on BE

2017-01-31 Thread Naveen N. Rao
Fix two issues with kprobes.h on BE which were exposed with the optprobes work: - one, having to do with a missing include for linux/module.h for MODULE_NAME_LEN -- this didn't show up previously since the only users of kprobe_lookup_name were in kprobes.c, which included linux/module.h through

Re: [PATCH v2 16/25] dt-bindings: power: supply: add AXP20X/AXP22X battery DT binding

2017-01-31 Thread Quentin Schulz
Hi, On 29/01/2017 17:47, Sebastian Reichel wrote: > Hi, > > On Fri, Jan 27, 2017 at 09:54:49AM +0100, Quentin Schulz wrote: >> - added x-powers,constant-charge-current property to set the >> maximal default constant current charge of the battery, > > Since this is information about the

RE: [PATCH v5 0/2] PM / devfreq: Change the device name on sysfs entry

2017-01-31 Thread MyungJoo Ham
>These patches change the name of sysfs entry for devfreq/devfreq-event device >as following: >- old >For devfreq, /sys/class/devfreq/[non-standard device name] >For devfreq-event, /sys/class/devfreq-event/event.(X) > >- new >For devfreq, /sys/class/devfreq/devfreq(X) >For devfreq-event,

Re: [PATCH 1/2] gpio: Rename devm_get_gpiod_from_child()

2017-01-31 Thread Boris Brezillon
On Mon, 30 Jan 2017 17:06:07 -0800 Dmitry Torokhov wrote: > On Mon, Jan 30, 2017 at 04:41:48PM +0100, Boris Brezillon wrote: > > Rename devm_get_gpiod_from_child() into > > devm_fwnode_get_gpiod_from_child() to reflect the fact that this > > function is operating on a fwnode object. > > I

Re: [tip:core/rcu] lockdep: Make RCU suspicious-access splats use pr_err

2017-01-31 Thread Dmitry Vyukov
On Tue, Jan 31, 2017 at 8:54 AM, tip-bot for Paul E. McKenney wrote: > Commit-ID: 4d4f88fa235f7f9ef8213564dc1804144332238b > Gitweb: http://git.kernel.org/tip/4d4f88fa235f7f9ef8213564dc1804144332238b > Author: Paul E. McKenney > AuthorDate: Sat, 5 Nov 2016 04:17:15 -0700 > Committer:

Re: WARNING: CPU: 1 PID: 15 at kernel/sched/sched.h:804 assert_clock_updated.isra.62.part.63+0x25/0x27

2017-01-31 Thread Mike Galbraith
On Tue, 2017-01-31 at 08:45 +0100, Ingo Molnar wrote: > * Mike Galbraith wrote: > > > On Tue, 2017-01-31 at 08:28 +0100, Ingo Molnar wrote: > > > * Mike Galbraith wrote: > > > > > > Weeell, I'll have to take your word for it, as tip g35669bb7fd46 grew > > > > an early boot brick problem. > > >

Re: [PATCH 1/4] dt-bindings: Add binding for brcm,bcm2835-sdhost.

2017-01-31 Thread Gerd Hoffmann
On Mo, 2017-01-30 at 22:37 +0100, Stefan Wahren wrote: > > Gerd Hoffmann hat am 27. Januar 2017 um 12:36 > > geschrieben: > > > > > > From: Eric Anholt > > > > This is the other SD controller on the platform, which can be swapped > > to the role of SD card host using pin muxing. > > AFAIK

Re: [PATCH 60/60] staging: lustre: libcfs: fix minimum size check for libcfs ioctl

2017-01-31 Thread Dan Carpenter
On Tue, Jan 31, 2017 at 02:25:22AM +, James Simmons wrote: > This sounds like a separate patch. I will open a ticket about this and > your comments below. There are a some other places that need a size requirement like LNetCtl(). It really feels like it should be a part of this patch because

Re: timerfd: use-after-free in timerfd_remove_cancel

2017-01-31 Thread Dmitry Vyukov
On Tue, Jan 31, 2017 at 3:06 AM, Mateusz Guzik wrote: > On Mon, Jan 30, 2017 at 07:41:59PM +0100, Dmitry Vyukov wrote: >> Hello, >> >> The following program triggers use-after-free in timerfd_remove_cancel: >>

mm: sleeping function called from invalid context shmem_undo_range

2017-01-31 Thread Dmitry Vyukov
Hello, I've got the following report while running syzkaller fuzzer on fd694aaa46c7ed811b72eb47d5eb11ce7ab3f7f1: BUG: sleeping function called from invalid context at mm/shmem.c:852 in_atomic(): 1, irqs_disabled(): 0, pid: 529, name: khugepaged 3 locks held by khugepaged/529: #0:

Re: [tip:sched/core] sched/core: Add debugging code to catch missing update_rq_clock() calls

2017-01-31 Thread Michael Ellerman
Matt Fleming writes: > On Tue, 31 Jan, at 08:24:53AM, Michael Ellerman wrote: >> >> I'm hitting this on multiple powerpc systems: >> >> [ 38.339126] rq->clock_update_flags < RQCF_ACT_SKIP >> [ 38.339134] [ cut here ] >> [ 38.339142] WARNING: CPU: 2 PID: 1 at

[PATCH] x86/mce: Make timer handling more robust

2017-01-31 Thread Thomas Gleixner
Erik reported that on a preproduction hardware a CMCI storm triggers the BUG_ON in add_timer_on(). The reason is that the per CPU MCE timer is started by the CMCI logic before the MCE cpu hotplug callback starts the timer with add_timer_on(). So the timer is already queued which triggers the BUG.

Re: ibmvtpm byteswapping inconsistency

2017-01-31 Thread Michael Ellerman
Tyrel Datwyler writes: > On 01/29/2017 08:32 PM, Michael Ellerman wrote: >> Tyrel Datwyler writes: >>> >>> Byte | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 >>> --- >>> Word0 | Valid | Type | Length|

Re: [PATCH -next] platform: x86: fix silead_dmi build error and depends

2017-01-31 Thread Hans de Goede
Hi, On 31-01-17 01:44, Randy Dunlap wrote: From: Randy Dunlap This driver cannot be built as a loadable module, so it should not be built unless I2C=y and INPUT=y. Fixes this build error: drivers/built-in.o: In function `silead_ts_dmi_init': silead_dmi.c:(.init.text+0xf00e): undefined

Re: [PATCH v2] drm: remove unnecessary fault wrappers

2017-01-31 Thread Daniel Vetter
On Mon, Jan 30, 2017 at 03:14:38PM -0700, Ross Zwisler wrote: > On Mon, Jan 30, 2017 at 03:09:39PM -0700, Ross Zwisler wrote: > > > This patch applies cleanly to mmots/master, which is currently at > > v4.10-rc5-mmots-2017-01-26-15-49. > > Which may not be what you want... The reason I was

Re: [PATCH V2 07/12] PM / OPP: Update OPP users to put reference

2017-01-31 Thread Viresh Kumar
On 31-01-17, 07:17, MyungJoo Ham wrote: > > This patch updates dev_pm_opp_find_freq_*() routines to get a reference > > to the OPPs returned by them. > > > > Also updates the users of dev_pm_opp_find_freq_*() routines to call > > dev_pm_opp_put() after they are done using the OPPs. > > > > As it

Re: [tip:core/rcu] lockdep: Make RCU suspicious-access splats use pr_err

2017-01-31 Thread Ingo Molnar
* Dmitry Vyukov wrote: > On Tue, Jan 31, 2017 at 8:54 AM, tip-bot for Paul E. McKenney > wrote: > > Commit-ID: 4d4f88fa235f7f9ef8213564dc1804144332238b > > Gitweb: > > http://git.kernel.org/tip/4d4f88fa235f7f9ef8213564dc1804144332238b > > Author: Paul E. McKenney > > AuthorDate:

Re: [PATCH 1/2] gpio: Rename devm_get_gpiod_from_child()

2017-01-31 Thread Dmitry Torokhov
On Tue, Jan 31, 2017 at 09:04:32AM +0100, Boris Brezillon wrote: > On Mon, 30 Jan 2017 17:06:07 -0800 > Dmitry Torokhov wrote: > > > On Mon, Jan 30, 2017 at 04:41:48PM +0100, Boris Brezillon wrote: > > > Rename devm_get_gpiod_from_child() into > > > devm_fwnode_get_gpiod_from_child() to reflect

Re: WARNING: CPU: 1 PID: 15 at kernel/sched/sched.h:804 assert_clock_updated.isra.62.part.63+0x25/0x27

2017-01-31 Thread Mike Galbraith
On Tue, 2017-01-31 at 08:28 +0100, Ingo Molnar wrote: > * Mike Galbraith wrote: > > > On Mon, 2017-01-30 at 11:59 +, Matt Fleming wrote: > > > On Sat, 28 Jan, at 08:21:05AM, Mike Galbraith wrote: > > > > Running Steven's hotplug stress script in tip.today. Config is > > > > NOPREEMPT, tune

Re: [PATCH] Input: synaptics-rmi4 - Fix reversed tests

2017-01-31 Thread Dmitry Torokhov
On Fri, Jan 27, 2017 at 06:18:27PM +0100, Benjamin Tissoires wrote: > On Jan 27 2017 or thereabouts, Christophe JAILLET wrote: > > These tests looks reversed. > > A warning should be displayed if an error is returned, not on success. > > > > Signed-off-by: Christophe JAILLET > > --- > > Good

Re: [PATCH v2] clk: add more managed APIs

2017-01-31 Thread Geert Uytterhoeven
Hi Günter, On Mon, Jan 30, 2017 at 11:51 PM, Guenter Roeck wrote: > On Mon, Jan 30, 2017 at 09:42:28PM +, Russell King - ARM Linux wrote: >> On Mon, Jan 30, 2017 at 11:22:14AM -0800, Guenter Roeck wrote: >> > Maybe the additional calls make sense; I can imagine they would. >> > However, I

Re: [PATCH 14/60] staging: lustre: lov: Ensure correct operation for large object sizes

2017-01-31 Thread Dan Carpenter
On Sat, Jan 28, 2017 at 07:04:42PM -0500, James Simmons wrote: > From: Nathaniel Clark > > If a backing filesystem (ZFS) returns that it supports very large > (LLONG_MAX) object sizes, that should be correctly supported. This > fixes the check for unitialized stripe_maxbytes in >

Re: [PATCH 21/60] staging: lustre: ptlrpc: correct use of list_add_tail()

2017-01-31 Thread Dan Carpenter
On Sat, Jan 28, 2017 at 07:04:49PM -0500, James Simmons wrote: > From: "John L. Hammond" > > In sptlrpc_gc_add_sec() swap the arguments to list_add_tail() so that > it does what we meant it to do. > Huh... This is from before lustre was merged into staging. What are the user visible effects

Re: WARNING: CPU: 1 PID: 15 at kernel/sched/sched.h:804 assert_clock_updated.isra.62.part.63+0x25/0x27

2017-01-31 Thread Ingo Molnar
* Mike Galbraith wrote: > On Tue, 2017-01-31 at 08:28 +0100, Ingo Molnar wrote: > > * Mike Galbraith wrote: > > > > > On Mon, 2017-01-30 at 11:59 +, Matt Fleming wrote: > > > > On Sat, 28 Jan, at 08:21:05AM, Mike Galbraith wrote: > > > > > Running Steven's hotplug stress script in

Re: [PATCH v8 2/3] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2017-01-31 Thread Thierry Reding
On Tue, Jan 31, 2017 at 09:01:07AM +0900, Inki Dae wrote: > > > 2017년 01월 24일 10:50에 Hoegeun Kwon 이(가) 쓴 글: > > Dear Thierry, > > > > Could you please review this patch? > > Thierry, I think this patch has been reviewed enough but no comment > from you. Seems you are busy. I will pick up this.

Re: [PATCH 22/60] staging: lustre: fid: fix race in fid allocation

2017-01-31 Thread Dan Carpenter
On Sat, Jan 28, 2017 at 07:04:50PM -0500, James Simmons wrote: > - if (!fid_is_zero(>lcs_fid) && > - fid_oid(>lcs_fid) < seq->lcs_width) { > + if (unlikely(!fid_is_zero(>lcs_fid) && > + fid_oid(>lcs_fid) < seq->lcs_width)) { What

scsi: BUG in scsi_init_io

2017-01-31 Thread Dmitry Vyukov
Hello, The following program triggers BUG in scsi_init_io: kernel BUG at drivers/scsi/scsi_lib.c:1043! invalid opcode: [#1] SMP KASAN Modules linked in: CPU: 0 PID: 2899 Comm: a.out Not tainted 4.10.0-rc5+ #201 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011

[PATCH 1/2 v3] mm: vmscan: do not pass reclaimed slab to vmpressure

2017-01-31 Thread Vinayak Menon
During global reclaim, the nr_reclaimed passed to vmpressure includes the pages reclaimed from slab. But the corresponding scanned slab pages is not passed. This can cause total reclaimed pages to be greater than scanned, causing an unsigned underflow in vmpressure resulting in a critical event

Re: [PATCH 1/2] gpio: Rename devm_get_gpiod_from_child()

2017-01-31 Thread Boris Brezillon
On Tue, 31 Jan 2017 00:44:47 -0800 Dmitry Torokhov wrote: > On Tue, Jan 31, 2017 at 09:04:32AM +0100, Boris Brezillon wrote: > > On Mon, 30 Jan 2017 17:06:07 -0800 > > Dmitry Torokhov wrote: > > > > > On Mon, Jan 30, 2017 at 04:41:48PM +0100, Boris Brezillon wrote: > > > > Rename

Re: [PATCH] hwmon: Relax name attribute validation for new APIs

2017-01-31 Thread Jean Delvare
Hi Guenter, Dmitry, On Fri, 27 Jan 2017 19:49:49 -0800, Guenter Roeck wrote: > While invalid name attributes are really not desirable and do mess up > libsensors, enforcing valid names has the detrimental effect of driving > users away from using the new hardware monitoring API, especially those

Re: [PATCH] powerpc/mm: fix a hardcode on memory boundary checking

2017-01-31 Thread Michael Ellerman
Rui Teng writes: > The offset of hugepage block will not be 16G, if the expected > page is more than one. Calculate the totol size instead of the > hardcode value. I assume you found this by code inspection and not by triggering an actual bug? cheers > diff --git

Re: [PATCH 1/2] gpio: Rename devm_get_gpiod_from_child()

2017-01-31 Thread Dmitry Torokhov
On Tue, Jan 31, 2017 at 10:07:21AM +0100, Boris Brezillon wrote: > On Tue, 31 Jan 2017 00:44:47 -0800 > Dmitry Torokhov wrote: > > > On Tue, Jan 31, 2017 at 09:04:32AM +0100, Boris Brezillon wrote: > > > On Mon, 30 Jan 2017 17:06:07 -0800 > > > Dmitry Torokhov wrote: > > > > > > > On Mon,

[PATCH 13/17] net: stmmac: Implement NAPI for TX

2017-01-31 Thread Corentin Labbe
The stmmac driver run TX completion under NAPI but without checking the work done by the TX completion function. This patch add work/budget to the TX completion function. The visible effect is that it keep the driver longer under NAPI and boost performance. Under dwmac-sun8i the iperf goes from

[PATCH] PCI: Xilinx NWL: Remove mask for messages not supported by AXI

2017-01-31 Thread Bharat Kumar Gogada
- Removing support for vendor defined messages which are not suppoerted by AXI Signed-off-by: Bharat Kumar Gogada --- drivers/pci/host/pcie-xilinx-nwl.c | 14 +- 1 files changed, 1 insertions(+), 13 deletions(-) diff --git a/drivers/pci/host/pcie-xilinx-nwl.c

[PATCH 17/17] net: stmmac: replace unsigned by u32

2017-01-31 Thread Corentin Labbe
checkpatch complains about two unsigned without type after. Since the value return is u32, it is simpler to replace it by u32 instead of "unsigned int" Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH v3] PCI: Xilinx NWL: Modifying irq chip for legacy interrupts

2017-01-31 Thread Bharat Kumar Gogada
- Adding mutex lock for protecting legacy mask register - Few wifi end points which only support legacy interrupts, performs hardware reset functionalities after disabling interrupts by invoking disable_irq and then re-enable using enable_irq, they enable hardware interrupts first and then virtual

Re: [tip:core/rcu] lockdep: Make RCU suspicious-access splats use pr_err

2017-01-31 Thread Ingo Molnar
* Dmitry Vyukov wrote: > FWIW my vote is for: > > == > WARNING: suspicious RCU usage > == For heaven's sake make it: = WARNING: suspicious RCU usage = (Note the length of the

Re: [PATCH v3] PCI: Xilinx NWL: Modifying irq chip for legacy interrupts

2017-01-31 Thread Marc Zyngier
On Tue, Jan 31 2017 at 08:59:12 AM, Bharat Kumar Gogada wrote: > - Adding mutex lock for protecting legacy mask register > - Few wifi end points which only support legacy interrupts, > performs hardware reset functionalities after disabling interrupts > by invoking disable_irq and then re-enable

Re: [tip:core/rcu] lockdep: Make RCU suspicious-access splats use pr_err

2017-01-31 Thread Dmitry Vyukov
On Tue, Jan 31, 2017 at 9:51 AM, Ingo Molnar wrote: > > * Dmitry Vyukov wrote: > >> On Tue, Jan 31, 2017 at 8:54 AM, tip-bot for Paul E. McKenney >> wrote: >> > Commit-ID: 4d4f88fa235f7f9ef8213564dc1804144332238b >> > Gitweb: >> >

[PATCH 16/17] net: stmmac: remove unused variable in sysfs_display_ring

2017-01-31 Thread Corentin Labbe
The u64 x variable in sysfs_display_ring is unused. This patch remove it. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c

Re: scsi: BUG in scsi_init_io

2017-01-31 Thread Johannes Thumshirn
On Tue, Jan 31, 2017 at 09:55:52AM +0100, Dmitry Vyukov wrote: > Hello, > > The following program triggers BUG in scsi_init_io: Well crashing a machine just because of an empty dma transfer is a bit harsh, isn't it? >From 86e6fa5f618fe588b98e923e032f33e075fcd4f4 Mon Sep 17 00:00:00 2001 From:

[PATCH 09/17] net: stmmac: replace ENOSYS by EINVAL

2017-01-31 Thread Corentin Labbe
As said by checkpatch ENOSYS means 'invalid syscall nr' and nothing else. This patch replace ENOSYS by the more appropriate value EINVAL. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 12/17] net: stmmac: rename rx_crc to rx_crc_errors

2017-01-31 Thread Corentin Labbe
The ethtool stat counter rx_crc from stmmac is mis-named, the name seems to speak about the number of RX CRC done, but in fact it is about errors. This patch rename it to rx_crc_errors, just like the same ifconfig counter. Signed-off-by: Corentin Labbe ---

[PATCH 03/17] net: stmmac: fix some typos in comments

2017-01-31 Thread Corentin Labbe
This patch fix some typos in comments. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c | 6 +++--- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 16 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 2 +- 3 files changed, 12

[PATCH 11/17] net: stmmac: Rewrite two test against NULL value

2017-01-31 Thread Corentin Labbe
This patch rewrite two test against NULL value with correct style. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c

Re: [PATCH v8 2/3] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2017-01-31 Thread Krzysztof Kozlowski
On Tue, Jan 31, 2017 at 2:01 AM, Inki Dae wrote: > > > 2017년 01월 24일 10:50에 Hoegeun Kwon 이(가) 쓴 글: >> Dear Thierry, >> >> Could you please review this patch? > > Thierry, I think this patch has been reviewed enough but no comment from you. > Seems you are busy. I will pick up this. > Comments

[PATCH 07/17] net: stmmac: replace stmmac_mdio_busy_wait by readl_poll_timeout

2017-01-31 Thread Corentin Labbe
The stmmac_mdio_busy_wait() function do the same job than readl_poll_timeout(). So is is better to replace it. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 33 --- 1 file changed, 11 insertions(+), 22 deletions(-) diff --git

[PATCH 02/17] net: stmmac: Remove the bus_setup function pointer

2017-01-31 Thread Corentin Labbe
The bus_setup function pointer is not used at all, this patch remove it. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 4 include/linux/stmmac.h| 1 - 2 files changed, 5 deletions(-) diff --git

[PATCH 00/17] net: stmmac: misc fix

2017-01-31 Thread Corentin Labbe
Hello I am currently working on dwmac-sun8i glue driver for Allwinner H3/A83T/A64. This serie is the result of all minor problem found in the stmmac driver. Regards Corentin Labbe (17): net: stmmac: fix the typo on MAC_RNABLE_RX net: stmmac: Remove the bus_setup function pointer net:

[PATCH 01/17] net: stmmac: fix the typo on MAC_RNABLE_RX

2017-01-31 Thread Corentin Labbe
the define MAC_RNABLE_RX have a typo, rename it to MAC_ENABLE_RX Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/common.h| 2 +- drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 10/17] net: stmmac: Correct the error message about invalid speed

2017-01-31 Thread Corentin Labbe
Add 1000 as a valid speed in the error message about invalid speed in stmmac_adjust_link() Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c

[PATCH 08/17] net: stmmac: Use readl_poll_timeout

2017-01-31 Thread Corentin Labbe
The dwmac_dma_reset function use an open coded of readl_poll_timeout(). Replace the open coded handling with the proper function. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git

[PATCH 04/17] net: stmmac: remove freesoftware address

2017-01-31 Thread Corentin Labbe
This patch fix the checkpatch warning about free software address. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/chain_mode.c | 4 drivers/net/ethernet/stmicro/stmmac/common.h | 4 drivers/net/ethernet/stmicro/stmmac/descs.h | 4

Re: [PATCH v8 2/3] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2017-01-31 Thread Inki Dae
2017년 01월 31일 17:54에 Thierry Reding 이(가) 쓴 글: > On Tue, Jan 31, 2017 at 09:01:07AM +0900, Inki Dae wrote: >> >> >> 2017년 01월 24일 10:50에 Hoegeun Kwon 이(가) 쓴 글: >>> Dear Thierry, >>> >>> Could you please review this patch? >> >> Thierry, I think this patch has been reviewed enough but no comment

[PATCH nf-next v2] netfilter: allow logging from non-init namespaces

2017-01-31 Thread Michal Kubecek
Commit 69b34fb996b2 ("netfilter: xt_LOG: add net namespace support for xt_LOG") disabled logging packets using the LOG target from non-init namespaces. The motivation was to prevent containers from flooding kernel log of the host. The plan was to keep it that way until syslog namespace

Re: mm: sleeping function called from invalid context shmem_undo_range

2017-01-31 Thread Kirill A. Shutemov
On Tue, Jan 31, 2017 at 09:27:41AM +0100, Dmitry Vyukov wrote: > Hello, > > I've got the following report while running syzkaller fuzzer on > fd694aaa46c7ed811b72eb47d5eb11ce7ab3f7f1: This should help: >From fb85b3fe273decb11c558d56257193424b8f071a Mon Sep 17 00:00:00 2001 From: "Kirill A.

Re: [PATCH 1/2] gpio: Rename devm_get_gpiod_from_child()

2017-01-31 Thread Boris Brezillon
On Tue, 31 Jan 2017 01:11:55 -0800 Dmitry Torokhov wrote: > On Tue, Jan 31, 2017 at 10:07:21AM +0100, Boris Brezillon wrote: > > On Tue, 31 Jan 2017 00:44:47 -0800 > > Dmitry Torokhov wrote: > > > > > On Tue, Jan 31, 2017 at 09:04:32AM +0100, Boris Brezillon wrote: > > > > On Mon, 30 Jan

Re: Issue with i2c-designware-platdrv's suspend/runtime-suspend handling

2017-01-31 Thread Jarkko Nikula
On 01/31/2017 12:05 AM, John Stultz wrote: On Tue, Jan 24, 2017 at 2:03 PM, John Stultz wrote: Doing some further debugging, it seems the problem is that the device is being runtime suspended, and then at suspend time, we're calling the same logic, calling i2c_dw_plat_prepare_clk, which causes

RE: [PATCH v3] PCI: Xilinx NWL: Modifying irq chip for legacy interrupts

2017-01-31 Thread Bharat Kumar Gogada
> On Tue, Jan 31 2017 at 08:59:12 AM, Bharat Kumar Gogada > wrote: > > - Adding mutex lock for protecting legacy mask register > > - Few wifi end points which only support legacy interrupts, performs > > hardware reset functionalities after disabling interrupts by invoking > > disable_irq and

Re: [PATCH v8 2/3] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2017-01-31 Thread Inki Dae
2017년 01월 31일 18:22에 Krzysztof Kozlowski 이(가) 쓴 글: > On Tue, Jan 31, 2017 at 2:01 AM, Inki Dae wrote: >> >> >> 2017년 01월 24일 10:50에 Hoegeun Kwon 이(가) 쓴 글: >>> Dear Thierry, >>> >>> Could you please review this patch? >> >> Thierry, I think this patch has been reviewed enough but no comment from

Re: workqueue lockup due to process_unsol_events stuck in azx_rirb_get_response

2017-01-31 Thread Takashi Iwai
On Mon, 30 Jan 2017 16:02:38 +0100, Vlastimil Babka wrote: > > On 01/25/2017 06:06 PM, Takashi Iwai wrote: > > The code path is related with the runtime PM, so it's likely depending > > on the device state, e.g. long-time pause or such. I don't think Win > > 10 plays a role, but who knows. > > >

Re: [PATCH 02/11] [media] s5p-mfc: Adding initial support for MFC v10.10

2017-01-31 Thread Smitha T Murthy
On Wed, 2017-01-18 at 16:10 +0100, Andrzej Hajda wrote: > On 18.01.2017 11:02, Smitha T Murthy wrote: > > Adding the support for MFC v10.10, with new register file and > > necessary hw control, decoder, encoder and structural changes. > > > > CC: Rob Herring > > CC: devicet...@vger.kernel.org >

Re: [PATCH] [media] s5p-mfc: Align stream buffer and CPB buffer to 512

2017-01-31 Thread Smitha T Murthy
On Wed, 2017-01-18 at 15:37 +0100, Andrzej Hajda wrote: > Hi Smitha, > > On 18.01.2017 10:37, Smitha T Murthy wrote: > > >From MFCv6 onwards encoder stream buffer and decoder CPB buffer > > Unexpected char at the beginning. > > > need to be aligned with 512. > > Patch below adds checks only

Re: [PULL v2] ARM: DTS: Fix broken GICv2 register maps

2017-01-31 Thread Marc Zyngier
On Tue, Jan 31 2017 at 05:06:48 AM, Olof Johansson wrote: > Hi Marc, > > On Mon, Jan 30, 2017 at 08:53:09AM +, Marc Zyngier wrote: >> ARM-soc folks, >> >> Please find below the pull request for a DT fix affecting a large >> number of 32bit platforms, which has been acked by a number of >>

Re: [PATCH] iio: stx104: Add support for GPIO names

2017-01-31 Thread Linus Walleij
On Mon, Jan 30, 2017 at 6:16 PM, William Breathitt Gray wrote: > This patch sets the gpio_chip names option with an array of GPIO line > names that match the manual documentation for the Apex Embedded Systems > STX104. This should make it easier for users to identify which GPIO line >

[PATCH 06/17] net: stmmac: fix some code style problem

2017-01-31 Thread Corentin Labbe
Checkpatch complains about some code style problem on stmmac_mdio.c. This patch fix them. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH] fscache: Fix dead object requeue

2017-01-31 Thread David Howells
Under some circumstances, an fscache object can become queued such that it fscache_object_work_func() can be called once the object is in the OBJECT_DEAD state. This results in the kernel oopsing when it tries to invoke the handler for the state (which is hard coded to 0x2). The way this comes

[PATCH 05/17] net: stmmac: remplace asm/io.h by linux/io.h

2017-01-31 Thread Corentin Labbe
This patch fix the checkpatch warning about asm/io.h. Sorting all includes in the process. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 14/17] net: stmmac: print phy information

2017-01-31 Thread Corentin Labbe
When a PHY is found, printing which one was found (and which type/model) is a good information to know. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c

[PATCH 15/17] net: stmmac: remove dead code in stmmac_tx_clean

2017-01-31 Thread Corentin Labbe
Since commit cf32deec16e4 ("stmmac: add tx_skbuff_dma to save descriptors used by PTP"), the struct dma_desc *p in stmmac_tx_clean was not used at all. This patch remove this dead code. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 7 --- 1 file

Re: [PATCH v3 21/24] media: imx: Add MIPI CSI-2 Receiver subdev driver

2017-01-31 Thread Philipp Zabel
On Tue, 2017-01-31 at 00:01 +, Russell King - ARM Linux wrote: [...] > The iMX6 manuals call for a very specific seven sequence of initialisation > for CSI2, which begins with: > > 1. reset the D-PHY. > 2. place MIPI sensor in LP-11 state > 3. perform D-PHY initialisation > 4. configure CSI2

Re: [PATCH v3 00/24] i.MX Media Driver

2017-01-31 Thread Philipp Zabel
On Mon, 2017-01-30 at 17:22 -0800, Steve Longerbeam wrote: > > On 01/30/2017 04:45 PM, Russell King - ARM Linux wrote: > > > > Hi, > > > > Trying this driver with an imx219 camera (which works with Philipp's > > driver) results in not much happening... no /dev/media* node for it, > > no subdevs,

Re: scsi: BUG in scsi_init_io

2017-01-31 Thread Dmitry Vyukov
On Tue, Jan 31, 2017 at 10:20 AM, Johannes Thumshirn wrote: > On Tue, Jan 31, 2017 at 09:55:52AM +0100, Dmitry Vyukov wrote: >> Hello, >> >> The following program triggers BUG in scsi_init_io: > > Well crashing a machine just because of an empty dma transfer is a bit harsh, > isn't it? > > From

Re: stmmac: GMAC_RGSMIIIS reports bogus values

2017-01-31 Thread Giuseppe CAVALLARO
On 1/27/2017 11:23 AM, Alexey Brodkin wrote: That's why my initial proposal was to ignore whatever we read from this register if we have MDIO bus instantiated already. sorry for my late reply, I agree with this approach, according to the HW and platform configuration the driver has to

Re: scsi: BUG in scsi_init_io

2017-01-31 Thread Johannes Thumshirn
On Tue, Jan 31, 2017 at 10:50:49AM +0100, Dmitry Vyukov wrote: > On Tue, Jan 31, 2017 at 10:20 AM, Johannes Thumshirn > wrote: > > On Tue, Jan 31, 2017 at 09:55:52AM +0100, Dmitry Vyukov wrote: [...] > Please-please-please, let's not use WARN for something that is not a > kernel bug and is

Re: [PATCH 00/17] net: stmmac: misc fix

2017-01-31 Thread Giuseppe CAVALLARO
Hello Corentin On 1/31/2017 10:11 AM, Corentin Labbe wrote: Hello I am currently working on dwmac-sun8i glue driver for Allwinner H3/A83T/A64. This serie is the result of all minor problem found in the stmmac driver. thank for this effort, many changes are to tidy up some part of the code so

Re: [GIT PULL] phy: for 4.11

2017-01-31 Thread Greg KH
On Mon, Jan 30, 2017 at 05:19:23PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > Please find the phy pull request for 4.11 merge window below. > > This adds couple of Qualcomm PHY drivers (HSIC and HS) and a > USB3 phy driver used in Broadcom NSP SoC. This also includes minor > fixes and

<    5   6   7   8   9   10   11   12   13   14   >