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

2016-09-22 Thread Vlastimil Babka
On 09/23/2016 06:04 AM, Hillf Danton wrote: >> >> 8< >> From a7921e57ba1189b9c08fc4879358a908c390e47c Mon Sep 17 00:00:00 2001 >> From: Vlastimil Babka >> Date: Thu, 22 Sep 2016 17:02:37 +0200 >> Subject: [PATCH] mm, page_alloc: pull no_progress_loops update to >> should_reclaim_retry() >

[PATCH] acpiexec: Move an acpiexec specific purposed new line to acpiexec specific file

2016-09-22 Thread Lv Zheng
> No need, Robert did it already: > > 1d435008fd9e ("Update an info message during table load phase.") Not exactly what I meant. I meant the following on top of the above mentioned commit. As the newline is an acpiexec specific logic, it should be kept in acpiexec, shouldn't be left polluting a c

[PATCH V2 1/2] PM / OPP: compatible string is not optional

2016-09-22 Thread Viresh Kumar
The OPP core code doesn't check for the compatible string today and any faulty binding will go unnoticed. Add a check in OPP core to take care of that. Signed-off-by: Viresh Kumar --- This patch replaces: "[PATCH 1/2] PM / OPP: compatible is an optional property". FWIW, I have checked that none

[PATCH] acpiexec: Move an acpiexec specific purposed new line to acpiexec specific file

2016-09-22 Thread Lv Zheng
> No need, Robert did it already: > > 1d435008fd9e ("Update an info message during table load phase.") Not exactly what I meant. I meant the following on top of the above mentioned commit. As the newline is an acpiexec specific logic, it should be kept in acpiexec, shouldn't be left polluting a c

Re: [PATCH] ASoC: simple-card: add support for aux devices

2016-09-22 Thread Nikita Yushchenko
Hi > This case, I think you want ... > > simple-audio-card,codec { > - sound-dai = <&codec1>; > + sound-dai = <&codec>; Oops... sure, thanks for noticing it. >>a microphone is attached. >> +- simple-audio-card,aux-devs

Re: [PATCH] fs/select: add vmalloc fallback for select(2)

2016-09-22 Thread Hillf Danton
> > The select(2) syscall performs a kmalloc(size, GFP_KERNEL) where size grows > with the number of fds passed. We had a customer report page allocation > failures of order-4 for this allocation. This is a costly order, so it might > easily fail, as the VM expects such allocation to have a lower-

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

2016-09-22 Thread Rui Teng
On 9/22/16 5:51 PM, 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 first part) of a hugetlb page

linux-next: Tree for Sep 23

2016-09-22 Thread Stephen Rothwell
Hi all, Changes since 20160922: The kbuild tree lost its build failure and warnings for PowerPC. The drm-misc tree gained a conflict against Linus' tree. The kvm-arm tree gained a build failure so I used the version from next-20160922. The userns tree gained a conflict against the net

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

2016-09-22 Thread Pramod Gurav
Hi Ritesh, Thanks for the inputs. On 22 September 2016 at 20:02, Ritesh Harjani wrote: > Hi Pramod, >> Thanks Ulf for the comments. Will check this and see if there is >> something of this sort we have to do to achieve auto tuning. >> Adding Ritesh who has been posting some SDHCI MSM patches

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

2016-09-22 Thread Michal Simek
On 22.9.2016 22:59, Sören Brinkmann wrote: > On Thu, 2016-09-22 at 18:51:29 +0530, Jagan Teki wrote: >> From: Jagan Teki >> >> Added basic dts support for MicroZed board. >> >> - UART >> - SDHCI >> - Ethernet >> >> Cc: Soren Brinkmann >> Cc: Michal Simek >> Signed-off-by: Jagan Teki >> --- >> C

fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3

2016-09-22 Thread kbuild test robot
Hi Dave, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b1f2beb87bb034bb209773807994279f90cace78 commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next date: 7 months a

[PATCH net-next] Documentation: devicetree: fix typo in MediaTek ethernet device-tree binding

2016-09-22 Thread sean.wang
From: Sean Wang fix typo in Documentation/devicetree/bindings/net/mediatek-net.txt Cc: devicet...@vger.kernel.org Reported-by: Sergei Shtylyov Signed-off-by: Sean Wang --- Documentation/devicetree/bindings/net/mediatek-net.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH net-next v2] Documentation: devicetree: revise ethernet device-tree binding about TRGMII

2016-09-22 Thread sean.wang
From: Sean Wang add phy-mode "trgmii" to Documentation/devicetree/bindings/net/ethernet.txt Cc: devicet...@vger.kernel.org Reported-by: Sergei Shtylyov Signed-off-by: Sean Wang --- Documentation/devicetree/bindings/net/ethernet.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) di

Re: [PATCH v2 2/2] i2c: aspeed: added documentation for Aspeed I2C driver

2016-09-22 Thread Joel Stanley
Hi Brendan, On Wed, Sep 21, 2016 at 3:35 AM, Brendan Higgins wrote: > First off, someone pointed out to me that the mapping that I used between > addresses and bus numbers is not actually valid for busses 8-14. > > This could be fixed by checking the offset, but I am wondering if that is > the ri

Re: [PATCH v2 5/5] mm/vmalloc.c: avoid endless loop under v[un]mapping improper ranges

2016-09-22 Thread zijun_hu
On 09/21/2016 12:34 PM, zijun_hu wrote: > From: zijun_hu > > fix the following bug: > - endless loop maybe happen when v[un]mapping improper ranges >whose either boundary is not aligned to page > > Signed-off-by: zijun_hu > --- > mm/vmalloc.c | 9 +++-- > 1 file changed, 7 insertions(

Re: [PATCH v2 1/1] lib/ioremap.c: avoid endless loop under ioremapping page unaligned ranges

2016-09-22 Thread zijun_hu
On 09/21/2016 12:19 PM, zijun_hu wrote: > From: zijun_hu > > endless loop maybe happen if either of parameter addr and end is not > page aligned for kernel API function ioremap_page_range() > > in order to fix this issue and alert improper range parameters to user > WARN_ON() checkup and roundin

Re: [PATCH 2/3] qemu: Implement virtio-pstore device

2016-09-22 Thread Namhyung Kim
On Thu, Sep 22, 2016 at 01:23:16PM +0100, Stefan Hajnoczi wrote: > On Sun, Sep 04, 2016 at 11:38:59PM +0900, Namhyung Kim wrote: > > +static void virtio_pstore_handle_io(VirtIODevice *vdev, VirtQueue *vq) > > +{ > > +VirtIOPstore *s = VIRTIO_PSTORE(vdev); > > +VirtQueueElement *elem; > > +

Re: [RFC] scripts: Include postprocessing script for memory allocation tracing

2016-09-22 Thread Janani Ravichandran
> On Sep 19, 2016, at 5:42 AM, Michal Hocko wrote: > > On Tue 13-09-16 14:04:49, Janani Ravichandran wrote: >> >>> On Sep 12, 2016, at 8:16 AM, Michal Hocko wrote: >> >> I’m using the function graph tracer to see how long __alloc_pages_nodemask() >> took. > > How can you map the function gra

Re: [PATCH 1/3] virtio: Basic implementation of virtio pstore driver

2016-09-22 Thread Namhyung Kim
Hi Stefan, On Thu, Sep 22, 2016 at 12:57:44PM +0100, Stefan Hajnoczi wrote: > On Sun, Sep 04, 2016 at 11:38:58PM +0900, Namhyung Kim wrote: > > The virtio pstore driver provides interface to the pstore subsystem so > > that the guest kernel's log/dump message can be saved on the host > > machine.

Re: [PATCH net-next 0/4] net: dsa: add port fast ageing

2016-09-22 Thread Florian Fainelli
On 09/22/2016 01:49 PM, Vivien Didelot wrote: > Today the DSA drivers are in charge of flushing the MAC addresses > associated to a port when its STP state changes from Learning or > Forwarding, to Disabled or Blocking or Listening. > > This makes the drivers more complex and hides this generic

[tip:locking/urgent] locking/hung_task: Fix typo in CONFIG_DETECT_HUNG_TASK help text

2016-09-22 Thread tip-bot for Vivien Didelot
Commit-ID: 96b03ab86d843524ec4aed7fe0ceef412c684c68 Gitweb: http://git.kernel.org/tip/96b03ab86d843524ec4aed7fe0ceef412c684c68 Author: Vivien Didelot AuthorDate: Thu, 22 Sep 2016 16:55:13 -0400 Committer: Ingo Molnar CommitDate: Fri, 23 Sep 2016 07:30:04 +0200 locking/hung_task: Fix ty

[tip:sched/core] objtool: Add do_task_dead() to global noreturn list

2016-09-22 Thread tip-bot for Josh Poimboeuf
Commit-ID: c1fad9ef7ed14aad464972e6444e7a3bd5670f26 Gitweb: http://git.kernel.org/tip/c1fad9ef7ed14aad464972e6444e7a3bd5670f26 Author: Josh Poimboeuf AuthorDate: Thu, 22 Sep 2016 16:21:25 -0500 Committer: Ingo Molnar CommitDate: Fri, 23 Sep 2016 07:28:05 +0200 objtool: Add do_task_dead

[PATCH] Fix a issue that Alps Touchpad cursor does not work

2016-09-22 Thread Masaki Ota
fix Touchpad cursor does not work after touching Touchpad by 3 or more fingers. Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/hid/hid-alps.c b/drivers/hid/hid-alps.c index 048befd..610df92 100644 ---

[tip:perf/core] perf hists: Make hists__fprintf_headers function global

2016-09-22 Thread tip-bot for Jiri Olsa
Commit-ID: 2d831454140f28fa643b78deede4511b9e2c9e5f Gitweb: http://git.kernel.org/tip/2d831454140f28fa643b78deede4511b9e2c9e5f Author: Jiri Olsa AuthorDate: Thu, 22 Sep 2016 17:36:37 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 22 Sep 2016 13:08:59 -0300 perf hists: Make

[tip:perf/core] perf tools: Make several sorting functions global

2016-09-22 Thread tip-bot for Jiri Olsa
Commit-ID: 5fe7b9b47c646dbe8501378eb3684ccd802d6d25 Gitweb: http://git.kernel.org/tip/5fe7b9b47c646dbe8501378eb3684ccd802d6d25 Author: Jiri Olsa AuthorDate: Thu, 22 Sep 2016 17:36:34 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 22 Sep 2016 13:08:57 -0300 perf tools: Make

[tip:perf/core] perf hists: Make __hist_entry__snprintf function global

2016-09-22 Thread tip-bot for Jiri Olsa
Commit-ID: bd28d0c59805b88001fcc8ad5c6f913d86d8e5c2 Gitweb: http://git.kernel.org/tip/bd28d0c59805b88001fcc8ad5c6f913d86d8e5c2 Author: Jiri Olsa AuthorDate: Thu, 22 Sep 2016 17:36:36 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 22 Sep 2016 13:08:58 -0300 perf hists: Make

[tip:perf/core] perf tools: Make several display functions global

2016-09-22 Thread tip-bot for Jiri Olsa
Commit-ID: 98ba1609298ccc849ddfe727c675c3a7b48b8dbc Gitweb: http://git.kernel.org/tip/98ba1609298ccc849ddfe727c675c3a7b48b8dbc Author: Jiri Olsa AuthorDate: Thu, 22 Sep 2016 17:36:35 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 22 Sep 2016 13:08:58 -0300 perf tools: Make

[tip:perf/core] perf hists: Add __hist_entry__snprintf function

2016-09-22 Thread tip-bot for Jiri Olsa
Commit-ID: 9da44db1493a9d384ddc1bcd1553a1803ff985b6 Gitweb: http://git.kernel.org/tip/9da44db1493a9d384ddc1bcd1553a1803ff985b6 Author: Jiri Olsa AuthorDate: Thu, 22 Sep 2016 17:36:29 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 22 Sep 2016 13:08:56 -0300 perf hists: Add _

[tip:perf/core] perf tools: Make reset_dimensions global

2016-09-22 Thread tip-bot for Jiri Olsa
Commit-ID: bcf98740a28579d9412afa9a72e463da386a55a6 Gitweb: http://git.kernel.org/tip/bcf98740a28579d9412afa9a72e463da386a55a6 Author: Jiri Olsa AuthorDate: Thu, 22 Sep 2016 17:36:32 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 22 Sep 2016 13:08:56 -0300 perf tools: Make

[tip:perf/core] perf tools: Make output_field_add and sort_dimension__add global

2016-09-22 Thread tip-bot for Jiri Olsa
Commit-ID: a76490e4cd5d971d6f6c22aeed0625bb352d2a08 Gitweb: http://git.kernel.org/tip/a76490e4cd5d971d6f6c22aeed0625bb352d2a08 Author: Jiri Olsa AuthorDate: Thu, 22 Sep 2016 17:36:33 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 22 Sep 2016 13:08:57 -0300 perf tools: Make

[tip:perf/core] perf tools: Add sink configuration for cs_etm PMU

2016-09-22 Thread tip-bot for Mathieu Poirier
Commit-ID: 3becf4525d9c0fb9cf8ff657b2aec1c733bc742f Gitweb: http://git.kernel.org/tip/3becf4525d9c0fb9cf8ff657b2aec1c733bc742f Author: Mathieu Poirier AuthorDate: Fri, 16 Sep 2016 09:50:04 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 22 Sep 2016 13:08:55 -0300 perf tools:

[tip:perf/core] perf pmu: Push configuration down to PMU driver

2016-09-22 Thread tip-bot for Mathieu Poirier
Commit-ID: 859442bd3fcbe326a9c0174c6105c938eb101438 Gitweb: http://git.kernel.org/tip/859442bd3fcbe326a9c0174c6105c938eb101438 Author: Mathieu Poirier AuthorDate: Fri, 16 Sep 2016 09:50:02 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 22 Sep 2016 12:19:41 -0300 perf pmu: P

[tip:perf/core] perf tools: Add PMU configuration to tools

2016-09-22 Thread tip-bot for Mathieu Poirier
Commit-ID: 5d8bb1ec7477e0e53dbd891733682a6583d4398e Gitweb: http://git.kernel.org/tip/5d8bb1ec7477e0e53dbd891733682a6583d4398e Author: Mathieu Poirier AuthorDate: Fri, 16 Sep 2016 09:50:03 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 22 Sep 2016 13:07:36 -0300 perf tools:

[tip:perf/core] perf tools: Add coresight etm PMU record capabilities

2016-09-22 Thread tip-bot for Mathieu Poirier
Commit-ID: a818c563ae16640e00389a39e7b0e7ae4bd3d64c Gitweb: http://git.kernel.org/tip/a818c563ae16640e00389a39e7b0e7ae4bd3d64c Author: Mathieu Poirier AuthorDate: Fri, 16 Sep 2016 09:50:00 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 22 Sep 2016 12:19:40 -0300 perf tools:

[tip:perf/core] perf tools: Make coresight PMU listable

2016-09-22 Thread tip-bot for Mathieu Poirier
Commit-ID: 7e21b0d579a481e2e7064c6383d5873d841777a8 Gitweb: http://git.kernel.org/tip/7e21b0d579a481e2e7064c6383d5873d841777a8 Author: Mathieu Poirier AuthorDate: Fri, 16 Sep 2016 09:49:59 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 22 Sep 2016 12:19:35 -0300 perf tools:

[tip:perf/core] perf evsel: Remove superfluous initialization of weight

2016-09-22 Thread tip-bot for Jiri Olsa
Commit-ID: 82deb8a242cd8aceaf553c9fb731f91dbdc1f9a6 Gitweb: http://git.kernel.org/tip/82deb8a242cd8aceaf553c9fb731f91dbdc1f9a6 Author: Jiri Olsa AuthorDate: Mon, 19 Sep 2016 15:09:11 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Sep 2016 12:07:24 -0300 perf evsel: Remov

[tip:perf/core] perf tools: Confine __get_cpuid() to x86 architecture

2016-09-22 Thread tip-bot for Mathieu Poirier
Commit-ID: 08d5204adbf845fadd936aae7639fc05d4eddee1 Gitweb: http://git.kernel.org/tip/08d5204adbf845fadd936aae7639fc05d4eddee1 Author: Mathieu Poirier AuthorDate: Fri, 16 Sep 2016 09:49:58 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 22 Sep 2016 12:19:30 -0300 perf tools:

[PATCH 2/3] f2fs: support checkpoint error injection

2016-09-22 Thread Chao Yu
This patch adds to support checkpoint error injection in f2fs for testing fatal error tolerance. Signed-off-by: Chao Yu --- fs/f2fs/f2fs.h | 7 +++ fs/f2fs/super.c | 1 + 2 files changed, 8 insertions(+) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index e216bc0..3c513fe 100644 --- a/fs/f2

[PATCH 1/3] f2fs: adjust display format of segment bit

2016-09-22 Thread Chao Yu
Just adjust segment bit info printed in procfs. Before: 1008 5|0 |0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1009 3|183|0 0 61 20 20 0 0 21 80 c0 2 e4 e 54 0 21 21 17 a 44 d0 28 e4 50 40 30 8 0 2d 32

[PATCH 3/3] f2fs: fix potential deadlock when hitting checkpoint error

2016-09-22 Thread Chao Yu
tests/generic/013 of fstest suit complains us with below dmesg when we trigger checkpoint error injection in f2fs. F2FS-fs : inject checkpoint error in sync_node_pages+0x69f/0x6f0 [f2fs] F2FS-fs (zram0): Cannot recover all fsync data errno=-5 INFO: task mount:97685 blocked for more than 120 second

[tip:perf/core] perf hists: Use bigger buffer for stdio headers

2016-09-22 Thread tip-bot for Jiri Olsa
Commit-ID: d5278220be663753a011910c194d50758cd8dc98 Gitweb: http://git.kernel.org/tip/d5278220be663753a011910c194d50758cd8dc98 Author: Jiri Olsa AuthorDate: Mon, 19 Sep 2016 15:09:13 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Sep 2016 12:14:59 -0300 perf hists: Use b

Re: [GIT PULL 00/15] perf/core improvements and fixes

2016-09-22 Thread Ingo Molnar
160920' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core > (2016-09-20 23:32:02 +0200) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/

Re: [PATCH 1/2] PM / OPP: compatible is an optional property

2016-09-22 Thread Viresh Kumar
On 22-09-16, 12:24, Stephen Boyd wrote: > On 09/21/2016 02:32 AM, Viresh Kumar wrote: > > It was never compulsory to have a compatible string in the OPP table. > > Fix the documentation to mark it optional. > > > > Also update its description a bit. > > > > Signed-off-by: Viresh Kumar > > --- > >

Re: [PATCH 3/5] mm/vmalloc.c: correct lazy_max_pages() return value

2016-09-22 Thread zijun_hu
On 2016/9/23 11:30, Nicholas Piggin wrote: > On Fri, 23 Sep 2016 00:30:20 +0800 > zijun_hu wrote: > >> On 2016/9/22 20:37, Michal Hocko wrote: >>> On Thu 22-09-16 09:13:50, zijun_hu wrote: On 09/22/2016 08:35 AM, David Rientjes wrote: >>> [...] > The intent is as it is implemented;

Re: [PATCH 4/4] cpuidle/menu: add per cpu pm_qos_resume_latency consideration

2016-09-22 Thread Alex Shi
On 09/23/2016 09:36 AM, Rafael J. Wysocki wrote: > On 9/14/2016 10:28 AM, Vincent Guittot wrote: >> Hi Rafael, >> >> On 14 September 2016 at 00:10, Rafael J. Wysocki >> wrote: >>> On Tuesday, September 13, 2016 10:02:49 PM Alex Shi wrote: Hi Daniel & Rafael, Any comments on this p

[PATCH] block: Change BIO_RESET_BITS to current proper value

2016-09-22 Thread Yunlong Song
Signed-off-by: Yunlong Song --- include/linux/blk_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h index 436f43f..b7221b3 100644 --- a/include/linux/blk_types.h +++ b/include/linux/blk_types.h @@ -117,7 +117,7 @@ str

linux-next: manual merge of the userns tree with the net-next tree

2016-09-22 Thread Stephen Rothwell
Hi Eric, Today's linux-next merge of the userns tree got a conflict in: include/linux/sysctl.h between commit: e79c6a4fc923 ("net: make net namespace sysctls belong to container's owner") from the net-next tree and commit: 13bcc6a28534 ("sysctl: Stop implicitly passing current into sys

Re: taint/module: Clean up global and module taint flags handling

2016-09-22 Thread Jessica Yu
+++ Petr Mladek [21/09/16 13:47 +0200]: The commit 66cc69e34e86a231 ("Fix: module signature vs tracepoints: add new TAINT_UNSIGNED_MODULE") updated module_taint_flags() to potentially print one more character. But it did not increase the size of the corresponding buffers in m_show() and print_mod

[PATCH] staging: wlan-ng: avoid to introduce new typedefs

2016-09-22 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211types.h: WARNING: do not add new typedefs Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/cfg80211.c | 12 +- drivers/staging/wlan-ng/p80211metastruct.h | 248 ++--- drivers/staging/wlan-

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-22 Thread Ian Kent
On Thu, 2016-09-22 at 20:37 -0500, Eric W. Biederman wrote: > Ian Kent writes: > > > On Thu, 2016-09-22 at 10:43 -0500, Eric W. Biederman wrote: > > > Ian Kent writes: > > > > > > > Eric, Mateusz, I appreciate your spending time on this and particularly > > > > pointing > > > > out my embarrass

[RFC PATCH 1/2] mmc: dw_mmc: add runtime PM callback

2016-09-22 Thread Shawn Lin
This patch add dw_mci_runtime_suspend/resume interfaces and expose it to dw_mci variant driver to support runtime PM. Signed-off-by: Shawn Lin --- drivers/mmc/host/dw_mmc.c | 60 +-- drivers/mmc/host/dw_mmc.h | 4 +++- 2 files changed, 61 insertions

[RFC PATCH 0/2] Init runtime PM support for dw_mmc

2016-09-22 Thread Shawn Lin
Hi Jaehoon and Ulf, This a patchset going to support runtime PM for dw_mmc. Basically it is a prototype design with some redundant code there. But I think it's okay to send it out for sure I am not heading in the wrong direction. Still something more need to support: (1) Support switching sd det

[RFC PATCH 2/2] mmc: dw_mmc-rockchip: add runtime PM support

2016-09-22 Thread Shawn Lin
This patch adds runtime PM support for dw_mmc-rockchip. Signed-off-by: Shawn Lin --- drivers/mmc/host/dw_mmc-rockchip.c | 57 -- 1 file changed, 54 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/dw_mmc-rockchip.c b/drivers/mmc/host/dw_mmc-rockc

Re: [PATCH] Work around for enabling CONFIG_CMDLINE on ppc64le

2016-09-22 Thread Akshay Adiga
Hi Michael, Anton found this bug and raised it against gcc v7.0 and a fix is available in upstream gcc. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71709 Currently, gcc v5.4.0 and v6.1.1 shipped with Ubuntu 16.04 and 16.10 respectively, are hitting this problem. I have also raise

Re: [PATCH 5/5] arm64: Add uprobe support

2016-09-22 Thread Pratyush Anand
On 22/09/2016:05:50:30 PM, Catalin Marinas wrote: > On Thu, Sep 22, 2016 at 08:53:28AM +0530, Pratyush Anand wrote: > > On 21/09/2016:06:04:04 PM, Catalin Marinas wrote: > > > On Wed, Sep 21, 2016 at 04:30:47PM +0530, Pratyush Anand wrote: > > > > On 20/09/2016:05:59:46 PM, Catalin Marinas wrote: >

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

2016-09-22 Thread Hillf Danton
> > 8< > From a7921e57ba1189b9c08fc4879358a908c390e47c Mon Sep 17 00:00:00 2001 > From: Vlastimil Babka > Date: Thu, 22 Sep 2016 17:02:37 +0200 > Subject: [PATCH] mm, page_alloc: pull no_progress_loops update to > should_reclaim_retry() > > The should_reclaim_retry() makes decisions bas

Re: [PATCH v3 3/3] xen/pciback: support driver_override

2016-09-22 Thread Juergen Gross
On 22/09/16 23:10, Boris Ostrovsky wrote: > On 09/22/2016 04:45 AM, Juergen Gross wrote: >> Support the driver_override scheme introduced with commit 782a985d7af2 >> ("PCI: Introduce new device binding path using pci_dev.driver_override") >> >> As pcistub_probe() is called for all devices (it has t

[PATCH 2/2] armv8: aarch32: Add SMP support for 32-bit Linux kernel

2016-09-22 Thread Alison Wang
The patch adds SMP support for running 32-bit Linux kernel for Layerscape platforms. Spin-table method is used for SMP support. Signed-off-by: Alison Wang Signed-off-by: Chenhui Zhao --- arch/arm/mach-imx/common.h | 1 + arch/arm/mach-imx/mach-layerscape.c | 1 + arch/arm/mach-imx/pl

[PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape platforms

2016-09-22 Thread Alison Wang
The ARMv8 architecture supports: 1. 64-bit execution state, AArch64. 2. 32-bit execution state, AArch32, that is compatible with previous versions of the ARM architecture. LayerScape platforms are compliant with ARMv8 architecture. This patch is to support running 32-bit Linux kernel for LayerScap

Re: [PATCH v3 2/3] xen/pciback: avoid multiple entries in slot list

2016-09-22 Thread Juergen Gross
On 22/09/16 23:02, Boris Ostrovsky wrote: > On 09/22/2016 04:45 AM, Juergen Gross wrote: >> The Xen pciback driver has a list of all pci devices it is ready to >> seize. There is no check whether a to be added entry already exists. >> While this might be no problem in the common case it might confu

drivers/gpio/gpiolib.c:3215: undefined reference to `of_get_named_gpiod_flags'

2016-09-22 Thread kbuild test robot
Hi Linus, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b1f2beb87bb034bb209773807994279f90cace78 commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM date: 5 weeks ag

[GIT PULL] configfs fix for 4.8-rc8

2016-09-22 Thread Christoph Hellwig
Hi Linus, The following changes since commit 024c7e3756d8a42fc41fe8a9488488b9b09d1dcc: Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm (2016-09-15 15:15:41 -0700) are available in the git repository at: git://git.infradead.org/users/hch/configfs.git tags/configfs-for-4.8

Re: [PATCH] dmaengine: imx-sdma: fix merge conflict

2016-09-22 Thread Vinod Koul
On Thu, Sep 22, 2016 at 01:42:35PM +0200, Arnd Bergmann wrote: > On Thursday, September 15, 2016 5:50:49 PM CEST Arnd Bergmann wrote: > > The sdma_handle_channel_loop() function was modified in one patch > > and removed in another, and the merge between those patches left > > an unused function in

Re: [PATCH net-next v2 1/3] net: ethernet: mediatek: add extension of phy-mode for TRGMII

2016-09-22 Thread Sean Wang
Date: Thu, 22 Sep 2016 14:30:53 +0300, Sergei Shtylyov wrote: >>Hello. > >On 9/22/2016 5:33 AM, sean.w...@mediatek.com wrote: > >> From: Sean Wang >> >> adds PHY-mode "trgmii" as an extension for the operation mode of the >> PHY interface for PHY_INTERFACE_MODE_TRGMII. .. deleted >> swit

[PATCH] power: supply: bq24910_charger: reset first_time check

2016-09-22 Thread Matt Ranostay
bq24190_register_reset() function needs to reset the bdi->first_time condition every time to avoid spurious interrupts in suspend/resume. Signed-off-by: Matt Ranostay --- drivers/power/supply/bq24190_charger.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/power/su

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

2016-09-22 Thread Namhyung Kim
Hi Jiri, On Thu, Sep 22, 2016 at 10:36 PM, Jiri Olsa wrote: > 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%

linux-next: build failure after merge of the kvm-arm tree

2016-09-22 Thread Stephen Rothwell
; scripts/Makefile.build:290: recipe for target 'drivers/irqchip/irq-gic-v3.o' failed Maybe caused by commit 4f2546384150 ("ARM: Move system register accessors to asm/cp15.h") I have used the kvm-arm tree from next-20160922 for today. -- Cheers, Stephen Rothwell

Re: [PATCH 3/5] mm/vmalloc.c: correct lazy_max_pages() return value

2016-09-22 Thread Nicholas Piggin
On Fri, 23 Sep 2016 00:30:20 +0800 zijun_hu wrote: > On 2016/9/22 20:37, Michal Hocko wrote: > > On Thu 22-09-16 09:13:50, zijun_hu wrote: > >> On 09/22/2016 08:35 AM, David Rientjes wrote: > > [...] > >>> The intent is as it is implemented; with your change, lazy_max_pages() is > >>> pote

[PATCH v5 2/5] ACPICA: Parser: Fix a regression in LoadTable support

2016-09-22 Thread Lv Zheng
ACPICA commit a78506e0ce8ab1d20db2a055d99cf9143e89eb29 LoadTable allows an alternative RootPathString than the default "\", while the new table execution support fails to keep this logic. This regression can be detected by ASLTS - TLT0.tst4, this patch fixes this regression. Linux upstream is no

[PATCH v5 3/5] ACPI 2.0 / AML: Enable correct ACPI subsystem initialization order for new table loading mode

2016-09-22 Thread Lv Zheng
This patch enables the following initialization order for the new table loading mode (which is enabled by setting acpi_gbl_parse_table_as_term_list to TRUE): 1. Install default region handlers (SystemMemory, SystemIo, PciConfig, EmbeddedControl via ECDT) without evaluating _REG; 2. Load th

[PATCH v5 4/5] ACPI 2.0 / AML: Improve module level execution by moving the If/Else/While execution to per-table basis

2016-09-22 Thread Lv Zheng
This reverts commit 00c611def8748a0a1cf1d31842e49b42dfdb3de1. Signed-off-by: Lv Zheng --- include/acpi/acpixf.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index c7b3a13..169ec81 100644 --- a/include/acpi/acpixf.h +++ b/inc

[PATCH v5 5/5] ACPI 2.0 / AML: Fix module level execution by correctly parsing table as TermList

2016-09-22 Thread Lv Zheng
This experiment follows de-facto standard behavior, parsing entire table as a single TermList, so that all module level executions are possible during the table loading. If regressions are found against the enabling of this experimental fix, this patch is the only one that should get bisected out.

[PATCH v5 1/5] ACPICA: Tables: Fix "UNLOAD" code path lock issues

2016-09-22 Thread Lv Zheng
ACPICA commit 39227380f5b99c51b897a3ffedd88508aa26789b The previous lock fixes didn't cover "Unload" opcode and table unload APIs, this patch fixes lock issues in the "Unload" code path. BZ 1325, Lv Zheng. Link: https://github.com/acpica/acpica/commit/39227380 Link: https://bugs.acpica.org/show_b

[PATCH v5 0/5] ACPI 2.0: Stop defer-executing module level code

2016-09-22 Thread Lv Zheng
After fixing ACPICA internal locking issues, we can enable the correct grammar support for the table loading. The new grammar treats the entire table as TermList rather than ObjectList, thus the module level code should be executed right in place. MLC (module level code) is an ACPICA terminology d

Re: [PATCH] sched/debug: check p->se.on_rq for 'runnable tasks'

2016-09-22 Thread Zhu Yanhai
2016-09-22 18:08 GMT+08:00 Peter Zijlstra : > On Thu, Sep 22, 2016 at 05:50:53PM +0800, Zhu Yanhai wrote: >> From: Zhu Yanhai >> >> I can't see why the check was removed by commit b32e86b4. Since it was not >> relevant to the subject of the commit, I guess it was just a plain typo. > > No, it was

[PATCH v6 1/2] qe: modify get_qe_base function

2016-09-22 Thread Zhao Qiang
modify get_qe_base function with of_address_to_resource instead of of_get_property and of_translate_address. Signed-off-by: Zhao Qiang --- Changes for v2: - na Changes for v3: - na Changes for v4: - na Changes for v5: - na Changes for v6: - na drivers/soc

[PATCH v6 2/2] QE: remove PPCisms for QE

2016-09-22 Thread Zhao Qiang
QE was supported on PowerPC, and dependent on PPC, Now it is supported on other platforms. so remove PPCisms. Signed-off-by: Zhao Qiang --- Changes for v2: - na Changes for v3: - add NO_IRQ Changes for v4: - modify spin_event_timeout to opencoded timeout loop - rem

Re: [PATCH 4.4 000/118] 4.4.22-stable review

2016-09-22 Thread Guenter Roeck
On 09/22/2016 10:28 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.22 release. There are 118 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [PATCH net-next] Documentation: devicetree: revise ethernet device-tree binding about TRGMII

2016-09-22 Thread Sean Wang
Date: Thu, 22 Sep 2016 19:48:47 +0300, Sergei Shtylyov wrote: >On 09/22/2016 07:16 PM, sean.w...@mediatek.com wrote: > >> From: Sean Wang >> >> fix typo in mediatek-net.txt and add phy-mode "trgmii" to ethernet.txt > >These changes are unrelated to each other, so there should be 2 separate

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

2016-09-22 Thread Jisheng Zhang
On Thu, 22 Sep 2016 22:45:14 -0400 Steven Rostedt wrote: > On Fri, 23 Sep 2016 10:04:31 +0800 > Jisheng Zhang wrote: > > > Hi Thomas, > > > > On Thu, 22 Sep 2016 15:58:03 +0200 Thomas Gleixner wrote: > > > > > On Thu, 22 Sep 2016, Jisheng Zhang wrote: > > > > > > > Currently ti-32k can

[PATCH RT 02/10] timers: wakeup all timer waiters without holding the base lock

2016-09-22 Thread Steven Rostedt
3.14.79-rt85-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior There should be no need to hold the base lock during the wakeup. There should be no boosting involved, the wakeup list has its own lock so it should be safe

[PATCH RT 01/10] timers: wakeup all timer waiters

2016-09-22 Thread Steven Rostedt
3.14.79-rt85-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior The base lock is dropped during the invocation if the timer. That means it is possible that we have one waiter while timer1 is running and once this one fin

[PATCH RT 10/10] Linux 3.14.79-rt85-rc1

2016-09-22 Thread Steven Rostedt
3.14.79-rt85-rc1 stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index fc6ea32352bc..f4f446dc00a4

[PATCH RT 07/10] fs/dcache: resched/chill only if we make no progress

2016-09-22 Thread Steven Rostedt
3.14.79-rt85-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior Upstream commit 47be61845c77 ("fs/dcache.c: avoid soft-lockup in dput()") changed the condition _when_ cpu_relax() / cond_resched() was invoked. This change

[PATCH RT 09/10] fs/dcache: incremental fixup of the retry routine

2016-09-22 Thread Steven Rostedt
3.14.79-rt85-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior It has been pointed out by tglx that on UP the non-RT task could spin its entire time slice because the lock owner is preempted. This won't happen on !RT. S

[PATCH RT 03/10] sched: lazy_preempt: avoid a warning in the !RT case

2016-09-22 Thread Steven Rostedt
3.14.79-rt85-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Steven Rostedt --- kernel/sched/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

[PATCH RT 08/10] x86/preempt-lazy: fixup should_resched()

2016-09-22 Thread Steven Rostedt
3.14.79-rt85-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior should_resched() returns true if NEED_RESCHED is set and the preempt_count is 0 _or_ if NEED_RESCHED_LAZY is set ignoring the preempt counter. Ignoring the

[PATCH RT 05/10] net: add back the missing serialization in ip_send_unicast_reply()

2016-09-22 Thread Steven Rostedt
3.14.79-rt85-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior Some time ago Sami Pietikainen reported a crash on -RT in ip_send_unicast_reply() which was later fixed by Nicholas Mc Guire (v3.12.8-rt11). Later (v3.18.8)

[PATCH RT 06/10] net: add a lock around icmp_sk()

2016-09-22 Thread Steven Rostedt
3.14.79-rt85-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior It looks like the this_cpu_ptr() access in icmp_sk() is protected with local_bh_disable(). To avoid missing serialization in -RT I am adding here a local lo

[PATCH RT 00/10] Linux 3.14.79-rt85-rc1

2016-09-22 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 3.14.79-rt85-rc1. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release can

[PATCH RT 04/10] scsi/fcoe: Fix get_cpu()/put_cpu_light() imbalance in fcoe_recv_frame()

2016-09-22 Thread Steven Rostedt
3.14.79-rt85-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith During master->rt merge, I stumbled across the buglet below. Fix get_cpu()/put_cpu_light() imbalance. Cc: stable...@vger.kernel.org Signed-off-by: Mike Gabraith Sig

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

2016-09-22 Thread Steven Rostedt
On Fri, 23 Sep 2016 10:04:31 +0800 Jisheng Zhang wrote: > Hi Thomas, > > On Thu, 22 Sep 2016 15:58:03 +0200 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()

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

2016-09-22 Thread Waiman Long
On 09/22/2016 09:32 AM, Thomas Gleixner wrote: 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

Re: [PATCH 1/2] shmem: fix tmpfs to handle the huge= option properly

2016-09-22 Thread Hugh Dickins
On Thu, 22 Sep 2016, Aneesh Kumar K.V wrote: > Toshi Kani writes: > > > shmem_get_unmapped_area() checks SHMEM_SB(sb)->huge incorrectly, > > which leads to a reversed effect of "huge=" mount option. > > > > Fix the check in shmem_get_unmapped_area(). > > > > Note, the default value of SHMEM_SB(sb

Re: [PATCH -v3 00/10] THP swap: Delay splitting THP during swapping out

2016-09-22 Thread Huang, Ying
Rik van Riel writes: > On Thu, 2016-09-22 at 15:56 -0700, Shaohua Li wrote: >> On Wed, Sep 07, 2016 at 09:45:59AM -0700, Huang, Ying wrote: >> >  >> > - It will help the memory fragmentation, especially when the THP is >> >   heavily used by the applications.  The 2M continuous pages will >> > be

arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'

2016-09-22 Thread kbuild test robot
Hi Guenter, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b1f2beb87bb034bb209773807994279f90cace78 commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error with binutils 2.24 and earlier date

Re: [PATCH] ASoC: cq93vc: duplicated callback function goes to component

2016-09-22 Thread Kuninori Morimoto
Hi > A cleanup removed a couple of members from struct snd_soc_codec_driver > after changing codec drivers to no longer use them, but one codec > was missed in the process, giving a build error: > > sound/soc/codecs/cq93vc.c:134:2: error: unknown field 'controls' specified in > initializer >

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

2016-09-22 Thread Baolin Wang
Hi, On 22 September 2016 at 20:53, Felipe Balbi wrote: > > > Hi, > > Baolin Wang writes: static const struct usb_gadget_driver configfs_driver_template = { .bind = configfs_composite_bind, .unbind = configfs_composite_unbind, +#ifdef CONFIG

Re: [PATCH -v3 00/10] THP swap: Delay splitting THP during swapping out

2016-09-22 Thread Huang, Ying
Hi, Shaohua, Thanks for comments! Shaohua Li writes: > On Wed, Sep 07, 2016 at 09:45:59AM -0700, Huang, Ying wrote: >> >> The advantages of the THP swap support include: Sorry for confusing. This is the advantages of the final goal, that is, avoid splitting/collapsing the THP during swap out

Re: [PATCH] cfq: fix starvation of asynchronous writes

2016-09-22 Thread Jens Axboe
On 09/22/2016 06:59 PM, Glauber Costa wrote: While debugging timeouts happening in my application workload (ScyllaDB), I have observed calls to open() taking a long time, ranging everywhere from 2 seconds - the first ones that are enough to time out my application - to more than 30 seconds. The

  1   2   3   4   5   6   7   8   9   10   >