Re: BUG_ON() in workingset_node_shadows_dec() triggers

2016-10-04 Thread Raymond Jennings
On Mon, Oct 3, 2016 at 9:12 PM, Linus Torvalds wrote: On Mon, Oct 3, 2016 at 9:07 PM, Andrew Morton wrote: Well, it's a VM_BUG_ON and few people run with CONFIG_DEBUG_VM. Ehh. If by "few people" you mean "pretty much everybody", you'd be right, but your choice of wording would be somewhat

Re: [PATCH] perf powerpc: Don't call perf_event_disable from atomic context

2016-10-04 Thread Peter Zijlstra
On Tue, Oct 04, 2016 at 03:29:33PM +1100, Michael Ellerman wrote: > Peter Zijlstra writes: > > So it would be good to also explain why PPC needs this in the first > > place. > > Unfortunately I don't really know the code, and the original author is AWOL. > > But AFAICS perf_event_disable() is on

Re: [PATCH 0/3] ABI CHANGE!!! Remove questionable remote SP reads

2016-10-04 Thread Raymond Jennings
My personal opinion is that even looking at esp/rsp is asking for trouble. The only reliable information is VM_STACK or another VM flag that makes the area expand in response to stack growth. Besides, userspace could always play funky trampoline games with the stack pointer, or even dynamical

Re: [PATCH -resend 4/6] mdacon: enable COMPILE_TEST build

2016-10-04 Thread Jiri Slaby
On 10/03/2016, 11:35 AM, Geert Uytterhoeven wrote: >> - depends on !M68K && !PARISC && ISA >> + depends on !M68K && !PARISC && (ISA || COMPILE_TEST) > > My first thought was > > depends on (!M68K && !PARISC && ISA) || COMPILE_TEST > > but arch/m68k/include/asm/vga.h doesn't defin

Re: [PATCH] coredump: fix unfreezable coredumping task

2016-10-04 Thread Michal Hocko
On Fri 30-09-16 14:47:41, Oleg Nesterov wrote: > On 09/30, Andrey Ryabinin wrote: > > > > @@ -423,7 +424,9 @@ static int coredump_wait(int exit_code, struct > > core_state *core_state) > > if (core_waiters > 0) { > > struct core_thread *ptr; > > > > + freezer_do_not_cou

[PATCH] serial: pl011: add console matching function

2016-10-04 Thread Aleksey Makarov
This patch adds function pl011_console_match() that implements method match of struct console. It allows to match consoles against data specified in a string, for example taken from command line or compiled by ACPI SPCR table handler. This patch was merged to tty-next but then reverted because of

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

2016-10-04 Thread Uwe Kleine-König
On Fri, Sep 30, 2016 at 01:04:28PM +0200, Richard Genoud wrote: > 2016-09-30 11:12 GMT+02:00 Uwe Kleine-König : > > Hello Richard, > > > > On Fri, Sep 30, 2016 at 10:58:00AM +0200, Richard Genoud wrote: > >> Commit 1cf6e8fc8341 ("tty/serial: at91: fix RTS line management when > >> hardware handshak

Re: [PATCH 3/3] Revert "ACPI,PCI,IRQ: remove SCI penalize function"

2016-10-04 Thread Thomas Gleixner
On Sat, 1 Oct 2016, Sinan Kaya wrote: > This reverts commit 9e5ed6d1fb87 ("ACPI,PCI,IRQ: remove SCI penalize > function"). SCI penalty API was replaced by the runtime penalty calculation > based on the value of acpi_gbl_FADT.sci_interrupt. This does more than only reverting said commit > a

Re: [PATCHv4 1/3] serial: mctrl_gpio: implement mctrl_gpio_use_rtscts

2016-10-04 Thread Uwe Kleine-König
Hello Greg, On Fri, Sep 30, 2016 at 10:57:59AM +0200, Richard Genoud wrote: > This function returns true if CTS and RTS are used as GPIOs. > Some drivers (like atmel_serial) needs to know if the flow control is > handled by the controller or by GPIOs. just for the record: I don't like this patch

[PATCH] crypto: caam: add support for iMX6UL

2016-10-04 Thread Marcus Folkesson
i.MX6UL does only require three clocks to enable CAAM module. Signed-off-by: Marcus Folkesson --- .../devicetree/bindings/crypto/fsl-sec4.txt| 20 + drivers/crypto/caam/ctrl.c | 35 -- 2 files changed, 40 insertions(+), 15 deletions

[PATCH] x86: suppress sparse warning in copy_to_user()

2016-10-04 Thread Johannes Berg
From: Johannes Berg __compiletime_object_size() is simply defined to __builtin_object_size() which gcc declares with (void *, int type) prototype. This is also done by sparse, since it follows gcc, which leads it to warn, many times, on any usage of copy_to_user(), about it: arch/x86/include/a

Re: [PATCH 2/3] zram: support page-based parallel write

2016-10-04 Thread Minchan Kim
Hi Sergey, On Tue, Oct 04, 2016 at 01:43:14PM +0900, Sergey Senozhatsky wrote: > Hello, > > Cc Jens and block-dev, > > I'll outline the commit message for Jens and blockdev people, may be > someone will have some thoughts/ideas/opinions: Thanks for Ccing relevant poeple. Even, I didn't know we

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

2016-10-04 Thread Arnd Bergmann
On Friday, September 23, 2016 9:15:57 AM CEST Vinod Koul wrote: > 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 anot

Re: [PATCH v3] net: hns: mark symbols static where possible

2016-10-04 Thread Arnd Bergmann
On Saturday, October 1, 2016 4:15:26 PM CEST Baoyou Xie wrote: > We get a few warnings when building kernel with W=1: > drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c:76:21: warning: no previous > prototype for 'hns_ae_get_handle' [-Wmissing-prototypes] > drivers/net/ethernet/hisilicon/hns/hns_

[net-next 01/13] fsl/fman: split lines over 80 characters

2016-10-04 Thread Madalin Bucur
Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/fman_muram.c | 3 ++- drivers/net/ethernet/freescale/fman/fman_muram.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/freescale/fman/fman_muram.c b/drivers/net/ethernet/freescale/fm

[net-next 03/13] fsl/fman: small fixes

2016-10-04 Thread Madalin Bucur
From: Madalin Bucur Make module params static, proper NULL checks, remove __iomem label when misused. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/fman.c | 6 +++--- drivers/net/ethernet/freescale/fman/fman_port.c | 8 +--- 2 files changed, 8 insertions(+), 6 d

[net-next 00/13] fsl/fman: cleanup and small fixes

2016-10-04 Thread Madalin Bucur
This series contains fixes for the DPAA FMan driver. Adding myself as maintainer of the driver. The following are changes since commit a4cc96d1f0170b779c32c6b2cc58764f5d2cdef0 net: phy: Add Edge-rate driver for Microsemi PHYs. and are available on the fman-next branch in the git repository at gi

[net-next 10/13] fsl/fman: simplify redundant condition

2016-10-04 Thread Madalin Bucur
Change suggested by David Binderman, thanks. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/fman.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/freescale/fman/fman.c b/drivers/net/ethernet/freescale/fman/fman.c index 2278bbd..1

Re: [PATCH] x86: suppress sparse warning in copy_to_user()

2016-10-04 Thread Jan Beulich
>>> On 04.10.16 at 09:33, wrote: > From: Johannes Berg > > __compiletime_object_size() is simply defined to __builtin_object_size() > which gcc declares with (void *, int type) prototype. If that was the case, everyone should have seen such warnings from the day the original patch got introduce

[net-next 02/13] fsl/fman: fix loadable module compilation

2016-10-04 Thread Madalin Bucur
From: Igal Liberman Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile| 10 --- drivers/net/ethernet/freescale/fman/fman.c | 35 +++-- drivers/net/ethernet/freescale/fman/fman_port.c | 23 +++- drivers/net/ethernet/freescal

[net-next 08/13] fsl/fman: check pcsphy pointer before use

2016-10-04 Thread Madalin Bucur
Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/fman_memac.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ethernet/freescale/fman/fman_memac.c b/drivers/net/ethernet/freescale/fman/fman_memac.c index 96dfe7e..53ef51e 100644 --- a/drivers/net/ethernet/fr

[net-next 11/13] fsl/fman: fix return value checking

2016-10-04 Thread Madalin Bucur
Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/fman.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/freescale/fman/fman.c b/drivers/net/ethernet/freescale/fman/fman.c index 1fc1049..dafd9e1 100644 --- a/drivers/net/ethernet/fre

[net-next 05/13] fsl/fman: simplify device tree reads

2016-10-04 Thread Madalin Bucur
From: Madalin Bucur Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/fman.c | 30 ++--- drivers/net/ethernet/freescale/fman/fman_port.c | 24 ++-- drivers/net/ethernet/freescale/fman/mac.c | 24 +--- 3 files chan

[net-next 06/13] fsl/fman: return a phy_dev pointer from init

2016-10-04 Thread Madalin Bucur
Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/mac.c | 22 +++--- drivers/net/ethernet/freescale/fman/mac.h | 3 ++- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/net/ethernet/freescale/fman/mac.c b/drivers/net/ethernet/freescale/

Re: [PATCH 0/9] Generate uevents for all DM events

2016-10-04 Thread Greg KH
On Mon, Oct 03, 2016 at 12:22:51PM -0700, Andy Grover wrote: > Hi Mike and GregKH, > > I want a way to get devicemapper events without using the DM ioctl, > because that requires creating a thread to sleep in the ioctl for each > dm device I want events from. > > It would seem like using uevents

[net-next 12/13] fsl/fman: remove leftover comment

2016-10-04 Thread Madalin Bucur
Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/fman_mac.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/net/ethernet/freescale/fman/fman_mac.h b/drivers/net/ethernet/freescale/fman/fman_mac.h index ddf0260..dd6d052 100644 --- a/drivers/net/ethernet/freescal

[net-next 04/13] fsl/fman: use of_get_phy_mode()

2016-10-04 Thread Madalin Bucur
From: Madalin Bucur Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/mac.c | 33 ++- 1 file changed, 2 insertions(+), 31 deletions(-) diff --git a/drivers/net/ethernet/freescale/fman/mac.c b/drivers/net/ethernet/freescale/fman/mac.c index e33d9d

Re: [PATCH] fnic: Use time64_t to represent trace timestamps

2016-10-04 Thread Johannes Thumshirn
On Sat, Oct 01, 2016 at 04:48:14PM -0700, Deepa Dinamani wrote: > trace timestamps use struct timespec and CURRENT_TIME which > are not y2038 safe. > These timestamps are only part of the trace log on the machine > and are not shared with the fnic. > Replace then with y2038 safe struct timespec64 a

[net-next 13/13] MAINTAINERS: net: add entry for Freescale QorIQ DPAA FMan driver

2016-10-04 Thread Madalin Bucur
Add record for Freescale QORIQ DPAA FMan driver adding myself as maintainer. Signed-off-by: Madalin Bucur --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 669909e..3460152 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4980,6 +4980,13 @@

[net-next 01/13] fsl/fman: split lines over 80 characters

2016-10-04 Thread Madalin Bucur
Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/fman_muram.c | 3 ++- drivers/net/ethernet/freescale/fman/fman_muram.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/freescale/fman/fman_muram.c b/drivers/net/ethernet/freescale/fm

Re: [PATCH net v2] L2TP:Adjust intf MTU,factor underlay L3,overlay L2

2016-10-04 Thread James Chapman
On 04/10/16 04:12, R. Parameswaran wrote: > > Hi James, > > Please see inline, thanks for the reply: > > On Sat, 1 Oct 2016, James Chapman wrote: > >> On 30/09/16 03:39, R. Parameswaran wrote: > + /* Adjust MTU, factor overhead - underlay L3 hdr, overlay L2 hdr*/ > + if (tunnel->sock->sk_f

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

2016-10-04 Thread Vinod Koul
On Tue, Oct 04, 2016 at 09:43:16AM +0200, Arnd Bergmann wrote: > On Friday, September 23, 2016 9:15:57 AM CEST Vinod Koul wrote: > > 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_chan

Re: [PATCH] [media] : Removing warnings caught by checkpatch.pl

2016-10-04 Thread Laurent Pinchart
Hi Andrey, On Monday 03 Oct 2016 22:52:11 Andrey Utkin wrote: > On Sun, Oct 02, 2016 at 02:30:45AM +0530, Harman Kalra wrote: > > static int iss_video_queue_setup(struct vb2_queue *vq, > > > > -unsigned int *count, unsigned int *num_planes, > > -

Re: [PATCH] x86: suppress sparse warning in copy_to_user()

2016-10-04 Thread Johannes Berg
On Tue, 2016-10-04 at 01:51 -0600, Jan Beulich wrote: > > > > > > > > > > > > > On 04.10.16 at 09:33, wrote: > > From: Johannes Berg > > > > __compiletime_object_size() is simply defined to > > __builtin_object_size() > > which gcc declares with (void *, int type) prototype. > > If that was

[net-next 07/13] fsl/fman: MEMAC may use QSGMII PHY interface mode

2016-10-04 Thread Madalin Bucur
Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/fman_memac.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/freescale/fman/fman_memac.c b/drivers/net/ethernet/freescale/fman/fman_memac.c index 45e98fd..96dfe7e 100644 --- a/drivers/

[net-next 00/13] fsl/fman: cleanup and small fixes

2016-10-04 Thread Madalin Bucur
This series contains fixes for the DPAA FMan driver. Adding myself as maintainer of the driver. The following are changes since commit a4cc96d1f0170b779c32c6b2cc58764f5d2cdef0 net: phy: Add Edge-rate driver for Microsemi PHYs. and are available on the fman-next branch in the git repository at gi

[net-next 09/13] fsl/fman: check of_get_phy_mode() return value

2016-10-04 Thread Madalin Bucur
For unknown compatibles avoid crashing and default to SGMII. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/mac.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/freescale/fman/mac.c b/drivers/net/ethernet/freescale/fman/

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

2016-10-04 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > Build and test stats at the end of the message. > > The following changes since commit 41aad2a6d4fcdda8d73c9739daf7a9f3f49499d6: > > Merge tag 'perf-core-for-mingo-20160929' of > git://git.k

[tip:sched/urgent] Revert "sched/core: Do not use smp_processor_id() with preempt enabled in smpboot_thread_fn()"

2016-10-04 Thread tip-bot for Ingo Molnar
Commit-ID: be6a2e4c46cc122ba9113ba569fbc50fad075fff Gitweb: http://git.kernel.org/tip/be6a2e4c46cc122ba9113ba569fbc50fad075fff Author: Ingo Molnar AuthorDate: Tue, 4 Oct 2016 09:55:57 +0200 Committer: Ingo Molnar CommitDate: Tue, 4 Oct 2016 09:55:57 +0200 Revert "sched/core: Do not use

more hangs in the tty layer

2016-10-04 Thread Nikolay Borisov
Hello Peter, I've emailed you before re. spurious hangs in the TTY layer, but at that time I was running a rather old (but LTS) 3.12 kernel. Now, I'm running a 4.4.10 and I still observe the following lock-ups. I have multiple processes which hang with the following callstack: [4592064.96744

[tip:perf/urgent] perf tools: Experiment with cppcheck

2016-10-04 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 18ef15c675a5d5d97f844ebcf340a2a6c7cf3142 Gitweb: http://git.kernel.org/tip/18ef15c675a5d5d97f844ebcf340a2a6c7cf3142 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 3 Oct 2016 11:07:24 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 11:24:13 -0300 perf

[tip:perf/urgent] tools build: Add support for host programs format

2016-10-04 Thread tip-bot for Jiri Olsa
Commit-ID: 0c3b7e42616f1f6084cfeb0d443cbff0b2c424a9 Gitweb: http://git.kernel.org/tip/0c3b7e42616f1f6084cfeb0d443cbff0b2c424a9 Author: Jiri Olsa AuthorDate: Tue, 27 Sep 2016 16:18:46 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 11:39:09 -0300 tools build: Add s

[tip:perf/urgent] perf probe: Check if *ptr2 is zero and not ptr2

2016-10-04 Thread tip-bot for Colin Ian King
Commit-ID: ead1a57457c0324a167f3f9e3a70e26c2d75fb12 Gitweb: http://git.kernel.org/tip/ead1a57457c0324a167f3f9e3a70e26c2d75fb12 Author: Colin Ian King AuthorDate: Mon, 3 Oct 2016 11:34:31 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 11:24:12 -0300 perf probe: Ch

[tip:perf/urgent] tools build: Make fixdep a hostprog

2016-10-04 Thread tip-bot for Jiri Olsa
Commit-ID: 6b3db6f9b970001b751a6cd001bc2ab581ce0fb3 Gitweb: http://git.kernel.org/tip/6b3db6f9b970001b751a6cd001bc2ab581ce0fb3 Author: Jiri Olsa AuthorDate: Tue, 27 Sep 2016 16:18:46 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 11:40:35 -0300 tools build: Make

[tip:perf/urgent] perf tools: Add jsmn `jasmine' JSON parser

2016-10-04 Thread tip-bot for Andi Kleen
Commit-ID: 867a979a83d38fb82c4e7534a0281a02ef1700a3 Gitweb: http://git.kernel.org/tip/867a979a83d38fb82c4e7534a0281a02ef1700a3 Author: Andi Kleen AuthorDate: Thu, 15 Sep 2016 15:24:38 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 11:40:36 -0300 perf tools: Add j

[RFC PATCH] mm, compaction: allow compaction for GFP_NOFS requests

2016-10-04 Thread Michal Hocko
From: Michal Hocko compaction has been disabled for GFP_NOFS and GFP_NOIO requests since the direct compaction was introduced by 56de7263fcf3 ("mm: compaction: direct compact when a high-order allocation fails"). The main reason is that the migration of page cache pages might recurse back to fs/i

[tip:perf/urgent] perf jevents: Program to convert JSON file

2016-10-04 Thread tip-bot for Andi Kleen
Commit-ID: 80eeb67fe577aa76b2d1bb5b029bca097f0f25bc Gitweb: http://git.kernel.org/tip/80eeb67fe577aa76b2d1bb5b029bca097f0f25bc Author: Andi Kleen AuthorDate: Mon, 19 Sep 2016 17:39:33 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 19:55:55 -0300 perf jevents: Pro

[tip:perf/urgent] perf powerpc: Support CPU ID matching for Powerpc

2016-10-04 Thread tip-bot for Sukadev Bhattiprolu
Commit-ID: ce88f27ccc724fa8e6766fdd4140768931f42f88 Gitweb: http://git.kernel.org/tip/ce88f27ccc724fa8e6766fdd4140768931f42f88 Author: Sukadev Bhattiprolu AuthorDate: Thu, 15 Sep 2016 15:24:41 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 19:58:01 -0300 perf pow

[tip:perf/urgent] perf pmu: Use pmu_events table to create aliases

2016-10-04 Thread tip-bot for Sukadev Bhattiprolu
Commit-ID: 933f82ff72d7d1641663462f61f3056ee1fe3f8b Gitweb: http://git.kernel.org/tip/933f82ff72d7d1641663462f61f3056ee1fe3f8b Author: Sukadev Bhattiprolu AuthorDate: Thu, 15 Sep 2016 15:24:40 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 19:58:00 -0300 perf pmu

[tip:perf/urgent] perf tools: Support CPU id matching for x86 v2

2016-10-04 Thread tip-bot for Andi Kleen
Commit-ID: f33d1227197e0fe9d3682c5a766fdc74559da78e Gitweb: http://git.kernel.org/tip/f33d1227197e0fe9d3682c5a766fdc74559da78e Author: Andi Kleen AuthorDate: Thu, 15 Sep 2016 15:24:42 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 19:58:01 -0300 perf tools: Suppo

[tip:perf/urgent] perf jevents: Handle header line in mapfile

2016-10-04 Thread tip-bot for Andi Kleen
Commit-ID: dc720ffc9863b618a192f5949234c54aad00ed24 Gitweb: http://git.kernel.org/tip/dc720ffc9863b618a192f5949234c54aad00ed24 Author: Andi Kleen AuthorDate: Thu, 15 Sep 2016 15:24:51 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 21:33:54 -0300 perf jevents: Han

[tip:perf/urgent] perf pmu: Support alias descriptions

2016-10-04 Thread tip-bot for Andi Kleen
Commit-ID: 08e60ed15d0483be38a87d17538ccf02acff5b1f Gitweb: http://git.kernel.org/tip/08e60ed15d0483be38a87d17538ccf02acff5b1f Author: Andi Kleen AuthorDate: Thu, 15 Sep 2016 15:24:43 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 21:34:54 -0300 perf pmu: Support

[tip:perf/urgent] perf tools: Query terminal width and use in perf list

2016-10-04 Thread tip-bot for Andi Kleen
Commit-ID: 61eb2eb434b3430c6ef70536eb3d16b616b5ee52 Gitweb: http://git.kernel.org/tip/61eb2eb434b3430c6ef70536eb3d16b616b5ee52 Author: Andi Kleen AuthorDate: Thu, 15 Sep 2016 15:24:44 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 21:35:45 -0300 perf tools: Query

[tip:perf/urgent] perf list: Add a --no-desc flag

2016-10-04 Thread tip-bot for Andi Kleen
Commit-ID: 1c5f01fe8660fc48625a94a5ed10e4dbaea95d5f Gitweb: http://git.kernel.org/tip/1c5f01fe8660fc48625a94a5ed10e4dbaea95d5f Author: Andi Kleen AuthorDate: Thu, 15 Sep 2016 15:24:45 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 21:35:45 -0300 perf list: Add a

[tip:perf/urgent] perf pmu: Add override support for event list CPUID

2016-10-04 Thread tip-bot for Andi Kleen
Commit-ID: fc06e2a5aad9fcf7efaabd7550ac31f648d2f2bc Gitweb: http://git.kernel.org/tip/fc06e2a5aad9fcf7efaabd7550ac31f648d2f2bc Author: Andi Kleen AuthorDate: Thu, 15 Sep 2016 15:24:46 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 21:35:46 -0300 perf pmu: Add ove

Re: BUG_ON() in workingset_node_shadows_dec() triggers

2016-10-04 Thread Greg KH
On Mon, Oct 03, 2016 at 09:00:55PM -0700, Linus Torvalds wrote: > I'm really sorry I applied that last series from Andrew just before > doing the 4.8 release, because they cause problems, and now it is in > 4.8 (and that buggy crap is marked for stable too). I'll hold off in putting it into stable

[tip:perf/urgent] perf list jevents: Add support for event list topics

2016-10-04 Thread tip-bot for Andi Kleen
Commit-ID: dd5f10368a5f27ec926395056d959513ca4578cc Gitweb: http://git.kernel.org/tip/dd5f10368a5f27ec926395056d959513ca4578cc Author: Andi Kleen AuthorDate: Thu, 15 Sep 2016 15:24:50 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 21:35:47 -0300 perf list jevents

[tip:perf/urgent] perf jevents: Add support for long descriptions

2016-10-04 Thread tip-bot for Sukadev Bhattiprolu
Commit-ID: 794ba54a8393456d503958d6217874e455b6a771 Gitweb: http://git.kernel.org/tip/794ba54a8393456d503958d6217874e455b6a771 Author: Sukadev Bhattiprolu AuthorDate: Thu, 15 Sep 2016 15:24:47 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 21:35:46 -0300 perf jev

[tip:perf/urgent] perf list: Support long jevents descriptions

2016-10-04 Thread tip-bot for Sukadev Bhattiprolu
Commit-ID: c8d6828a6510c9363180ebf662b51d032e0eb85a Gitweb: http://git.kernel.org/tip/c8d6828a6510c9363180ebf662b51d032e0eb85a Author: Sukadev Bhattiprolu AuthorDate: Thu, 15 Sep 2016 15:24:48 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 21:35:47 -0300 perf lis

[tip:perf/urgent] perf tools: Add README for info on parsing JSON/map files

2016-10-04 Thread tip-bot for Sukadev Bhattiprolu
Commit-ID: 06d839b4f712065d76cba92e7e10e9d771771c5a Gitweb: http://git.kernel.org/tip/06d839b4f712065d76cba92e7e10e9d771771c5a Author: Sukadev Bhattiprolu AuthorDate: Thu, 15 Sep 2016 15:24:52 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 21:37:48 -0300 perf too

[tip:perf/urgent] perf tools: Make alias matching case-insensitive

2016-10-04 Thread tip-bot for Andi Kleen
Commit-ID: e312bcf13053970c0f07ec2c02d7d9be1a036ce0 Gitweb: http://git.kernel.org/tip/e312bcf13053970c0f07ec2c02d7d9be1a036ce0 Author: Andi Kleen AuthorDate: Thu, 15 Sep 2016 15:24:53 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 21:51:48 -0300 perf tools: Make

Re: [PATCH v21 16/19] perf, tools: Make alias matching case-insensitive

2016-10-04 Thread Jiri Olsa
On Mon, Oct 03, 2016 at 09:54:48PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Oct 03, 2016 at 09:47:06PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Thu, Sep 15, 2016 at 03:24:53PM -0700, Sukadev Bhattiprolu escreveu: > > > From: Andi Kleen > > > > > > Make alias matching the events pa

[tip:perf/urgent] perf tools: Allow period= in perf stat CPU event descriptions.

2016-10-04 Thread tip-bot for Sukadev Bhattiprolu
Commit-ID: 06835545b144cab6e7748748576145ea15f68dff Gitweb: http://git.kernel.org/tip/06835545b144cab6e7748748576145ea15f68dff Author: Sukadev Bhattiprolu AuthorDate: Thu, 15 Sep 2016 15:24:56 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 21:50:56 -0300 perf too

[tip:perf/urgent] perf pmu-events: Add Skylake frontend MSR support

2016-10-04 Thread tip-bot for Andi Kleen
Commit-ID: b42c7369e3f451e22c2b0be5d193955498d37546 Gitweb: http://git.kernel.org/tip/b42c7369e3f451e22c2b0be5d193955498d37546 Author: Andi Kleen AuthorDate: Thu, 15 Sep 2016 15:24:55 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 21:52:01 -0300 perf pmu-events:

Re: [PATCH v21 16/19] perf, tools: Make alias matching case-insensitive

2016-10-04 Thread Jiri Olsa
On Mon, Oct 03, 2016 at 09:47:06PM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Sep 15, 2016 at 03:24:53PM -0700, Sukadev Bhattiprolu escreveu: > > From: Andi Kleen > > > > Make alias matching the events parser case-insensitive. This is useful > > with the JSON events. perf uses lower case ev

[tip:perf/urgent] perf pmu-events: Fix fixed counters on Intel

2016-10-04 Thread tip-bot for Andi Kleen
Commit-ID: 0b1db474314c883d0bfc6720278667a6155e995a Gitweb: http://git.kernel.org/tip/0b1db474314c883d0bfc6720278667a6155e995a Author: Andi Kleen AuthorDate: Thu, 15 Sep 2016 15:24:54 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 3 Oct 2016 21:52:00 -0300 perf pmu-events:

Re: [PATCH 00/12] Fixes, cleanup and g_NCR5380_mmio/g_NCR5380 merger

2016-10-04 Thread Hannes Reinecke
On 10/04/2016 07:40 AM, Finn Thain wrote: > This patch series has fixes for compatibility, reliability and > performance issues and some cleanup. It also includes a new version > of Ondrej Zary's patch that merges g_NCR5380_mmio into g_NCR5380. > > I've tested this patch series on a Powerbook 180.

Re: [tip:sched/urgent] Revert "sched/core: Do not use smp_processor_id() with preempt enabled in smpboot_thread_fn()"

2016-10-04 Thread Thomas Gleixner
On Tue, 4 Oct 2016, tip-bot for Ingo Molnar wrote: > The original change widens a preempt-off section, to avoid a seemingly unsafe > smp_processor_id() use. > > During review I overlooked two facts: > > - The code to calls a non-trivial function callback: > > ht-

Re: [PATCH v2 0/6] Support PWM polarity control

2016-10-04 Thread Lukasz Majewski
Dear Bhuvanchandra, Thank you for your effort to send those patches to ML. > Changes since v2: > > - Picked the stalled patchset[1] from Lothar Wassmann which adds the > basic support for polarity control on imx-pwm driver and adds > backward compatibility support for devices which does not have

[PATCH V2 5/6] serial: 8250_fintek: Add F81866 Support

2016-10-04 Thread Ji-Ze Hong (Peter Hong)
Fintek F81866 is a LPC to 6 UARTs SuperIO. It has fully functional UARTs likes F81216H. It's also need check the IRQ mode with system assigned, but the configuration is not the same with F81216 series. F81866 IRQ Mode setting: 0xf0 Bit1: IRQ_MODE0 Bit0: Shar

[PATCH V2 1/6] serial: 8250_fintek: Refactoring read/write method

2016-10-04 Thread Ji-Ze Hong (Peter Hong)
If we need to access SuperIO registers, It should write register offset to base_addr and read/write value to base_addr + 1 to perform read/write. We can make it more simply with write/read functions. This patch add sio_read_reg()/sio_write_reg()/sio_write_mask_reg() to reduce SuperIO register oper

[PATCH V2 0/6] serial: 8250_fintek: Fix the IRQ mode and code refactoring

2016-10-04 Thread Ji-Ze Hong (Peter Hong)
The following patches will fix the Fintek LPC to UARTs IRQ mode mismatch issue and code refactoring. Some BIOS only use _OSI("Linux") to distinguish between Linux & Windows. Apply Level/Low to UART trigger mode if Windows, Edge/High otherwise. But since 2.6.23 the mainline kernel no longer returns

[PATCH V2 4/6] serial: 8250_fintek: Add F81216 Support

2016-10-04 Thread Ji-Ze Hong (Peter Hong)
Fintek F81216 is a LPC to 4 UARTs device. It's the F81216 series but support less functional than F81216AD/F81216H The following list is brief descriptions of F81216 series: F81216H (0105) 9Bit/High baud rate(not implements with mainline) RS485, 128Bytes FIFO (implemented) F81216

[PATCH V2 6/6] serial: 8250_fintek: Add F81865 Support

2016-10-04 Thread Ji-Ze Hong (Peter Hong)
Fintek F81865 is a LPC to 6 UARTs SuperIO. It has less functional UARTs likes F81866. It's also need check the IRQ mode with system assigned, but the configuration is not the same with F81216 series. F81865 IRQ Mode setting: 0xf0 Bit1: IRQ_MODE0 Bit0: Share mode (always

[PATCH V2 3/6] serial: 8250_fintek: Set maximum FIFO of F81216H

2016-10-04 Thread Ji-Ze Hong (Peter Hong)
The Fintek F81216H had maximum 128Bytes FIFO, but some BIOS configurated as normal 16Bytes FIFO. This patch will set 128Bytes FIFO and trigger level multiplier as 4x when F81216H detected. Default 16550A trigger level is 8Bytes. When this patch applied, the trigger level will change to 8Byte x 4 =

[PATCH V2 2/6] serial: 8250_fintek: Set IRQ Mode when port probed

2016-10-04 Thread Ji-Ze Hong (Peter Hong)
Set IRQ Mode when port probed in probe_setup_port() It should hold the IO port premission via fintek_8250_enter_key() and release via fintek_8250_exit_key() when we configure the SuperIO. This patch will move all SuperIO configure operations to probe_setup_port() to reduce fintek_8250_enter_key()

Re: [PATCH v2 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-10-04 Thread Peter Ujfalusi
On 10/03/16 16:03, Mugunthan V N wrote: > +static int tiadc_request_dma(struct platform_device *pdev, > + struct tiadc_device *adc_dev) > +{ > + struct tiadc_dma*dma = &adc_dev->dma; > + dma_cap_mask_t mask; > + > + /* Default slave configuratio

Re: [PATCH] x86: suppress sparse warning in copy_to_user()

2016-10-04 Thread Jan Beulich
>>> On 04.10.16 at 10:02, wrote: > On Tue, 2016-10-04 at 01:51 -0600, Jan Beulich wrote: >> > >> > > >> > > > >> > > > On 04.10.16 at 09:33, wrote: >> > From: Johannes Berg >> > >> > __compiletime_object_size() is simply defined to >> > __builtin_object_size() >> > which gcc declares with (v

[GIT PULL] Security subsystem updates for 4.9

2016-10-04 Thread James Morris
Summary: o SELinux/LSM: overlayfs support, necessary for container filesystems o LSM: finally remove the kernel_module_from_file hook o Smack: treat signal delivery as an 'append' operation o TPM: lots of bugfixes & updates o Audit: new audit data type: LSM_AUDIT_DATA_FILE Please pull. --- The

Re: [PATCH 0/1] man/set_mempolicy.2,mbind.2: add MPOL_LOCAL NUMA memory policy documentation

2016-10-04 Thread Christoph Lameter
Well the difference between MPOL_DEFAULT and MPOL_LOCAL may be confusing. Mention somewhere in the MPOL_LOCAL description that the policy with MPOL_DEFAULT reverts to the policy of the process and MPOL_LOCAL to try to allocate local? Note that MPOL_LOCAL also will not be local if it just happens th

[RESEND PATCH v3 1/2] usb: dwc3: gadget: Add disconnect checking when changing function dynamically

2016-10-04 Thread Baolin Wang
When system has stpped the gadget, we should avoid queuing any requests which will cause tranfer failed. Thus adding some disconnect checking to avoid this situation. Signed-off-by: Baolin Wang --- Changes since v2: - Move disconnect checking into dwc3_send_gadget_ep_cmd(). - Rename completion

[RESEND PATCH v3 2/2] usb: dwc3: Wait for control tranfer completed when stopping gadget

2016-10-04 Thread Baolin Wang
When we change the USB function with configfs dynamically, we possibly met this situation: one core is doing the control transfer, another core is trying to unregister the USB gadget from userspace, we must wait for completing this control tranfer, or it will hang the controller to set the DEVCTRLH

Re: [PATCH v3 2/9] hwmon: (core) New hwmon registration API

2016-10-04 Thread Jean Delvare
Hi Guenter, I see this patch is upstream now, but I had started reviewing it and maybe some of my comments are still relevant. It's not meant to be a complete review, which is why I had not sent it yet :-( Also I did not follow the first iterations of this patchset so my apologies if I raise poi

Re: [PATCH] x86: suppress sparse warning in copy_to_user()

2016-10-04 Thread Johannes Berg
> > > If that was the case, everyone should have seen such warnings > > > from the day the original patch got introduced.  > > > > Only if they run sparse. Clearly people don't, or we wouldn't have > > a history of a ton of such problems, e.g. > > No - you say "which gcc declares with (void *, i

[PATCH] fs/block_dev.c: return the right error in thaw_bdev()

2016-10-04 Thread Pierre Morel
When triggering thaw-filesystems via magic sysrq, the system enters a loop in do_thaw_one(), as thaw_bdev() still returns success if bd_fsfreeze_count == 0. To fix this, let thaw_bdev() always return error (and simplify the code a bit at the same time). Reviewed-by: Eric Farman Reviewed-by: Corne

[PATCH] return the right error in thaw_bdev()

2016-10-04 Thread Pierre Morel
When triggering thaw-filesystems via magic sysrq, the system freezes. It is due to an error in thaw_bdev() for which I sent a patch in august 2015, but the patch has not been applied and the problem remains. Since the original subject "always return an error..." may be confusing, I changed the su

[PATCH 1/4] mm, oom: do not rely on TIF_MEMDIE for memory reserves access

2016-10-04 Thread Michal Hocko
From: Michal Hocko For ages we have been relying on TIF_MEMDIE thread flag to mark OOM victims and then, among other things, to give these threads full access to memory reserves. There are few shortcomings of this implementation, though. First of all and the most serious one is that the full acc

[PATCH 0/4] mm, oom: get rid of TIF_MEMDIE

2016-10-04 Thread Michal Hocko
Hi, I have posted this as an RFC [1] to see whether the approach I've taken is acceptable. There didn't seem to be any fundamental opposition so I have dropped the RFC. I would like to target this for 4.10 and sending this early because I will be offline for a longer time at the end of Oct. The se

[PATCH 3/4] mm, oom: do not rely on TIF_MEMDIE for exit_oom_victim

2016-10-04 Thread Michal Hocko
From: Michal Hocko mark_oom_victim and exit_oom_victim are used for oom_killer_disable which should block as long as there are any oom victims alive. Up to now we have relied on TIF_MEMDIE task flag to count how many oom victim we have. This is not optimal because only one thread receives this fl

Re: Regression in next with ext4 oops

2016-10-04 Thread Jan Kara
Hi! On Mon 03-10-16 16:30:55, Tony Lindgren wrote: > I'm seeing a repeatable oops with Linux next while running > update-initramfs, see below. I tried reverting commit 59aa5a3aeead > ("fscrypto: make filename crypto functions return 0 on success") > as that's the only commit changing ext4_htree_st

[PATCH 4/4] arch: get rid of TIF_MEMDIE

2016-10-04 Thread Michal Hocko
From: Michal Hocko nobody relies on the flag so make it go away. Signed-off-by: Michal Hocko --- arch/alpha/include/asm/thread_info.h | 1 - arch/arc/include/asm/thread_info.h| 2 -- arch/arm/include/asm/thread_info.h| 1 - arch/arm64/include/asm/thread_info.h | 1 -

[PATCH 2/4] mm: replace TIF_MEMDIE checks by tsk_is_oom_victim

2016-10-04 Thread Michal Hocko
From: Michal Hocko TIF_MEMDIE is set only to the tasks whick were either directly selected by the OOM killer or passed through mark_oom_victim from the allocator path. tsk_is_oom_victim is more generic and allows to identify all tasks (threads) which share the mm with the oom victim. Signed-off-

Re: [PATCH] x86: suppress sparse warning in copy_to_user()

2016-10-04 Thread Jan Beulich
>>> On 04.10.16 at 10:49, wrote: >> > > If that was the case, everyone should have seen such warnings >> > > from the day the original patch got introduced. >> > >> > Only if they run sparse. Clearly people don't, or we wouldn't have >> > a history of a ton of such problems, e.g. >> >> No - you

Re: [PATCH] fs/block_dev.c: return the right error in thaw_bdev()

2016-10-04 Thread Jan Kara
On Tue 04-10-16 10:53:40, Pierre Morel wrote: > When triggering thaw-filesystems via magic sysrq, the system enters a > loop in do_thaw_one(), as thaw_bdev() still returns success if > bd_fsfreeze_count == 0. To fix this, let thaw_bdev() always return > error (and simplify the code a bit at the sam

[PATCH/RFC 4/4] soc: renesas: Identify SoC and register with the SoC bus

2016-10-04 Thread Geert Uytterhoeven
Identify the SoC type and revision, and register this information with the SoC bus, so it is available under /sys/devices/soc0/, and can be checked where needed using soc_device_match(). In addition, on SoCs that support it, the product ID is read from a hardware register and validated, to catch a

[PATCH 0/4] soc: renesas: Identify SoC and register with the SoC bus

2016-10-04 Thread Geert Uytterhoeven
Hi all, Some Renesas SoCs may exist in different revisions, providing slightly different functionalities (e.g. R-Car H3 ES1.x and ES2.0). This needs to be catered for by drivers and/or platform code. The recently proposed soc_device_match() API seems like a good fit to handle this. This

[PATCH 3/4] base: soc: Check for NULL SoC device attributes

2016-10-04 Thread Geert Uytterhoeven
If soc_device_match() is used to check the value of a specific attribute that is not present for the current SoC, the kernel crashes with a NULL pointer dereference. Fix this by explicitly checking for the absence of a needed property, and considering this a non-match. Signed-off-by: Geert Uytter

[PATCH 2/4] base: soc: Introduce soc_device_match() interface

2016-10-04 Thread Geert Uytterhoeven
From: Arnd Bergmann We keep running into cases where device drivers want to know the exact version of the a SoC they are currently running on. In the past, this has usually been done through a vendor specific API that can be called by a driver, or by directly accessing some kind of version regist

[PATCH 1/4] base: soc: Early register bus when needed

2016-10-04 Thread Geert Uytterhoeven
If soc_device_register() is called before soc_bus_register(), it crashes with a NULL pointer dereference. soc_bus_register() is already a core_initcall(), but drivers/base/ is entered later than e.g. drivers/pinctrl/ and drivers/soc/. Hence there are several subsystems that may need to know SoC re

Re: [PATCH] MIPS: ath79: Add initial support for the HAPROXY Aloha Pocket board

2016-10-04 Thread Alban
On Mon, 3 Oct 2016 17:35:31 +0200 Neil Armstrong wrote: > The HAPROXY Aloha pocket board is a Load Balancer demo board based on the > Atheros AR9331 SoC with 64Mbytes DDR and 16Mbytes on-board SPI Flash. > > Signed-off-by: Neil Armstrong Please use device tree instead of adding another board

  1   2   3   4   5   6   >