Re: [PATCHv2 2/3] tty/serial: at91: fix hardware handshake with GPIOs

2016-09-22 Thread Uwe Kleine-König
On Mon, Sep 12, 2016 at 11:47:32AM +0200, Richard Genoud wrote: > Commit 1cf6e8fc8341 ("tty/serial: at91: fix RTS line management when > hardware handshake is enabled") broke the hardware handshake when GPIOs > where used. s/where/were/ > Hardware handshake with GPIOs used to work before this com

Re: [PATCH v4 0/3] nvme power saving

2016-09-22 Thread Christoph Hellwig
On Wed, Sep 21, 2016 at 05:11:03PM -0700, Andy Lutomirski wrote: > Anything I can/should do to help this make it for 4.9? :) Maybe you should have added the Reviewed-by: tags you already got to this repost? :) Here we go again: Reviewed-by: Christoph Hellwig

[PATCH v2] arm: dts: zynq: Add MicroZed board support

2016-09-22 Thread Jagan Teki
From: Jagan Teki Added basic dts support for MicroZed board. - UART - SDHCI - Ethernet Cc: Soren Brinkmann Cc: Michal Simek Signed-off-by: Jagan Teki --- Changes for v2: - Add SDHCI - Add Ethernet arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/zynq-microzed.d

Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes

2016-09-22 Thread Peter Zijlstra
On Tue, Sep 20, 2016 at 09:42:41AM -0400, Waiman Long wrote: > +/* > + * Spinning threshold before enabling lock handoff. > + * Each sleep will decrement the threshold by 1/32 of the start value. > + */ > +#define TO_SPIN_THRESHOLD(1 << 13) > +#define TO_SLEEP_DECREMENT (TO_SPIN_THRESHOLD/32)

[PATCH] clocksource: fsl_ftm_timer: Unmap region obtained by of_iomap

2016-09-22 Thread Arvind Yadav
Free memory mapping, if ftm_timer_init is not successful. Signed-off-by: Arvind Yadav --- drivers/clocksource/fsl_ftm_timer.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/clocksource/fsl_ftm_timer.c b/drivers/clocksource/fsl_ftm_timer.c index 738515b..238c

Re: [RFC PATCH 3/4] futex: Throughput-optimized (TO) futexes

2016-09-22 Thread Thomas Gleixner
On Tue, 6 Sep 2016, Waiman Long wrote: > +enum futex_type { > + TYPE_PI = 0, > + TYPE_TO, > +}; Please introduce the futex_type magic and the related changes to the pi code in a seperate patch so it can be verified independently. It's sad that one has to explain that to you over and over

Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes

2016-09-22 Thread Thomas Gleixner
On Thu, 22 Sep 2016, Peter Zijlstra wrote: > On Wed, Sep 21, 2016 at 07:37:34PM -0400, Waiman Long wrote: > > On 09/21/2016 02:59 AM, Mike Galbraith wrote: > > >On Tue, 2016-09-20 at 09:42 -0400, Waiman Long wrote: > > >>This patch introduces a new futex implementation called > > >>throughput-optim

Re: [PATCH V2 for-next 00/19] IB/hns: Fixes for various misc. bugs

2016-09-22 Thread Leon Romanovsky
On Tue, Sep 20, 2016 at 05:06:53PM +0100, Salil Mehta wrote: > This patch-set introduces fixes for various bugs and potential > problems found during internal review and testing phases of > the HNS RoCE driver. > > NOTE: These fixes have been done over already floated CM > patch: https://lkml.org/l

Re: [RFC PATCH 00/11] pci: support for configurable PCI endpoint

2016-09-22 Thread Arnd Bergmann
On Thursday, September 15, 2016 2:03:05 PM CEST Kishon Vijay Abraham I wrote: > On Wednesday 14 September 2016 06:55 PM, Arnd Bergmann wrote: > > On Wednesday, September 14, 2016 10:41:56 AM CEST Kishon Vijay Abraham I > > wrote: > > I've added the drivers/ntb maintainers to Cc, given that there i

Re: [BUG] perf report --pid not reporting correctly

2016-09-22 Thread Jiri Olsa
On Thu, Sep 22, 2016 at 10:34:57AM +0900, Namhyung Kim wrote: SNIP > $ perf report -s pid,cpu --stdio --hierarchy > # > #Overhead Pid:Command / CPU > # ... ... > # > 31.21% 0:swapper > 12.16% 000 > 3.09% 001

Re: [PATCH] drm/i2c: tda998x: don't register the connector

2016-09-22 Thread Brian Starkey
On Thu, Sep 22, 2016 at 01:28:37PM +0200, Daniel Vetter wrote: On Thu, Sep 22, 2016 at 1:22 PM, Sean Paul wrote: On Thu, Sep 22, 2016 at 3:51 AM, Russell King - ARM Linux wrote: On Thu, Sep 22, 2016 at 11:39:18AM +0100, Brian Starkey wrote: Actually, could you please hold off picking this up

Re: [PATCH v2] usb: gadget: Add uevent to notify userspace

2016-09-22 Thread Greg KH
On Thu, Sep 22, 2016 at 08:41:09PM +0800, Baolin Wang wrote: > On 22 September 2016 at 20:23, Greg KH wrote: > > On Thu, Sep 22, 2016 at 07:43:59PM +0800, Baolin Wang wrote: > >> From: Badhri Jagan Sridharan > >> > >> Some USB managament on userspace (like Android system) rely on the uevents > >>

[PATCH] mfd: mc13xxx-core: use complete() instead complete_all()

2016-09-22 Thread Daniel Wagner
From: Daniel Wagner There is only one waiter for the completion, therefore there is no need to use complete_all(). Let's make that clear by using complete() instead of complete_all(). The usage pattern of the completion is: waiter context waker context mc13xxx_adc_do_c

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

2016-09-22 Thread Linus Walleij
On Fri, Sep 16, 2016 at 9:16 PM, David Lechner wrote: > This driver creates a userspace leds driver similar to uinput. Just out of curiosity: what is this used for? The typical usecase evades me, so I'd really want to know. > +See tools/leds/uledmon.c for an example userspace program. Where is

Re: [patch v1] drivers/platform/x86: introduce support for Mellanox hotplug driver

2016-09-22 Thread Greg KH
On Thu, Sep 22, 2016 at 01:01:46PM +, Vadim Pasternak wrote: > > > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Thursday, September 22, 2016 3:31 PM > > To: Vadim Pasternak > > Cc: dvh...@infradead.org; da...@davemloft.net; ge...@linux-m68k.org

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

2016-09-22 Thread Linus Walleij
On Thu, Sep 22, 2016 at 3:43 PM, Linus Walleij wrote: > On Fri, Sep 16, 2016 at 9:16 PM, David Lechner wrote: >> +See tools/leds/uledmon.c for an example userspace program. > > Where is this program? Not in this patch for sure. Ah I found it by looking a bit closer at my mail archive, sorry abo

Re: [PATCH v2 1/1] mm/hugetlb: fix memory offline with hugepage size > memory block size

2016-09-22 Thread Gerald Schaefer
On Thu, 22 Sep 2016 11:51:37 +0200 Michal Hocko wrote: > On Wed 21-09-16 14:35:34, Gerald Schaefer wrote: > > dissolve_free_huge_pages() will either run into the VM_BUG_ON() or a > > list corruption and addressing exception when trying to set a memory > > block offline that is part (but not the f

Re: ext4, f2fs: fscrypt_has_permitted_context() check in file open

2016-09-22 Thread Theodore Ts'o
On Thu, Sep 22, 2016 at 02:24:35PM +0200, Richard Weinberger wrote: > Hi! > > Both ext4 and f2fs check in the file open code the context of the parent > directory too: > > ext4: > if (ext4_encrypted_inode(d_inode(dir)) && > !fscrypt_has_permitted_context(d_inode(d

[PATCH v2] ASoC: rk3399_gru_sound: fix recording pop at first attempt

2016-09-22 Thread Xing Zheng
From: Wonjoon Lee Pop happens when mclk applied but dmic's own boot-time Specify dmic delay times in dt to make sure clocks are ready earlier than dmic working Signed-off-by: Wonjoon Lee Signed-off-by: Xing Zheng --- Changes in v2: - rename dmic-delay to dmic-wakeup-delay-ms .../bindings/so

Re: [PATCH] ASoC: rk3399_gru_sound: fix recording pop at first attempt

2016-09-22 Thread Xing Zheng
Hi Mark, On 2016年09月19日 22:44, Mark Rutland wrote: On Mon, Sep 19, 2016 at 10:29:39PM +0800, Xing Zheng wrote: From: Wonjoon Lee Pop happens when mclk applied but dmic's own boot-time Specify dmic delay times in dt to make sure clocks are ready earlier than dmic working Signed-off-by: Wonjoo

[PATCH] clocksource: mxs_timer: Unmap region obtained by of_iomap

2016-09-22 Thread Arvind Yadav
Free memory mapping, if mxs_timer_init is not successful. Signed-off-by: Arvind Yadav --- drivers/clocksource/mxs_timer.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/drivers/clocksource/mxs_timer.c b/drivers/clocksource/mxs_timer.c index 0ba0a91..add3c

[PATCH] usb: gadget: f_fs: use complete() instead complete_all()

2016-09-22 Thread Daniel Wagner
From: Daniel Wagner There is only one waiter for the completion, therefore there is no need to use complete_all(). Let's make that clear by using complete() instead of complete_all(). The usage pattern of the completion is: waiter context waker context reinit_completi

Re: strace lockup when tracing exec in go

2016-09-22 Thread Michal Hocko
On Thu 22-09-16 13:09:25, Michal Hocko wrote: > On Thu 22-09-16 12:09:05, Mike Galbraith wrote: > > On Thu, 2016-09-22 at 11:53 +0200, Michal Hocko wrote: > > > On Thu 22-09-16 11:40:09, Mike Galbraith wrote: > > > > > > This patch doesn't help, nor does the previous patch... but with both > > > >

Re: [PATCH] Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR. Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR.

2016-09-22 Thread Sergei Shtylyov
On 09/22/2016 01:44 PM, Sergei Shtylyov wrote: Looks like your patch summary and description got merged together in the subject. Also, the subject (summary) should contain driver name as a prefix: "pata_at91: Use ..." Signed-off-by: Harman Kalra [...] MBR, Sergei

Re: [RFC PATCH 4/4] futex, doc: TO futexes document

2016-09-22 Thread Thomas Gleixner
On Thu, 22 Sep 2016, Waiman Long wrote: > On 09/22/2016 06:40 AM, Thomas Gleixner wrote: > > On Tue, 6 Sep 2016, Waiman Long wrote: > > > This patch adds a new document file on how to use the TO futexes. > > Documentation is nice, but the proper place for documenting this is the > > futex(2) man pa

Re: [patch V2 0/2] block/mq: Convert to new hotplug state machine

2016-09-22 Thread Christoph Hellwing
On Tue, Sep 20, 2016 at 09:48:39PM -0600, Jens Axboe wrote: > On 09/20/2016 09:21 AM, Thomas Gleixner wrote: >> The following series converts block/mq to the new hotplug state >> machine. The series is against block.git/for-next and depends on >> >>git://git.kernel.org/pub/scm/linux/kernel/git/

[PATCH PoC 6/7] mmc-mq: initial blk-mq support

2016-09-22 Thread Bartlomiej Zolnierkiewicz
Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/mmc/card/block.c | 15 + drivers/mmc/card/queue.c | 85 ++-- drivers/mmc/card/queue.h | 3 ++ drivers/mmc/core/core.c | 7 ++-- 4 files changed, 98 insertions(+), 12 deletions(-) diff --gi

[PATCH PoC 3/7] mmc-mq: request completion fixes

2016-09-22 Thread Bartlomiej Zolnierkiewicz
Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/mmc/card/block.c| 52 drivers/mmc/card/mmc_test.c | 8 +-- drivers/mmc/card/queue.c| 11 - drivers/mmc/card/queue.h| 4 ++ drivers/mmc/core/core.c | 117 +++-

[PATCH PoC 0/7] mmc: switch to blk-mq

2016-09-22 Thread Bartlomiej Zolnierkiewicz
Hi, Since Linus Walleij is also working on that and I won't probably have time to touch this code till the end of upcoming month, here it is (basically a code dump of my proof-of-concept work). I hope that it would be useful to somebody. It is extremely ugly & full of bogus debug code but boots

[PATCH PoC 1/7] mmc-mq: add debug printks

2016-09-22 Thread Bartlomiej Zolnierkiewicz
Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/mmc/card/block.c | 18 -- drivers/mmc/core/core.c | 32 ++-- 2 files changed, 46 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c index 7d733d0..ce56930

Re: [patch v1] drivers/platform/x86: introduce support for Mellanox hotplug driver

2016-09-22 Thread Greg KH
On Thu, Sep 22, 2016 at 01:50:28PM +, Vadim Pasternak wrote: > > > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Thursday, September 22, 2016 4:43 PM > > To: Vadim Pasternak > > Cc: dvh...@infradead.org; da...@davemloft.net; ge...@linux-m68k.org

[PATCH PoC 2/7] mmc-mq: remove async requests support

2016-09-22 Thread Bartlomiej Zolnierkiewicz
Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/mmc/card/block.c | 62 -- drivers/mmc/card/queue.c | 113 +++ drivers/mmc/card/queue.h | 5 +-- drivers/mmc/core/bus.c | 2 - drivers/mmc/core/core.c | 110 +---

[PATCH] clocksource: nomadik-mtu: Unmap region obtained by of_iomap

2016-09-22 Thread Arvind Yadav
Free memory mapping, if nmdk_timer_of_init is not successful. Signed-off-by: Arvind Yadav --- drivers/clocksource/nomadik-mtu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clocksource/nomadik-mtu.c b/drivers/clocksource/nomadik-mtu.c index 3c124d1..d99e415c 100644 --- a/drive

[PATCH PoC 7/7] mmc-mq: async request support for blk-mq mode

2016-09-22 Thread Bartlomiej Zolnierkiewicz
Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/mmc/card/block.c | 51 +-- drivers/mmc/card/queue.c | 49 ++--- drivers/mmc/card/queue.h | 36 + drivers/mmc/core/core.c | 70 +

[tip:sched/core] sched/fair: Fix SCHED_HRTICK bug leading to late preemption of tasks

2016-09-22 Thread tip-bot for Srivatsa Vaddagiri
Commit-ID: 8bf46a39be910937d4c9e8d999a7438a7ae1a75b Gitweb: http://git.kernel.org/tip/8bf46a39be910937d4c9e8d999a7438a7ae1a75b Author: Srivatsa Vaddagiri AuthorDate: Fri, 16 Sep 2016 18:28:51 -0700 Committer: Ingo Molnar CommitDate: Thu, 22 Sep 2016 15:20:18 +0200 sched/fair: Fix SCHED

[tip:sched/core] sched/core: Optimize __schedule()

2016-09-22 Thread tip-bot for Peter Zijlstra
Commit-ID: 9af6528ee9b682df7f29dbee86fbba0b67eab944 Gitweb: http://git.kernel.org/tip/9af6528ee9b682df7f29dbee86fbba0b67eab944 Author: Peter Zijlstra AuthorDate: Tue, 13 Sep 2016 18:37:29 +0200 Committer: Ingo Molnar CommitDate: Thu, 22 Sep 2016 14:53:45 +0200 sched/core: Optimize __sc

[PATCH PoC 5/7] mmc-mq: remove some debug printks

2016-09-22 Thread Bartlomiej Zolnierkiewicz
Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/mmc/card/block.c | 16 drivers/mmc/card/queue.c | 12 ++-- drivers/mmc/core/core.c | 45 +++-- 3 files changed, 37 insertions(+), 36 deletions(-) diff --git a/drivers/mmc/card/b

[tip:core/smp] smp: Allocate smp_call_on_cpu() workqueue on stack too

2016-09-22 Thread tip-bot for Peter Zijlstra
Commit-ID: 8db549491c4a3ce9e1d509b75f78516e497f48ec Gitweb: http://git.kernel.org/tip/8db549491c4a3ce9e1d509b75f78516e497f48ec Author: Peter Zijlstra AuthorDate: Sun, 11 Sep 2016 10:36:26 +0200 Committer: Ingo Molnar CommitDate: Thu, 22 Sep 2016 14:49:10 +0200 smp: Allocate smp_call_on

[tip:sched/core] sched/core: Remove unnecessary initialization in sched_init()

2016-09-22 Thread tip-bot for Cheng Chao
Commit-ID: 0b8473570ce1af3e80da05b59f9321f30253de4d Gitweb: http://git.kernel.org/tip/0b8473570ce1af3e80da05b59f9321f30253de4d Author: Cheng Chao AuthorDate: Wed, 14 Sep 2016 10:18:56 +0800 Committer: Ingo Molnar CommitDate: Thu, 22 Sep 2016 14:53:44 +0200 sched/core: Remove unnecessar

[tip:perf/urgent] perf/x86/intel/bts: Make it an exclusive PMU

2016-09-22 Thread tip-bot for Alexander Shishkin
Commit-ID: 08b90f0655258411a1b41d856331e20e7ec8d55c Gitweb: http://git.kernel.org/tip/08b90f0655258411a1b41d856331e20e7ec8d55c Author: Alexander Shishkin AuthorDate: Tue, 20 Sep 2016 18:48:10 +0300 Committer: Ingo Molnar CommitDate: Thu, 22 Sep 2016 14:56:08 +0200 perf/x86/intel/bts: M

[PATCH PoC 4/7] mmc-mq: implement checking for queue busy condition

2016-09-22 Thread Bartlomiej Zolnierkiewicz
Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/mmc/card/queue.c | 28 +++- drivers/mmc/card/queue.h | 2 ++ 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/card/queue.c b/drivers/mmc/card/queue.c index 6fd711d..3ed4477 100644 --- a/driver

[tip:sched/core] stop_machine: Avoid a sleep and wakeup in stop_one_cpu()

2016-09-22 Thread tip-bot for Cheng Chao
Commit-ID: bf89a304722f6904009499a31dc68ab9a5c9742e Gitweb: http://git.kernel.org/tip/bf89a304722f6904009499a31dc68ab9a5c9742e Author: Cheng Chao AuthorDate: Wed, 14 Sep 2016 10:01:50 +0800 Committer: Ingo Molnar CommitDate: Thu, 22 Sep 2016 14:53:45 +0200 stop_machine: Avoid a sleep a

Re: [PATCH] clocksource/drivers/ti-32k: Prevent ftrace recursion

2016-09-22 Thread Thomas Gleixner
On Thu, 22 Sep 2016, Jisheng Zhang wrote: > Currently ti-32k can be used as a scheduler clock. We properly marked > omap_32k_read_sched_clock() as notrace but we then call another > function ti_32k_read_cycles() that _wasn't_ notrace. > > Having a traceable function in the sched_clock() path lead

RE: [patch v1] drivers/platform/x86: introduce support for Mellanox hotplug driver

2016-09-22 Thread Vadim Pasternak
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Thursday, September 22, 2016 4:53 PM > To: Vadim Pasternak > Cc: dvh...@infradead.org; da...@davemloft.net; ge...@linux-m68k.org; > a...@linux-foundation.org; kv...@codeaurora.org; mche...@kernel.org; > li..

Re: [patch V2 0/2] block/mq: Convert to new hotplug state machine

2016-09-22 Thread Jens Axboe
On 09/22/2016 07:57 AM, Christoph Hellwing wrote: On Tue, Sep 20, 2016 at 09:48:39PM -0600, Jens Axboe wrote: On 09/20/2016 09:21 AM, Thomas Gleixner wrote: The following series converts block/mq to the new hotplug state machine. The series is against block.git/for-next and depends on git:/

[tip:locking/core] stop_machine: Remove stop_cpus_lock and lg_double_lock/unlock()

2016-09-22 Thread tip-bot for Oleg Nesterov
Commit-ID: e6253970413d99f416f7de8bd516e5f1834d8216 Gitweb: http://git.kernel.org/tip/e6253970413d99f416f7de8bd516e5f1834d8216 Author: Oleg Nesterov AuthorDate: Sat, 21 Nov 2015 19:11:48 +0100 Committer: Ingo Molnar CommitDate: Thu, 22 Sep 2016 15:25:55 +0200 stop_machine: Remove stop_

[tip:locking/core] locking/pv-qspinlock: Use cmpxchg_release() in __pv_queued_spin_unlock()

2016-09-22 Thread tip-bot for Pan Xinhui
Commit-ID: b193049375b04df3ada8c3347b7083db95918bc3 Gitweb: http://git.kernel.org/tip/b193049375b04df3ada8c3347b7083db95918bc3 Author: Pan Xinhui AuthorDate: Mon, 19 Sep 2016 05:23:52 -0400 Committer: Ingo Molnar CommitDate: Thu, 22 Sep 2016 15:25:51 +0200 locking/pv-qspinlock: Use cmp

[tip:perf/urgent] perf/core: Limit matching exclusive events to one PMU

2016-09-22 Thread tip-bot for Alexander Shishkin
Commit-ID: 3bf6215a1b30db7df6083c708caab3fe1a8e8abe Gitweb: http://git.kernel.org/tip/3bf6215a1b30db7df6083c708caab3fe1a8e8abe Author: Alexander Shishkin AuthorDate: Tue, 20 Sep 2016 18:48:11 +0300 Committer: Ingo Molnar CommitDate: Thu, 22 Sep 2016 14:56:09 +0200 perf/core: Limit matc

[PATCH] percpu: eliminate two sparse warnings

2016-09-22 Thread Lance Richardson
Fix two cases where a __percpu pointer cast drops __percpu. Signed-off-by: Lance Richardson --- arch/x86/include/asm/percpu.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/percpu.h b/arch/x86/include/asm/percpu.h index e02e3f8..84f58de 100644 --- a

RE: [patch v1] drivers/platform/x86: introduce support for Mellanox hotplug driver

2016-09-22 Thread Vadim Pasternak
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Thursday, September 22, 2016 4:43 PM > To: Vadim Pasternak > Cc: dvh...@infradead.org; da...@davemloft.net; ge...@linux-m68k.org; > a...@linux-foundation.org; kv...@codeaurora.org; mche...@kernel.org; > li..

Re: [PATCH 2/4] mm, compaction: more reliably increase direct compaction priority

2016-09-22 Thread Michal Hocko
On Thu 22-09-16 14:51:48, Vlastimil Babka wrote: > >From 465e1bd61b7a6d6901a44f09b1a76514dbc220fa Mon Sep 17 00:00:00 2001 > From: Vlastimil Babka > Date: Thu, 22 Sep 2016 13:54:32 +0200 > Subject: [PATCH] mm, compaction: more reliably increase direct compaction > priority-fix > > When increasin

[PATCH] clocksource: timer-imx-gpt: Unmap and free region obtained by of_iomap and kzalloc

2016-09-22 Thread Arvind Yadav
Free memory and memory mapping, if mxc_timer_init_dt is not successful. Signed-off-by: Arvind Yadav --- drivers/clocksource/timer-imx-gpt.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/clocksource/timer-imx-gpt.c b/drivers/clocksource/timer-imx-gpt

Re: fscrypt: in-place decrypt vs. out-of-place encrypt?

2016-09-22 Thread Richard Weinberger
Ted, On 22.09.2016 15:14, Theodore Ts'o wrote: > On Thu, Sep 22, 2016 at 10:49:41AM +0200, Richard Weinberger wrote: >> >> While reading the fscrypt code I noticed that some functions use the bounce >> pages >> and some not. >> fscrypt_decrypt_page() and fscrypt_decrypt_bio_pages() work in-place

Re: [RFC PATCH v1 05/28] KVM: SVM: prepare for new bit definition in nested_ctl

2016-09-22 Thread Borislav Petkov
On Mon, Aug 22, 2016 at 07:24:32PM -0400, Brijesh Singh wrote: > From: Tom Lendacky > > Currently the nested_ctl variable in the vmcb_control_area structure is > used to indicate nested paging support. The nested paging support field > is actually defined as bit 0 of the this field. In order to s

Re: [PATCH] clocksource: timer-imx-gpt: Unmap and free region obtained by of_iomap and kzalloc

2016-09-22 Thread Thomas Gleixner
On Thu, 22 Sep 2016, Arvind Yadav wrote: > Subject: clocksource: timer-imx-gpt: Unmap and free region obtained by > of_iomap and kzalloc These subject lines are useless and way too long. A patch subject should describe the nature of the patch and not elaborate what the patch is doing technically

Re: [PATCH] drm/i2c: tda998x: don't register the connector

2016-09-22 Thread Brian Starkey
Hi Sean, On Thu, Sep 22, 2016 at 04:22:40AM -0700, Sean Paul wrote: On Thu, Sep 22, 2016 at 3:51 AM, Russell King - ARM Linux wrote: On Thu, Sep 22, 2016 at 11:39:18AM +0100, Brian Starkey wrote: Actually, could you please hold off picking this up? We need to make changes in mali-dp and hdlcd

Re: [PATCH V6 3/5] PCI: thunder-pem: Allow to probe PEM-specific register range for ACPI case

2016-09-22 Thread Christopher Covington
On 09/22/2016 05:49 AM, Lorenzo Pieralisi wrote: > On Wed, Sep 21, 2016 at 01:04:57PM -0500, Bjorn Helgaas wrote: >> On Wed, Sep 21, 2016 at 03:05:49PM +0100, Lorenzo Pieralisi wrote: >>> On Tue, Sep 20, 2016 at 02:17:44PM -0500, Bjorn Helgaas wrote: On Tue, Sep 20, 2016 at 04:09:25PM +0100, A

[PATCH] clocksource: timer-digicolor: Unmap region obtained by of_iomap

2016-09-22 Thread Arvind Yadav
Free memory mapping, if digicolor_timer_init is not successful. Signed-off-by: Arvind Yadav --- drivers/clocksource/timer-digicolor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clocksource/timer-digicolor.c b/drivers/clocksource/timer-digicolor.c index 10318cc..e6e5e6a 10064

Re: ext4, f2fs: fscrypt_has_permitted_context() check in file open

2016-09-22 Thread Richard Weinberger
Ted, On 22.09.2016 15:44, Theodore Ts'o wrote: > On Thu, Sep 22, 2016 at 02:24:35PM +0200, Richard Weinberger wrote: >> Why do we need this check? AFAIK this situation can never happen unless due >> to >> a bug in the filesystem code. > > Or in the case of a malicious attacker who is trying to a

Re: [PATCH] usb: gadget: f_fs: use complete() instead complete_all()

2016-09-22 Thread Michal Nazarewicz
On Thu, Sep 22 2016, Daniel Wagner wrote: > From: Daniel Wagner > > There is only one waiter for the completion, therefore there > is no need to use complete_all(). Let's make that clear by > using complete() instead of complete_all(). > > The usage pattern of the completion is: > > waiter context

Re: [PATCH 1/7] selftest: sync: basic tests for sw_sync framework

2016-09-22 Thread Emilio López
Hi Michael, El 22/09/16 a las 06:43, Michael Ellerman escribió: Emilio López writes: +CFLAGS += -I../../../../include/uapi/ Please don't include the unprocessed uapi headers, they are not meant to be directly included in userspace programs. They even say so: include/uapi/linux/types.h:#war

Re: [PATCH v4 0/3] nvme power saving

2016-09-22 Thread Jens Axboe
On 09/16/2016 12:16 PM, Andy Lutomirski wrote: Hi all- Here's v4 of the APST patch set. The biggest bikesheddable thing (I think) is the scaling factor. I currently have it hardcoded so that we wait 50x the total latency before entering a power saving state. On my Samsung 950, this means we en

Re: [PATCH] drm/i2c: tda998x: don't register the connector

2016-09-22 Thread Russell King - ARM Linux
On Thu, Sep 22, 2016 at 02:38:45PM +0100, Brian Starkey wrote: > However, without patching all three drivers in the same commit, there > would always be some breakage. HDLCD and Mali-DP call > drm_dev_register() before binding the components - this was needed to > work with tda998x, which needed th

[v2] clocksrouce/timer-imz-gpt: Prevent resource leaks in error path

2016-09-22 Thread Arvind Yadav
Free memory and memory mapping, if mxc_timer_init_dt is not successful. Signed-off-by: Arvind Yadav --- drivers/clocksource/timer-imx-gpt.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/clocksource/timer-imx-gpt.c b/drivers/clocksource/timer-imx-gpt

Re: [PATCH] clocksource: timer-imx-gpt: Unmap and free region obtained by of_iomap and kzalloc

2016-09-22 Thread arvind Yadav
I have changed subject as per your review comment. thanks, -Arvind On Thursday 22 September 2016 07:46 PM, Thomas Gleixner wrote: On Thu, 22 Sep 2016, Arvind Yadav wrote: Subject: clocksource: timer-imx-gpt: Unmap and free region obtained by of_iomap and kzalloc These subject lines a

Re: [PATCH 1/6] mtd: spi-nor: Add quad page program support

2016-09-22 Thread Jagan Teki
On Mon, Aug 29, 2016 at 6:54 PM, Jagan Teki wrote: > On Wed, Aug 10, 2016 at 2:10 AM, Jagan Teki wrote: >> Add quad page program support with the use of nor->flags >> and then controller will use 4 lines for data transmission >> which is quite faster than page program(02h) >> >> Cc: Brian Norris

Re: [PATCH] clocksource/drivers/ti-32k: Prevent ftrace recursion

2016-09-22 Thread Steven Rostedt
On Thu, 22 Sep 2016 15:58:03 +0200 (CEST) Thomas Gleixner wrote: > On Thu, 22 Sep 2016, Jisheng Zhang wrote: > > > Currently ti-32k can be used as a scheduler clock. We properly marked > > omap_32k_read_sched_clock() as notrace but we then call another > > function ti_32k_read_cycles() that _was

Re: [PATCH v3] mmc: sdhci-msm: Add pm_runtime and system PM support

2016-09-22 Thread Ritesh Harjani
Hi Pramod, On 9/15/2016 7:28 PM, Pramod Gurav wrote: On 15 September 2016 at 15:49, Ulf Hansson wrote: On 15 September 2016 at 09:59, Pramod Gurav wrote: On 9 September 2016 at 15:48, Georgi Djakov wrote: On 09/08/2016 11:02 AM, Adrian Hunter wrote: On 01/09/16 17:23, Pramod Gurav wrote:

Re: [v2] clocksrouce/timer-imz-gpt: Prevent resource leaks in error path

2016-09-22 Thread Thomas Gleixner
On Thu, 22 Sep 2016, Arvind Yadav wrote: Darn. Take your time and think about stuff instead of sending a new patch out 5 seconds after you got a review comment. > Subject : [v2] clocksrouce/timer-imz-gpt: Prevent resource leaks in error path 1) This lacks a [PATCH v2] prefix 2) clocksrouce is n

Re: [PATCH] clocksource: timer-imx-gpt: Unmap and free region obtained by of_iomap and kzalloc

2016-09-22 Thread Thomas Gleixner
On Thu, 22 Sep 2016, arvind Yadav wrote: > I have changed subject as per your review comment. I certainly need a reminder that you did this. NOT! And you nicely copied and pasted the typo which I put into that line on purpose: > > clocksrouce/timer-imz-gpt: Prevent resource leaks in error

Re: [PATCH] clocksource: timer-digicolor: Unmap region obtained by of_iomap

2016-09-22 Thread Baruch Siach
Hi Arvind Yadav, On Thu, Sep 22, 2016 at 07:51:13PM +0530, Arvind Yadav wrote: > Free memory mapping, if digicolor_timer_init is not successful. Thanks for looking into that. Why not add a devm_of_iomap() variant of of_iomap() that calls devm_ioremap() instead of ioremap()? I'm not sure that c

Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes

2016-09-22 Thread Davidlohr Bueso
On Thu, 22 Sep 2016, Thomas Gleixner wrote: On Thu, 22 Sep 2016, Peter Zijlstra wrote: On Wed, Sep 21, 2016 at 07:37:34PM -0400, Waiman Long wrote: > On 09/21/2016 02:59 AM, Mike Galbraith wrote: > >On Tue, 2016-09-20 at 09:42 -0400, Waiman Long wrote: > >>This patch introduces a new futex impl

Re: [RFC PATCH v1 09/28] x86/efi: Access EFI data as encrypted when SEV is active

2016-09-22 Thread Borislav Petkov
On Mon, Aug 22, 2016 at 07:25:25PM -0400, Brijesh Singh wrote: > From: Tom Lendacky > > EFI data is encrypted when the kernel is run under SEV. Update the > page table references to be sure the EFI memory areas are accessed > encrypted. > > Signed-off-by: Tom Lendacky > --- > arch/x86/platform

Re: [kbuild-all] mm/slub.o:undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-09-22 Thread Fengguang Wu
Hi Jesper, On Thu, Sep 22, 2016 at 10:29:46AM +0200, Jesper Dangaard Brouer wrote: On Thu, 22 Sep 2016 13:50:21 +0800 kbuild test robot wrote: Hi Jesper, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7d1e0423

Re: [PATCH] clocksource: timer-imx-gpt: Unmap and free region obtained by of_iomap and kzalloc

2016-09-22 Thread arvind Yadav
Sorry, I will take care. Thanks, -Arvind On Thursday 22 September 2016 08:06 PM, Thomas Gleixner wrote: On Thu, 22 Sep 2016, arvind Yadav wrote: I have changed subject as per your review comment. I certainly need a reminder that you did this. NOT! And you nicely copied and pasted the

Re: [RFC PATCH v1 09/28] x86/efi: Access EFI data as encrypted when SEV is active

2016-09-22 Thread Paolo Bonzini
On 22/09/2016 16:35, Borislav Petkov wrote: >> > @@ -230,6 +230,10 @@ int __init efi_setup_page_tables(unsigned long >> > pa_memmap, unsigned num_pages) >> >efi_scratch.efi_pgt = (pgd_t *)__sme_pa(efi_pgd); >> >pgd = efi_pgd; >> > >> > + flags = _PAGE_NX | _PAGE_RW; >> > + if (sev_ac

Re: crash by cdc_acm driver in kernels 4.8-rc1/5

2016-09-22 Thread Oliver Neukum
On Wed, 2016-09-21 at 18:41 +0200, Wim Osterholt wrote: > On Wed, Sep 21, 2016 at 02:21:17PM +0200, Oliver Neukum wrote: > > in sysfs. > > Google pointed me to /sys/bus/usb/drivers/usb/* > where I find all kinds of 'bConfigurationValue'. > Now is the problem to find which one you could mean. > >

Re: [PATCH v5 00/07] iommu/ipmmu-vmsa: IPMMU multi-arch update V5

2016-09-22 Thread Joerg Roedel
On Tue, Sep 20, 2016 at 10:43:55PM +0900, Magnus Damm wrote: > iommu/ipmmu-vmsa: IPMMU multi-arch update V5 > > [PATCH v5 01/07] iommu/ipmmu-vmsa: Remove platform data handling > [PATCH v5 02/07] iommu/ipmmu-vmsa: Rework interrupt code and use bitmap for > context > [PATCH v5 03/07] iommu/ipmmu-v

[PATCH] timekeeping.h: include the correct header for errno definitions

2016-09-22 Thread Christoph Hellwig
asm-generic headers are only defaults for architectures. We need to get the proper defintion, which goes through and . Signed-off-by: Christoph Hellwig --- include/linux/timekeeping.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/timekeeping.h b/include/linu

RE: [PATCH V3 2/4] ARM64 LPC: LPC driver implementation on Hip06

2016-09-22 Thread Gabriele Paoloni
Hi Arnd > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 22 September 2016 13:15 > To: Gabriele Paoloni > Cc: zhichang; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; lorenzo.pieral...@arm.com; miny...@acm.org; > linux-...@vger.kernel.org; gre.

Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes

2016-09-22 Thread Thomas Gleixner
On Thu, 22 Sep 2016, Davidlohr Bueso wrote: > On Thu, 22 Sep 2016, Thomas Gleixner wrote: > > Also what's the reason that we can't do probabilistic spinning for > > FUTEX_WAIT and have to add yet another specialized variant of futexes? > > Where would this leave the respective FUTEX_WAKE? A nop? P

Re: [PATCH v5 05/07] iommu/ipmmu-vmsa: Add new IOMMU_DOMAIN_DMA ops

2016-09-22 Thread Joerg Roedel
On Tue, Sep 20, 2016 at 10:44:46PM +0900, Magnus Damm wrote: > +#ifdef CONFIG_IOMMU_DMA > + > +static struct iommu_domain *ipmmu_domain_alloc_dma(unsigned type) > +{ > + struct iommu_domain *io_domain; > + > + if (type != IOMMU_DOMAIN_DMA) > + return NULL; > + > + io_domain

Re: [PATCH 2/4] mm, compaction: more reliably increase direct compaction priority

2016-09-22 Thread Michal Hocko
On Thu 22-09-16 16:08:21, Michal Hocko wrote: > On Thu 22-09-16 14:51:48, Vlastimil Babka wrote: > > >From 465e1bd61b7a6d6901a44f09b1a76514dbc220fa Mon Sep 17 00:00:00 2001 > > From: Vlastimil Babka > > Date: Thu, 22 Sep 2016 13:54:32 +0200 > > Subject: [PATCH] mm, compaction: more reliably increa

[tip:timers/core] clocksource/drivers/ti-32k: Prevent ftrace recursion

2016-09-22 Thread tip-bot for Jisheng Zhang
Commit-ID: 3aa601492babdf3acdec89e5aa9c44e1a357a4d8 Gitweb: http://git.kernel.org/tip/3aa601492babdf3acdec89e5aa9c44e1a357a4d8 Author: Jisheng Zhang AuthorDate: Thu, 22 Sep 2016 15:56:21 +0800 Committer: Thomas Gleixner CommitDate: Thu, 22 Sep 2016 16:49:19 +0200 clocksource/drivers/ti

[PATCH 2/2] staging: r8188eu: remove RFType member of odm_dm_struct structure

2016-09-22 Thread Ivan Safonov
rf_type is always equal to ODM_1T1R. So, only RF PATH A exists for r8188eu device... Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/odm.c | 35 - drivers/staging/rtl8188eu/hal/phy.c | 16 +++-- drivers/staging/rtl8188eu/hal/rtl81

[PATCH 1/2] staging: r8188eu: remove rf_type member of hal_data_8188e structure

2016-09-22 Thread Ivan Safonov
rf_type is always equal to RF_1T1R. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/bb_cfg.c| 5 + drivers/staging/rtl8188eu/hal/phy.c | 5 + drivers/staging/rtl8188eu/hal/rf_cfg.c| 5 + drivers/staging/rtl8188eu/hal/rtl8188e_dm.c

Re: [PATCH v21 00/20] perf, tools: Add support for PMU events in JSON format

2016-09-22 Thread Arnaldo Carvalho de Melo
oops, Jiri wasn't CCed, fixing it... Em Mon, Sep 19, 2016 at 09:28:20PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Sep 19, 2016 at 09:02:58PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Mon, Sep 19, 2016 at 08:37:53PM -0300, Arnaldo Carvalho de Melo escreveu: > > > yeah, changing tha

Re: [PATCH v7 0/6] perf annotate: Cross arch support + few fixes

2016-09-22 Thread Kim Phillips
On Thu, 22 Sep 2016 10:48:13 +0530 Ravi Bangoria wrote: > On Thursday 22 September 2016 01:04 AM, Kim Phillips wrote: > > On Wed, 21 Sep 2016 21:17:50 +0530 > > Ravi Bangoria wrote: > > > >> Kim, I don't have arm test machine. Can you please help me to test > >> this on arm. > > This works for m

Re: [PATCH v2 0/3] Move runnable tools from Documentation to tools

2016-09-22 Thread Jonathan Corbet
On Wed, 21 Sep 2016 18:51:10 -0600 Shuah Khan wrote: > Move runnable tools from Documentation to tools. I moved just the > tools code, and left documentation files as is. > > Based on the v1 series feedback, This v2 series moves accounting, > laptops/dslm, and pcmcia to tools. > > If v2 patches

Re: [BUG] perf report --pid not reporting correctly

2016-09-22 Thread Andi Kleen
> If not, I suggest to use --hierarchy mode with including the sort key > as the first one. In this case. It'll still show absolute > percentages of global total period, but you can see the desired result > easily IMHO. Please try something like this: > > $ perf report --hierarchy -s pid,cpu

Re: "CodingStyle: Clarify and complete chapter 7" in docs-next

2016-09-22 Thread Jean Delvare
On Thu, 22 Sep 2016 14:11:03 +0100, Al Viro wrote: > On Thu, Sep 22, 2016 at 01:57:58PM +0200, Jean Delvare wrote: > > > > > > MUST is much stronger language than I would prefer. > > > > That's what error means, really. When your compiler fails with an > > error, you have no choice but to fix you

Re: [RFC PATCH v1 09/28] x86/efi: Access EFI data as encrypted when SEV is active

2016-09-22 Thread Borislav Petkov
On Thu, Sep 22, 2016 at 04:45:51PM +0200, Paolo Bonzini wrote: > The main difference between the SME and SEV encryption, from the point > of view of the kernel, is that real-mode always writes unencrypted in > SME and always writes encrypted in SEV. But UEFI can run in 64-bit mode > and learn abou

Re: [PATCH 2/4] mm, compaction: more reliably increase direct compaction priority

2016-09-22 Thread Vlastimil Babka
On 09/22/2016 04:52 PM, Michal Hocko wrote: > On Thu 22-09-16 16:08:21, Michal Hocko wrote: >> On Thu 22-09-16 14:51:48, Vlastimil Babka wrote: >> > >From 465e1bd61b7a6d6901a44f09b1a76514dbc220fa Mon Sep 17 00:00:00 2001 >> > From: Vlastimil Babka >> > Date: Thu, 22 Sep 2016 13:54:32 +0200 >> > Su

Re: [RFC PATCH v1 04/28] x86: Secure Encrypted Virtualization (SEV) support

2016-09-22 Thread Borislav Petkov
On Mon, Aug 22, 2016 at 07:24:19PM -0400, Brijesh Singh wrote: > From: Tom Lendacky Subject: [RFC PATCH v1 04/28] x86: Secure Encrypted Virtualization (SEV) support Please start patch commit heading with a verb, i.e.: "x86: Add AMD Secure Encrypted Virtualization (SEV) support" -- Regards/Gru

Re: [PATCH V3 2/4] ARM64 LPC: LPC driver implementation on Hip06

2016-09-22 Thread Arnd Bergmann
On Thursday, September 22, 2016 2:47:14 PM CEST Gabriele Paoloni wrote: > > > static int of_empty_ranges_quirk(struct device_node *np) > > > { > > > if (IS_ENABLED(CONFIG_PPC)) { > > > @@ -503,7 +512,7 @@ static int of_translate_one(struct device_node > > *parent, struct of_bus *bus, > >

[PATCH v2 1/5] soc/fsl: Introduce DPAA 1.x BMan device driver

2016-09-22 Thread Claudiu Manoil
This driver enables the Freescale DPAA 1.x Buffer Manager block. BMan is a hardware accelerator that manages buffer pools. It allows CPUs and other accelerators connected to the SoC datapath to acquire and release buffers during data processing. Signed-off-by: Roy Pledge Signed-off-by: Claudiu M

Re: [PATCH 2/4] mm, compaction: more reliably increase direct compaction priority

2016-09-22 Thread Vlastimil Babka
On 09/22/2016 04:52 PM, Michal Hocko wrote: > On Thu 22-09-16 16:08:21, Michal Hocko wrote: >> On Thu 22-09-16 14:51:48, Vlastimil Babka wrote: >> > >From 465e1bd61b7a6d6901a44f09b1a76514dbc220fa Mon Sep 17 00:00:00 2001 >> > From: Vlastimil Babka >> > Date: Thu, 22 Sep 2016 13:54:32 +0200 >> > Su

[tip:timers/core] timekeeping: Include the correct header for errno definitions

2016-09-22 Thread tip-bot for Christoph Hellwig
Commit-ID: b536fd587044af02183b3c02690431b93154f0fa Gitweb: http://git.kernel.org/tip/b536fd587044af02183b3c02690431b93154f0fa Author: Christoph Hellwig AuthorDate: Thu, 22 Sep 2016 07:48:17 -0700 Committer: Thomas Gleixner CommitDate: Thu, 22 Sep 2016 17:02:55 +0200 timekeeping: Inclu

cifs mount regression in 4.8 and 4.4 stable

2016-09-22 Thread Seth Forshee
We've received reports from users of a cifs mount regression in our 4.4-based kernel, e.g. [1]. It is fixed by reverting the follwing commit from 4.8 which was applied to 4.4 stable: a6b5058 fs/cifs: make share unaccessible at root level mountable Testing against 4.8-rc7 shows that the problem i

Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes

2016-09-22 Thread Davidlohr Bueso
On Thu, 22 Sep 2016, Thomas Gleixner wrote: On Thu, 22 Sep 2016, Davidlohr Bueso wrote: On Thu, 22 Sep 2016, Thomas Gleixner wrote: > Also what's the reason that we can't do probabilistic spinning for > FUTEX_WAIT and have to add yet another specialized variant of futexes? Where would this lea

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