[tip:perf/core] perf map: Convert map.refcnt from atomic_t to refcount_t

2017-03-07 Thread tip-bot for Elena Reshetova
Commit-ID: e3a42cdd3e35d6c2181d5acfa191eb448aea6ace Gitweb: http://git.kernel.org/tip/e3a42cdd3e35d6c2181d5acfa191eb448aea6ace Author: Elena Reshetova AuthorDate: Tue, 21 Feb 2017 17:34:59 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:15 -0300 perf map: Co

RE: [PATCH 1/2] device: Stop requiring that struct device is embedded in struct pci_dev

2017-03-07 Thread Parav Pandit
Hi Bart, > -Original Message- > From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- > ow...@vger.kernel.org] On Behalf Of Bart Van Assche > Sent: Monday, March 6, 2017 11:13 PM > To: Parav Pandit ; gre...@linuxfoundation.org > Cc: linux-kernel@vger.kernel.org; linux-r...@vger.kernel

RE: [PATCH 11/29] drivers, media: convert cx88_core.refcount from atomic_t to refcount_t

2017-03-07 Thread Reshetova, Elena
> Hello. > > On 03/06/2017 05:20 PM, Elena Reshetova wrote: > > > refcount_t type and corresponding API should be > > used instead of atomic_t when the variable is used as > > a reference counter. This allows to avoid accidental > > refcounter overflows that might lead to use-after-free > > situa

[tip:perf/core] perf dso: Convert dso.refcnt from atomic_t to refcount_t

2017-03-07 Thread tip-bot for Elena Reshetova
Commit-ID: 7100810a75b9854f1b05550b54500497c5914d4b Gitweb: http://git.kernel.org/tip/7100810a75b9854f1b05550b54500497c5914d4b Author: Elena Reshetova AuthorDate: Tue, 21 Feb 2017 17:34:58 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:15 -0300 perf dso: Co

Re: [PATCH 5/5] staging/lustre: Use generic range rwlock

2017-03-07 Thread Oleg Drokin
On Mar 7, 2017, at 12:03 AM, Davidlohr Bueso wrote: > This replaces the in-house version, which is also derived > from Jan's interval tree implementation. > > Cc: oleg.dro...@intel.com > Cc: andreas.dil...@intel.com > Cc: jsimm...@infradead.org > Cc: lustre-de...@lists.lustre.org > > Signed-off

Re: [PATCH 1/1] mtk-vcodec: check the vp9 decoder buffer index from VPU.

2017-03-07 Thread Tiffany Lin
On Tue, 2017-03-07 at 14:03 +0800, Wu-Cheng Li wrote: > From: Wu-Cheng Li > > VPU firmware has a bug and may return invalid buffer index for > some vp9 videos. Check the buffer indexes before accessing the > buffer. > > Signed-off-by: Wu-Cheng Li > --- > drivers/media/platform/mtk-vcodec/mtk_v

Re: [PATCH 01/10] x86: assembly, ENTRY for fn, GLOBAL for data

2017-03-07 Thread Ingo Molnar
* h...@zytor.com wrote: > On March 1, 2017 2:27:54 AM PST, Ingo Molnar wrote: > > > >* Thomas Gleixner wrote: > > > >> On Wed, 1 Mar 2017, Ingo Molnar wrote: > >> > > >> > * Jiri Slaby wrote: > >> > > >> > > This is a start of series to unify use of ENTRY, ENDPROC, GLOBAL, > >END, > >> > >

Re: [PATCH V4 2/3] sched/deadline: Throttle a constrained deadline task activated after the deadline

2017-03-07 Thread Wanpeng Li
2017-03-02 22:10 GMT+08:00 Daniel Bristot de Oliveira : > During the activation, CBS checks if it can reuse the current task's > runtime and period. If the deadline of the task is in the past, CBS > cannot use the runtime, and so it replenishes the task. This rule > works fine for implicit deadline

Re: [PATCH V4 1/3] sched/deadline: Replenishment timer should fire in the next period

2017-03-07 Thread Wanpeng Li
2017-03-02 22:10 GMT+08:00 Daniel Bristot de Oliveira : > Currently, the replenishment timer is set to fire at the deadline > of a task. Although that works for implicit deadline tasks because the > deadline is equals to the begin of the next period, that is not correct > for constrained deadline t

Re: [v2 PATCH 3/3] mmc: sdhci-cadence: Update PHY delay configuration

2017-03-07 Thread Masahiro Yamada
Hi Piotr, 2017-03-06 22:39 GMT+09:00 Piotr Sroka : > PHY settings can be different for different platforms and SoCs. > Fixed PHY input delays was replaced with SoC specific compatible data. > DTS properties are used for configuration new PHY DLL delays. Probably you are familiar with this IP. P

[PATCH] mm: Do not use double negation for testing page flags

2017-03-07 Thread Minchan Kim
With the discussion[1], I found it seems there are every PageFlags functions return bool at this moment so we don't need double negation any more. Although it's not a problem to keep it, it makes future users confused to use dobule negation for them, too. Remove such possibility. [1] https://marc

Re: [PATCH v4 1/3] mmc: dt-bindings: update Mediatek MMC bindings

2017-03-07 Thread Yong Mao
On Fri, 2017-03-03 at 11:49 +0800, Yong Mao wrote: > On Fri, 2017-02-24 at 16:47 -0600, Rob Herring wrote: > > On Fri, Feb 24, 2017 at 3:59 AM, Yong Mao wrote: > > > Dear Rob, > > > > > > Could you please help to make comments for this patch? > > > Thanks. > > > > I already did comment. It's stil

Re: [PATCH] irqchip/gic-v3: Fix GICD_CTLR_ARE_NS bit field

2017-03-07 Thread Alim Akhtar
Hi Marc, On 03/07/2017 01:11 PM, Marc Zyngier wrote: On Tue, Mar 07 2017 at 4:07:05 am GMT, Alim Akhtar wrote: From: Alim Akhtar As per GICv3 Architecture specification 8.9.4 field descriptions, GICD_CTLR_ARE_NS is bit[5]. This patch correct the same. Fixes: 021f6537 ("irqchip: gic-v3: In

[tip:perf/core] perf evlist: Clarify a bit the use of perf_mmap->refcnt

2017-03-07 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 4738ca30b4a7a113084d7863846175094f95c62f Gitweb: http://git.kernel.org/tip/4738ca30b4a7a113084d7863846175094f95c62f Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 23 Feb 2017 13:24:34 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:16 -0300 per

[tip:perf/core] perf ftrace: Add support for -a and -C option

2017-03-07 Thread tip-bot for Namhyung Kim
Commit-ID: dc23103278c5ad53c177a25e209ef687e6d5d293 Gitweb: http://git.kernel.org/tip/dc23103278c5ad53c177a25e209ef687e6d5d293 Author: Namhyung Kim AuthorDate: Fri, 24 Feb 2017 10:12:50 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:17 -0300 perf ftrace: Ad

Re: [PATCH] objtool: drop redundant flags generation

2017-03-07 Thread Masami Hiramatsu
On Mon, 6 Mar 2017 18:00:25 +0100 Nicholas Mc Guire wrote: > The generator was emitting quite a few duplicate flags which was making > doublebitand.cocci nervous. This awk hack resolves the duplicate issue. Yes, I know that. I don't think that the duplicating those flags in "automatic generated

Re: [PATCH v2] Input: sparse-keymap - use a managed allocation for keymap copy

2017-03-07 Thread Michał Kępień
> On Mon, Mar 6, 2017 at 9:09 AM, Michał Kępień wrote: > >> On Thu, Mar 2, 2017 at 2:02 PM, Michał Kępień wrote: > > >> > + * Since sparse_keymap_setup() now uses a managed allocation for the > >> > + * keymap copy, use of this function is deprecated. > >> > >> So... > >> > >> > */ > >> > voi

Re: [PATCH v2 0/4] fujitsu_init() cleanup

2017-03-07 Thread Michał Kępień
> Hi Michael > > On Mon, Mar 06, 2017 at 07:47:23PM +0100, Micha?? K??pie?? wrote: > > > > In light of the above findings, what would you like to do? > > > > > > Thanks for testing, good that we caught this before the patch series was > > > applied. I think it is reasonable to skip applying this

[tip:perf/core] perf ftrace: Use pager for displaying result

2017-03-07 Thread tip-bot for Namhyung Kim
Commit-ID: 583359646fde8526ea9456618cc24dc359b34094 Gitweb: http://git.kernel.org/tip/583359646fde8526ea9456618cc24dc359b34094 Author: Namhyung Kim AuthorDate: Fri, 24 Feb 2017 10:12:51 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:17 -0300 perf ftrace: Us

Linux irq subsys i2c interaction question

2017-03-07 Thread Hans de Goede
Hi Thomas, I've an "interesting" irq problem. I've an i2c pmic (Intel Cherry Trail Whiskey Cove) which itself contains an i2c controller (adapter in Linux terms) and has a pin dedicated for raising irqs by the external battery charger ic attached to its i2c-adapter. To be able to use the irq for

Re: [PATCH 00/17] fs, btrfs refcount conversions

2017-03-07 Thread Qu Wenruo
At 03/07/2017 03:41 PM, Reshetova, Elena wrote: At 03/06/2017 05:43 PM, Reshetova, Elena wrote: At 03/03/2017 04:55 PM, Elena Reshetova wrote: Now when new refcount_t type and API are finally merged (see include/linux/refcount.h), the following patches convert various refcounters in the btr

[tip:perf/core] kretprobes: Ensure probe location is at function entry

2017-03-07 Thread tip-bot for Naveen N. Rao
Commit-ID: 90ec5e89e393c76e19afc845d8f88a5dc8315919 Gitweb: http://git.kernel.org/tip/90ec5e89e393c76e19afc845d8f88a5dc8315919 Author: Naveen N. Rao AuthorDate: Wed, 22 Feb 2017 19:23:37 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:17 -0300 kretprobes: En

Re: [PATCH V4 3/3] sched/deadline: Use deadline instead of period when calculating overflow

2017-03-07 Thread Wanpeng Li
2017-03-02 22:10 GMT+08:00 Daniel Bristot de Oliveira : > From: "Steven Rostedt (VMware)" > > I was testing Daniel's changes with his test case, and tweaked it a > little. Instead of having the runtime equal to the deadline, I > increased the deadline ten fold. > > Daniel's test case had: > >

Re: [RFC 05/11] mm: make the try_to_munlock void function

2017-03-07 Thread Minchan Kim
Hi Anshuman, On Mon, Mar 06, 2017 at 03:10:17PM +0530, Anshuman Khandual wrote: > On 03/06/2017 07:39 AM, Minchan Kim wrote: > > On Fri, Mar 03, 2017 at 05:13:54PM +0530, Anshuman Khandual wrote: > >> On 03/02/2017 12:09 PM, Minchan Kim wrote: > >>> try_to_munlock returns SWAP_MLOCK if the one of

[tip:perf/core] trace/kprobes: Allow return probes with offsets and absolute addresses

2017-03-07 Thread tip-bot for Naveen N. Rao
Commit-ID: 35b6f55aa9ba65141f2def0997e23aab13715d3f Gitweb: http://git.kernel.org/tip/35b6f55aa9ba65141f2def0997e23aab13715d3f Author: Naveen N. Rao AuthorDate: Wed, 22 Feb 2017 19:23:39 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:18 -0300 trace/kprobes:

Re: [PATCH] objtool: drop redundant flags generation

2017-03-07 Thread Nicholas Mc Guire
On Mon, Mar 06, 2017 at 03:40:54PM -0600, Josh Poimboeuf wrote: > On Mon, Mar 06, 2017 at 05:54:01PM +, Nicholas Mc Guire wrote: > > On Mon, Mar 06, 2017 at 11:25:37AM -0600, Josh Poimboeuf wrote: > > > > arch/x86/tools/gen-insn-attr-x86.awk | 12 ++-- > > > > tools/objtoo

[tip:perf/core] perf intel-PT/BTS: Add missing initialization

2017-03-07 Thread tip-bot for Adrian Hunter
Commit-ID: f1c4d1ad39b5f7c617572f93658bb7159ec9c686 Gitweb: http://git.kernel.org/tip/f1c4d1ad39b5f7c617572f93658bb7159ec9c686 Author: Adrian Hunter AuthorDate: Tue, 28 Feb 2017 12:02:36 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:18 -0300 perf intel-PT/

Re: [PATCH 11/29] drivers, media: convert cx88_core.refcount from atomic_t to refcount_t

2017-03-07 Thread Sakari Ailus
On Mon, Mar 06, 2017 at 04:20:58PM +0200, Elena Reshetova wrote: > refcount_t type and corresponding API should be > used instead of atomic_t when the variable is used as > a reference counter. This allows to avoid accidental > refcounter overflows that might lead to use-after-free > situations. >

[tip:perf/core] perf probe: Generalize probe event file open routine

2017-03-07 Thread tip-bot for Naveen N. Rao
Commit-ID: e491bc2f0dd9f1b4a23ba6f3da88f6b695c4a4c9 Gitweb: http://git.kernel.org/tip/e491bc2f0dd9f1b4a23ba6f3da88f6b695c4a4c9 Author: Naveen N. Rao AuthorDate: Thu, 23 Feb 2017 17:07:23 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:18 -0300 perf probe: Ge

RE: [PATCH 2/3] mtd: spi-nor: Add Octal SPI support to Cadence QSPI driver.

2017-03-07 Thread Artur Jedrysek
From: Boris Brezillon [mailto:boris.brezil...@free-electrons.com] Sent: 6 march 2017 22:21 > On Mon, 6 Mar 2017 12:32:25 + > Artur Jedrysek wrote: > > > Recent versions of Cadence QSPI controller support Octal SPI transfers > > as well. This patch updates existing driver to support such feat

[PATCH v2 1/2] doc: bindings: Add bindings documentation for mtd nvmem

2017-03-07 Thread Alban
Config data for drivers, like MAC addresses, is often stored in MTD. Add a binding that define how such data storage can be represented in device tree. Signed-off-by: Alban --- Changelog: v2: * Added a "Required properties" section with the nvmem-provider property --- .../devicetree/bindin

Re: [PATCH 01/10] x86: assembly, ENTRY for fn, GLOBAL for data

2017-03-07 Thread Ingo Molnar
* h...@zytor.com wrote: > On March 1, 2017 2:27:54 AM PST, Ingo Molnar wrote: > >> > So how about using macro names that actually show the purpose, instead > >> > of > >> > importing all the crappy, historic, essentially randomly chosen debug > >> > symbol macro names from the binutils and

Re: When will Linux support M2 on RAID ?

2017-03-07 Thread Christoph Hellwig
On Sun, Mar 05, 2017 at 06:09:42PM -0800, David F. wrote: > More and more systems are coming with M2 on RAID and Linux doesn't > work unless you change the system out of RAID mode. This is becoming > more and more of a problem. What is the status of Linux support for > the new systems? Your mes

[PATCH v2 2/2] mtd: Add support for reading MTD devices via the nvmem API

2017-03-07 Thread Alban
Allow drivers that use the nvmem API to read data stored on MTD devices. Add an option to the MTD core that allow registering the MTD as read-only NVMEM providers. Signed-off-by: Alban --- Changelog: v2: * Moved to the MTD core instead of using notifiers * Fixed the Kconfig description --- d

[tip:perf/core] perf tools: Force uncore events to system wide monitoring

2017-03-07 Thread tip-bot for Jiri Olsa
Commit-ID: e3ba76deef23064fc272424b86b506cd80b04fc5 Gitweb: http://git.kernel.org/tip/e3ba76deef23064fc272424b86b506cd80b04fc5 Author: Jiri Olsa AuthorDate: Mon, 27 Feb 2017 10:48:18 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:19 -0300 perf tools: Force

Re: [PATCH] x86/fpu: fix boolreturn.cocci warnings

2017-03-07 Thread Thomas Gleixner
On Tue, 7 Mar 2017, Ingo Molnar wrote: > > * kbuild test robot wrote: > > > arch/x86/kernel/fpu/xstate.c:931:9-10: WARNING: return of 0/1 in function > > 'xfeatures_mxcsr_quirk' with return type bool > > > > Return statements in functions returning bool should use > > true/false instead of 1

[tip:perf/core] perf bench futex: Fix build on musl + clang

2017-03-07 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a0f213e14bb5cf4f190809b5811e1292bd614899 Gitweb: http://git.kernel.org/tip/a0f213e14bb5cf4f190809b5811e1292bd614899 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 2 Mar 2017 15:44:19 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:19 -0300 perf

Re: [lkp-robot] [sched/fair] 4c77b18cf8: hackbench.throughput -14.4% regression

2017-03-07 Thread Peter Zijlstra
On Tue, Mar 07, 2017 at 11:18:36AM +0800, kernel test robot wrote: > Greeting, > > FYI, we noticed a -14.4% regression of hackbench.throughput due to commit: Yeah, I know ... this patch is a mixed bag, some like it, some hate it. But given it was fingered by a human doing desktopy things that tr

[PATCH] tools/power/x86/intel_pstate_tracer: Adjust directory permissions

2017-03-07 Thread Doug Smythies
Depending on what is being done, the intel_pstate_tracer.py script needs to be run as root, or can be run as a regular user. If run the first time as root the results directory will be incorrect for any subsequent run as a regular user. For any run as root the specific testname subdirectory will no

Re: [PATCH] uvc-gadget: Fix Set Interface (alternate setting) response behaviour

2017-03-07 Thread Roger Quadros
Laurent, On 06/03/17 22:50, Laurent Pinchart wrote: > Hi Roger, > > Thank you for the patch. > > On Friday 03 Mar 2017 13:17:15 Roger Quadros wrote: >> On alternate setting change, webcam gadget sends us a UVC_EVENT_STREAMON >> or UVC_EVENT_STREAMOFF event. It expects delayed status response on

RE: [REGRESSION][v4.9.y][v4.10.y] Input: ALPS - set DualPoint flag for 74 03 28 devices

2017-03-07 Thread Masaki Ota
Hi, Paul, I have modified the source code. There are three issues. #1. E7=73 03 28 Button pad device is not assigned "ALPS_BUTTONPAD" Flag correctly. #2. E7=73 03 28 devices are not assigned " ALPS_DUALPOINT" Flag correctly. #3. E7=73 03 28 device cursor speed is slow. Actually, the cause is a

Re: net: heap out-of-bounds in fib6_clean_node/rt6_fill_node/fib6_age/fib6_prune_clone

2017-03-07 Thread Dmitry Vyukov
On Tue, Mar 7, 2017 at 12:41 AM, David Ahern wrote: > On 3/6/17 11:51 AM, Dmitry Vyukov wrote: >> We hit it several thousand times, but we get only several dozens of >> crashes per day on ~80 VMs. So if you try to reproduce it on a single >> machine it can take days for a single crash. >> If you a

[tip:perf/core] perf tools: Allow sorting by symbol size

2017-03-07 Thread tip-bot for Charles Baylis
Commit-ID: 7768f8dada66d6052fccbc2ddc375f3e650455b9 Gitweb: http://git.kernel.org/tip/7768f8dada66d6052fccbc2ddc375f3e650455b9 Author: Charles Baylis AuthorDate: Fri, 24 Feb 2017 13:32:56 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:16 -0300 perf tools: A

[tip:perf/core] trace/kprobes: Add back warning about offset in return probes

2017-03-07 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: d0e02579c282ccf34c79818045ec2d2934b56c19 Gitweb: http://git.kernel.org/tip/d0e02579c282ccf34c79818045ec2d2934b56c19 Author: Steven Rostedt (VMware) AuthorDate: Mon, 27 Feb 2017 11:52:04 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:19 -0300 trac

Re: [Patch v2 09/11] v4l2: Add v4l2 control IDs for HEVC encoder

2017-03-07 Thread Andrzej Hajda
On 03.03.2017 10:07, Smitha T Murthy wrote: > Add v4l2 controls for HEVC encoder > > Signed-off-by: Smitha T Murthy > --- > drivers/media/v4l2-core/v4l2-ctrls.c | 51 + > include/uapi/linux/v4l2-controls.h | 129 > ++ > 2 files changed, 180 insert

[tip:perf/core] perf bench numa: Add more comment for -c option

2017-03-07 Thread tip-bot for Jiri Olsa
Commit-ID: 001916b94a04809a94abb07daba6f9ace01906ba Gitweb: http://git.kernel.org/tip/001916b94a04809a94abb07daba6f9ace01906ba Author: Jiri Olsa AuthorDate: Sun, 5 Mar 2017 17:40:11 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 6 Mar 2017 12:39:30 -0300 perf bench numa: Ad

[tip:perf/core] perf cpumap: Introduce cpu_map__snprint_mask()

2017-03-07 Thread tip-bot for Namhyung Kim
Commit-ID: 4400ac8a9a900318f8516dc0fb94075cb3fdb50d Gitweb: http://git.kernel.org/tip/4400ac8a9a900318f8516dc0fb94075cb3fdb50d Author: Namhyung Kim AuthorDate: Fri, 24 Feb 2017 10:12:49 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:17 -0300 perf cpumap: In

Re: linux-next: build failure after merge of the staging tree

2017-03-07 Thread Greg KH
On Tue, Mar 07, 2017 at 12:25:42PM +1100, Stephen Rothwell wrote: > Hi Greg, > > After merging the staging tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/staging/media/atomisp/i2c/mt9m114.c:38:41: fatal error: > linux/atomisp_gmin_platform.h: No such file or

[tip:perf/core] tools build: Add test for sched_getcpu()

2017-03-07 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 120010cb1eea151d38a3e66f5ffc79a0c3110292 Gitweb: http://git.kernel.org/tip/120010cb1eea151d38a3e66f5ffc79a0c3110292 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 2 Mar 2017 12:55:49 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:19 -0300 tool

Re: [PATCH 13/29] drivers, media: convert vb2_vmarea_handler.refcount from atomic_t to refcount_t

2017-03-07 Thread Sakari Ailus
Hi Elena, On Mon, Mar 06, 2017 at 04:21:00PM +0200, Elena Reshetova wrote: > refcount_t type and corresponding API should be > used instead of atomic_t when the variable is used as > a reference counter. This allows to avoid accidental > refcounter overflows that might lead to use-after-free > sit

[tip:perf/core] perf stat: Issue a HW watchdog disable hint

2017-03-07 Thread tip-bot for Borislav Petkov
Commit-ID: 02d492e5dcb72c004d213756eb87c9d62a6d76a7 Gitweb: http://git.kernel.org/tip/02d492e5dcb72c004d213756eb87c9d62a6d76a7 Author: Borislav Petkov AuthorDate: Tue, 7 Feb 2017 01:40:05 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:13 -0300 perf stat: Is

[tip:perf/core] perf ftrace: Add support for --pid option

2017-03-07 Thread tip-bot for Namhyung Kim
Commit-ID: a9af6be5bc25214f7870fef2b6d3490fe8b87bf7 Gitweb: http://git.kernel.org/tip/a9af6be5bc25214f7870fef2b6d3490fe8b87bf7 Author: Namhyung Kim AuthorDate: Fri, 24 Feb 2017 10:12:48 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:16 -0300 perf ftrace: Ad

[tip:x86/asm] x86/asm: Optimize clear_page()

2017-03-07 Thread tip-bot for Borislav Petkov
Commit-ID: f25d384755191690b1196776d319cb6a4e899f28 Gitweb: http://git.kernel.org/tip/f25d384755191690b1196776d319cb6a4e899f28 Author: Borislav Petkov AuthorDate: Thu, 9 Feb 2017 01:34:49 +0100 Committer: Ingo Molnar CommitDate: Tue, 7 Mar 2017 08:28:00 +0100 x86/asm: Optimize clear_pa

Re: [PATCH] blk: improve order of bio handling in generic_make_request()

2017-03-07 Thread Jack Wang
On 06.03.2017 21:18, Jens Axboe wrote: > On 03/05/2017 09:40 PM, NeilBrown wrote: >> On Fri, Mar 03 2017, Jack Wang wrote: >>> >>> Thanks Neil for pushing the fix. >>> >>> We can optimize generic_make_request a little bit: >>> - assign bio_list struct hold directly instead init and merge >>> - re

[tip:perf/core] tools include: Provide gcc based cmpxchg fallback for !x86

2017-03-07 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: ed4aad50ea0384737034b39f952f29cfb2da52ac Gitweb: http://git.kernel.org/tip/ed4aad50ea0384737034b39f952f29cfb2da52ac Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 23 Feb 2017 15:33:02 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:14 -0300 too

Re: [PATCH 0/4] add uart DMA function

2017-03-07 Thread Vinod Koul
On Thu, Feb 16, 2017 at 07:07:27PM +0800, Long Cheng wrote: > In Mediatek SOCs, the uart can support DMA function. > Base on DMA engine formwork, we add the DMA code to support uart. And put the > code under drivers/dma. Are these interdependent, if not can you send them separately please > > T

Re: [PATCH 2/4] dmaengine: mtk_uart_dma: add Mediatek uart DMA support

2017-03-07 Thread Vinod Koul
On Thu, Feb 16, 2017 at 07:07:29PM +0800, Long Cheng wrote: > In DMA engine framework, add 8250 mtk dma to support it. Can you please describe the controller here > +/* > + * MTK DMAengine support > + * > + * Copyright (c) 2016 MediaTek Inc. we are in 2017 now > +#define VFF_INT_FLAG_CLR_B 0

[tip:perf/core] perf thread: convert thread.refcnt from atomic_t to refcount_t

2017-03-07 Thread tip-bot for Elena Reshetova
Commit-ID: e34f5b11cd51fbe723e481c1db03a77260be6f4c Gitweb: http://git.kernel.org/tip/e34f5b11cd51fbe723e481c1db03a77260be6f4c Author: Elena Reshetova AuthorDate: Tue, 21 Feb 2017 17:35:02 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:16 -0300 perf thread:

Re: rcu: WARNING in rcu_seq_end

2017-03-07 Thread Dmitry Vyukov
On Tue, Mar 7, 2017 at 12:08 AM, Paul E. McKenney wrote: >> >> >> >> Hello, >> >> >> >> >> >> >> >> Paul, you wanted bugs in rcu. >> >> >> > >> >> >> > Well, whether I want them or not, I must deal with them. ;-) >> >> >> > >> >> >> >> I've got this WARNING while running syzkaller fuzzer on >> >>

Re: [PATCH v5 01/15] stacktrace/x86: add function for detecting reliable stack traces

2017-03-07 Thread Balbir Singh
On Mon, 2017-02-13 at 19:42 -0600, Josh Poimboeuf wrote: > For live patching and possibly other use cases, a stack trace is only > useful if it can be assured that it's completely reliable. Add a new > save_stack_trace_tsk_reliable() function to achieve that. > > Note that if the target task isn'

[tip:perf/core] perf cgroup: Convert cgroup_sel.refcnt from atomic_t to refcount_t

2017-03-07 Thread tip-bot for Elena Reshetova
Commit-ID: 79c5fe6db8c70558d3a64959f55596d137ccc6e6 Gitweb: http://git.kernel.org/tip/79c5fe6db8c70558d3a64959f55596d137ccc6e6 Author: Elena Reshetova AuthorDate: Tue, 21 Feb 2017 17:34:55 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Mar 2017 19:07:14 -0300 perf cgroup:

[PATCH 0/15] drm: sun4i: Add support for the HDMI controller

2017-03-07 Thread Maxime Ripard
Hi, Here is an attempt at getting the HDMI controller running. This HDMI controller is found on a number of old Allwinner SoCs (A10, A10s, A20, A31). This driver only supports for now the A10s because it was an easy target, being very close to the A13 that is already supported by our DRM driver.

[PATCH 3/15] clk: sunxi-ng: div: Switch to divider_round_rate

2017-03-07 Thread Maxime Ripard
divider_round_rate already evaluates changing the parent rate if CLK_SET_RATE_PARENT is set. Now that we can do that on muxes too, let's just use it. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/ccu_div.c | 25 ++--- 1 file changed, 2 insertions(+), 23 deletions(-)

[PATCH 5/15] clk: sunxi-ng: sun5i: Export video PLLs

2017-03-07 Thread Maxime Ripard
The video PLLs are used directly by the HDMI controller. Export them so that we can use them in our DT node. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/ccu-sun5i.h | 6 -- include/dt-bindings/clock/sun5i-ccu.h | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --

Re: [Intel-gfx] [PATCH 2/4] lib/scatterlist: Avoid potential scatterlist entry overflow

2017-03-07 Thread Tvrtko Ursulin
Hi, On 16/01/2017 14:12, Tvrtko Ursulin wrote: From: Tvrtko Ursulin Since the scatterlist length field is an unsigned int, make sure that sg_alloc_table_from_pages does not overflow it while coallescing pages to a single entry. v2: Drop reference to future use. Use UINT_MAX. v3: max_segment

[PATCH 4/15] clk: sunxi-ng: mux: Don't just rely on the parent for CLK_SET_RATE_PARENT

2017-03-07 Thread Maxime Ripard
The current code only rely on the parent to change its rate in the case where CLK_SET_RATE_PARENT is set. However, some clock rates might be obtained only through a modification of the parent and the clock divider. Just rely on the round rate of the clocks to give us the best computation that migh

Re: [PATCH 1/2] device: Stop requiring that struct device is embedded in struct pci_dev

2017-03-07 Thread gre...@linuxfoundation.org
On Tue, Mar 07, 2017 at 02:44:28AM +, Bart Van Assche wrote: > On Tue, 2017-03-07 at 02:41 +, Parav Pandit wrote: > > Compilation would break when CONFIG_PCI is not defined for some embedded > > platforms. > > More than that, including specific pci_dev structure pointer in generic > > str

Re: [PATCH v4 2/4] phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips

2017-03-07 Thread Kishon Vijay Abraham I
Hi, On Thursday 02 March 2017 10:10 PM, Vivek Gautam wrote: > Hi Kishon, > > > On Wed, Feb 22, 2017 at 9:29 AM, Vivek Gautam > wrote: >> Hi Kishon, >> >> >> On Fri, Jan 27, 2017 at 11:54 AM, Vivek Gautam >> wrote: >>> >>> >>> On 01/26/2017 11:45 PM, Bjorn Andersson wrote: On Tue 24 J

Re: [PATCH 1/2] x86/head_64.S: Rename start_cpu()

2017-03-07 Thread Ingo Molnar
* Borislav Petkov wrote: > From: Borislav Petkov > > It doesn't really start a CPU but does a far jump to C code. So call it > that. Eliminate the unconditional JMP to it from secondary_startup_64() > but make the jump to C code piece part of secondary_startup_64() > instead. > > Also, it doe

Re: net: BUG in unix_notinflight

2017-03-07 Thread Dmitry Vyukov
On Mon, Mar 6, 2017 at 11:34 PM, Cong Wang wrote: > On Mon, Mar 6, 2017 at 2:40 AM, Dmitry Vyukov wrote: >> Now with a nice single-threaded C reproducer! > > Excellent... > >> >> // autogenerated by syzkaller (http://github.com/google/syzkaller) >> #define _GNU_SOURCE >> #include >> #include >>

Re: Question about hwmon_attr_show_string

2017-03-07 Thread Jean Delvare
Hi Guenter, On Mon, 6 Mar 2017 15:47:55 -0800, Guenter Roeck wrote: > On Mon, Mar 06, 2017 at 09:48:35PM +0100, Peter Hüwe wrote: > > Hi Guenter, > > > > I was wondering whether there was a particular reason why > > hwmon_attr_show_string passes only an "empty" pointer(pointer) to the ops- > > >

[PATCH 10/15] drm/sun4i: tcon: Switch mux on only for composite

2017-03-07 Thread Maxime Ripard
Even though that mux is undocumented, it seems like it needs to be set to 1 when using composite, and 0 when using HDMI. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_tcon.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_tcon.

[PATCH 9/15] drm/sun4i: tcon: Pass the encoder to the mode set functions

2017-03-07 Thread Maxime Ripard
The mode set function need some changes based on which encoder is being used. Make sure we can differentiate between our encoders by passing the encoder structure asking for the mode set. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_rgb.c | 2 +- drivers/gpu/drm/sun4i/sun4i_tcon

[PATCH 8/15] drm/sun4i: tcon: Add channel debug

2017-03-07 Thread Maxime Ripard
While all functions have debug logs, the channel enable and disable are not logged. Make sure this is the case. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_tcon.c | 4 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_tcon.c b/driver

[PATCH 15/15] ARM: sun5i: a10s-olinuxino: Enable HDMI

2017-03-07 Thread Maxime Ripard
The A10s Olinuxino has an HDMI connector. Make sure we can use it. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 12 1 file changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts b/arch/arm/boot

[PATCH 11/15] drm/sun4i: tcon: Fix tcon channel 1 backporch calculation

2017-03-07 Thread Maxime Ripard
It seems like what's called a backporch in the datasheet is actually the backporch plus the sync period. Fix that in our driver. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_tcon.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/sun4i/sun4

Re: [PATCH 2/2] x86/head_64.S: Pass struct boot_params' virtual address to C

2017-03-07 Thread Ingo Molnar
* Borislav Petkov wrote: > From: Borislav Petkov > > ... so that callees don't have to convert it and can use it directly. > Simplifies C code a bit. Cleanup comments and formatting in the > vicinity, while at it. > > Also, document what phys_base really is. > > No functionality change. > >

Re: cgroup: WARNING in cgroup_kill_sb

2017-03-07 Thread Dmitry Vyukov
On Mon, Mar 6, 2017 at 10:55 PM, Tejun Heo wrote: > Hello, Dmitry. > > Can you please see whether the following patch resolves the issue? > I'm a bit nervous about it ending up in circular dependency, but I > *think* it should be okay. > > Thanks. > > diff --git a/kernel/cgroup/cgroup.c b/kernel/c

Re: [PATCH] zram: set physical queue limits to avoid array out of bounds accesses

2017-03-07 Thread Minchan Kim
On Tue, Mar 07, 2017 at 08:48:06AM +0100, Hannes Reinecke wrote: > On 03/07/2017 08:23 AM, Minchan Kim wrote: > > Hi Hannes, > > > > On Tue, Mar 7, 2017 at 4:00 PM, Hannes Reinecke wrote: > >> On 03/07/2017 06:22 AM, Minchan Kim wrote: > >>> Hello Johannes, > >>> > >>> On Mon, Mar 06, 2017 at 11:

Re: [Patch v2 07/11] Documentation: v4l: Documentation for HEVC v4l2 definition

2017-03-07 Thread Andrzej Hajda
On 03.03.2017 10:07, Smitha T Murthy wrote: > Add V4L2 definition for HEVC compressed format > > Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda > --- > Documentation/media/uapi/v4l/pixfmt-013.rst |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/D

Re: Linux irq subsys i2c interaction question

2017-03-07 Thread Thomas Gleixner
Hans, On Tue, 7 Mar 2017, Hans de Goede wrote: > I've an "interesting" irq problem. I've an i2c pmic (Intel Cherry Trail > Whiskey Cove) which itself contains an i2c controller (adapter in Linux > terms) and has a pin dedicated for raising irqs by the external battery > charger ic attached to its

Re: [PATCH 1/1] mtk-vcodec: check the vp9 decoder buffer index from VPU.

2017-03-07 Thread 李務誠
On Tue, Mar 7, 2017 at 3:59 PM, Tiffany Lin wrote: > On Tue, 2017-03-07 at 14:03 +0800, Wu-Cheng Li wrote: >> From: Wu-Cheng Li >> >> VPU firmware has a bug and may return invalid buffer index for >> some vp9 videos. Check the buffer indexes before accessing the >> buffer. >> >> Signed-off-by: Wu

Re: [PATCH] genirq: Fix handling of nested shared IRQs

2017-03-07 Thread Charles Keepax
On Mon, Mar 06, 2017 at 07:05:39PM +0100, Thomas Gleixner wrote: > On Mon, 6 Mar 2017, Charles Keepax wrote: > > > When an IRQ is nested the nested handler is called directly from within the > > threaded handler of the parent IRQ, however, the code in handle_nested_irq > > only calls a single hand

Re: [PATCH] block: systemace: Fix refcount underflow in error handler

2017-03-07 Thread Michal Simek
On 6.3.2017 00:36, Guenter Roeck wrote: > Since commit 29dee3c03abc ("locking/refcounts: Out-of-line everything"), > the following runtime warning is seen if xsysace fails to initialize. > The commit only exposes the problem. > > refcount_t: underflow; use-after-free. > [ cut here ]---

[PATCH v2 0/2] mtd: Add support for reading MTD devices via the nvmem API

2017-03-07 Thread Alban
Hi all, First thanks to everybody for the feedback on the first series, I implemented most of the suggestions in this new version. The biggest change is to directly integrate in the MTD core instead of using notifiers which allow us to simplify the code quiet a bit. During the discussion 2 points

Re: [PATCH v3] tpm: do not suspend/resume if power stays on

2017-03-07 Thread Enric Balletbo i Serra
Hi Jarkko, On 06/03/17 21:59, Jarkko Sakkinen wrote: > On Fri, Mar 03, 2017 at 05:09:59PM +0100, Enric Balletbo i Serra wrote: >> From: Sonny Rao >> >> The suspend/resume behavior of the TPM can be controlled by setting >> "powered-while-suspended" in the DTS. This is useful for the cases >> when

Re: Question about hwmon_attr_show_string

2017-03-07 Thread Peter Huewe
Am 7. März 2017 10:08:46 MEZ schrieb Jean Delvare : >Hi Guenter, > >On Mon, 6 Mar 2017 15:47:55 -0800, Guenter Roeck wrote: >> On Mon, Mar 06, 2017 at 09:48:35PM +0100, Peter Hüwe wrote: >> > Hi Guenter, >> > >> > I was wondering whether there was a particular reason why >> > hwmon_attr_show_st

Re: [PATCH v3] MIPS: Fix build breakage caused by header file changes

2017-03-07 Thread Ingo Molnar
* James Hogan wrote: > Hi Guenter, > > On Mon, Mar 06, 2017 at 11:13:55AM -0800, Guenter Roeck wrote: > > Since commit f3ac60671954 ("sched/headers: Move task-stack related > > APIs from to ") and commit > > f780d89a0e82 ("sched/headers: Remove from > > "), various mips builds fail as follows

Re: [PATCH v4 2/4] phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips

2017-03-07 Thread Vivek Gautam
Hi, On 03/07/2017 02:34 PM, Kishon Vijay Abraham I wrote: Hi, On Thursday 02 March 2017 10:10 PM, Vivek Gautam wrote: Hi Kishon, On Wed, Feb 22, 2017 at 9:29 AM, Vivek Gautam wrote: Hi Kishon, On Fri, Jan 27, 2017 at 11:54 AM, Vivek Gautam wrote: On 01/26/2017 11:45 PM, Bjorn Anderss

Re: perf: use-after-free in perf_release

2017-03-07 Thread Dmitry Vyukov
On Tue, Mar 7, 2017 at 10:08 AM, Peter Zijlstra wrote: > On Mon, Mar 06, 2017 at 02:34:50PM +0100, Dmitry Vyukov wrote: >> FWIW here are 2 syzkaller programs that triggered the bug: >> https://gist.githubusercontent.com/dvyukov/d67f980050589775237a7fbdff226bec/raw/4bca72861cb2ede64059b6dad403e19f4

Re: [PATCH 12/29] drivers, media: convert s2255_dev.num_channels from atomic_t to refcount_t

2017-03-07 Thread Sakari Ailus
Hi Elena, On Mon, Mar 06, 2017 at 04:20:59PM +0200, Elena Reshetova wrote: > refcount_t type and corresponding API should be > used instead of atomic_t when the variable is used as > a reference counter. This allows to avoid accidental > refcounter overflows that might lead to use-after-free > sit

[PATCH 14/15] ARM: sun5i: a10s: Add the HDMI controller node

2017-03-07 Thread Maxime Ripard
The A10s has an HDMI controller connected to the second TCON channel. Add it to our DT. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun5i-a10s.dtsi | 34 - arch/arm/boot/dts/sun5i.dtsi | 1 +- 2 files changed, 35 insertions(+), 0 deletions(-) diff --

[PATCH 12/15] drm/sun4i: tcon: multiply the vtotal when not in interlace

2017-03-07 Thread Maxime Ripard
It appears that the total vertical resolution needs to be doubled when we're not in interlaced. Make sure that is the case. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_tcon.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_tcon

[PATCH 7/15] dt-bindings: display: sun4i: Add allwinner,tcon-channel property

2017-03-07 Thread Maxime Ripard
The Allwinner Timings Controller has two, mutually exclusive, channels. When the binding has been introduced, it was assumed that there would be only a single user per channel in the system. While this is likely for the channel 0 which only connects to LCD displays, it turns out that the channel 1

[PATCH 13/15] drm/sun4i: Add HDMI support

2017-03-07 Thread Maxime Ripard
The earlier Allwinner SoCs (A10, A10s, A20, A31) have an embedded HDMI controller. That HDMI controller is able to do audio and CEC, but those have been left out for now. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/Makefile | 5 +- drivers/gpu/drm/sun4i/sun4i_hdmi.h

[PATCH 6/15] dt-bindings: display: sun4i: Add HDMI display bindings

2017-03-07 Thread Maxime Ripard
One of the possible output of the display pipeline, on the SoCs that have it, is the HDMI controller. Add a binding for it. Signed-off-by: Maxime Ripard --- Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 21 +++- 1 file changed, 21 insertions(+), 0 deletions(-) diff --git

[PATCH 2/15] clk: sunxi-ng: Pass the parent and a pointer to the clocks round rate

2017-03-07 Thread Maxime Ripard
The clocks might need to modify their parent clocks. In order to make that possible, give them access to the parent clock being evaluated, and to a pointer to the parent rate so that they can modify it if needed. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/ccu_div.c | 7 --- driv

[PATCH 1/15] clk: divider: Make divider_round_rate take the parent clock

2017-03-07 Thread Maxime Ripard
So far, divider_round_rate only considers the parent clock returned by clk_hw_get_parent. This works fine on clocks that have a single parents, this doesn't work on muxes, since we will only consider the first parent, while other parents may totally be able to provide a better combination. Clocks

Re: [PATCH v2] mm: do not call mem_cgroup_free() from within mem_cgroup_alloc()

2017-03-07 Thread Michal Hocko
On Mon 06-03-17 11:21:22, Tahsin Erdogan wrote: > mem_cgroup_free() indirectly calls wb_domain_exit() which is not > prepared to deal with a struct wb_domain object that hasn't executed > wb_domain_init(). For instance, the following warning message is > printed by lockdep if alloc_percpu() fails i

Re: perf: use-after-free in perf_release

2017-03-07 Thread Peter Zijlstra
On Mon, Mar 06, 2017 at 02:34:50PM +0100, Dmitry Vyukov wrote: > FWIW here are 2 syzkaller programs that triggered the bug: > https://gist.githubusercontent.com/dvyukov/d67f980050589775237a7fbdff226bec/raw/4bca72861cb2ede64059b6dad403e19f425a361f/gistfile1.txt Hurm, previously your gistfile thingi

  1   2   3   4   5   6   7   8   9   10   >