Re: [PATCH 11/25] selftests/ftrace: Improve kprobe on module testcase to load/unload module

2018-08-02 Thread Masami Hiramatsu
On Thu, 2 Aug 2018 10:02:40 +0900 Masami Hiramatsu wrote: > On Fri, 27 Jul 2018 21:15:08 +0900 > Masami Hiramatsu wrote: > > > --- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_module.tc > > +++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_module.tc > > @@ -4,11 +4,18 @@ > >

Re: [PATCH 8/9] dt-bindings: interrupt-controller: RISC-V PLIC documentation

2018-08-02 Thread Nikolay Borisov
On 26.07.2018 17:37, Christoph Hellwig wrote: > From: Palmer Dabbelt > > This patch adds documentation for the platform-level interrupt > controller (PLIC) found in all RISC-V systems. This interrupt > controller routes interrupts from all the devices in the system to each > hart-local interr

Re: [PATCH RESEND RFC 1/4] drivers: pinctrl: qcom: add wakeup capability to GPIO

2018-08-02 Thread Marc Zyngier
On Thu, 02 Aug 2018 07:51:04 +0100, Lina Iyer wrote: > > On Thu, Aug 02 2018 at 00:08 -0600, Marc Zyngier wrote: > > Hi Lina, > > > > On Wed, 01 Aug 2018 20:45:38 +0100, > > Lina Iyer wrote: > >> > >> Thanks for the feedback, Marc. > >> > >> On Wed, Aug 01 2018 at 00:31 -0600, Marc Zyngier wr

Re: [PATCH 3/6] irqchip: RISC-V Local Interrupt Controller Driver

2018-08-02 Thread Christoph Hellwig
On Wed, Aug 01, 2018 at 08:55:06PM +0200, Thomas Gleixner wrote: > Confused. The timer and the IPI are separate causes and have nothing to do > with the per cpu irq domain. That's what the low level interrupt handling > code tells me. Yes. > If I understand correctly then the per cpu irq domain i

Re: [RFC 2/2] mm: harden alloc_pages code paths against bogus nodes

2018-08-02 Thread Michal Hocko
On Wed 01-08-18 15:04:18, Jeremy Linton wrote: > Its possible to crash __alloc_pages_nodemask by passing it > bogus node ids. This is caused by NODE_DATA() returning null > (hopefully) when the requested node is offline. We can > harded against the basic case of a mostly valid node, that > isn't on

Re: [PATCH v2 01/10] ASoC: dt-bindings: add dt bindings for wcd9335 audio codec

2018-08-02 Thread Srinivas Kandagatla
Thanks for review, On 01/08/18 23:20, Rob Herring wrote: +- qcom,ifd: +Usage: required +Value type: +Definition: SLIM interface device Wouldn't this be the parent? No, Interface device is just like other slim device and is part of SLIMbus Component and has a unique address. Every

Re: [PATCH 1/4] genirq: Provide basic NMI management for interrupt lines

2018-08-02 Thread Marc Zyngier
On Thu, 02 Aug 2018 07:55:49 +0100, Thomas Gleixner wrote: > > On Thu, 2 Aug 2018, Marc Zyngier wrote: > > > > If we need to distinguish between the two, then we need two flags. One > > that indicates the generation capability, and one that indicates the > > forwarding capability. > > There is

Re: [PATCH v2 03/10] mfd: wcd9335: add wcd irq support

2018-08-02 Thread Srinivas Kandagatla
Thanks for review, On 01/08/18 23:17, Rob Herring wrote: On Wed, Aug 1, 2018 at 2:57 AM Srinivas Kandagatla wrote: Thanks for the review, On 31/07/18 21:45, Rob Herring wrote: On Fri, Jul 27, 2018 at 01:17:59PM +0100, Srinivas Kandagatla wrote: WCD9335 supports two lines of irqs INTR1 and

Re: [PATCH v7 2/3] Bluetooth: mediatek: Add protocol support for MediaTek serial devices

2018-08-02 Thread Marcel Holtmann
Hi Sean, >>> This adds a driver based on serdev driver for the MediaTek serial protocol >>> based on running H:4, which can enable the built-in Bluetooth device inside >>> MT7622 SoC. >>> > > [ ... ] > >>> +enum { >>> + MTK_WMT_PATCH_DWNLD = 0x1, >>> + MTK_WMT_FUNC_CTRL = 0x6, >>> + MTK_W

Re: Commit "new primitive: discard_new_inode()" introduces a problem

2018-08-02 Thread Kirill Tkhai
On 01.08.2018 19:34, Al Viro wrote: > On Wed, Aug 01, 2018 at 07:19:35PM +0300, Kirill Tkhai wrote: >> On 01.08.2018 19:16, Al Viro wrote: >>> On Wed, Aug 01, 2018 at 05:11:51PM +0100, Al Viro wrote: On Wed, Aug 01, 2018 at 06:43:56PM +0300, Kirill Tkhai wrote: > #git status > HEAD det

[PATCH 1/3] perf auxtrace: Support for perf report -D for s390

2018-08-02 Thread Thomas Richter
Add initial support for s390 auxiliary traces using the CPU-Measurement Sampling Facility. Support and ignore PERF_REPORT_AUXTRACE_INFO records in the perf data file. Later patches will show the contents of the auxiliary traces. Setup the auxtrace queues and data structures for s390. A raw dump o

[PATCH 0/3] perf report: Add s390 auxiliary trace support

2018-08-02 Thread Thomas Richter
Add support for S390 CPU-Measurement Sampling Facility auxiliary trace data buffers. Patch 1: Handle perf PERF_RECORD_AUXTRACE_INFO record for s390. Perf report on s390 does not terminate with an error message. Patch 2: Display auxiliary trace data in raw (hex) format when

[PATCH 2/3] perf report: Add raw report support for s390 auxiliary trace

2018-08-02 Thread Thomas Richter
Add support for s390 auxiliary trace support. Use 'perf record -e rbd000' to create the perf.data file. The event also has the symbolic name SF_CYCLES_BASIC_DIAG, using 'perf record -e SF_CYCLES_BASIC_DIAG' is equivalent. Use 'perf report -D' to display the auxiliary trace data. Output before: 0

[PATCH 3/3] perf report: Add GUI report support for s390 auxiliary trace

2018-08-02 Thread Thomas Richter
Add support for s390 auxiliary trace support. Use 'perf record -e rbd000 -- ls' to create the perf.data file. Use 'perf report' to display the auxiliary trace data. Output before: [root@s35lp76 perf]# ./perf report --stdio 0x128 [0x10]: failed to process type: 70 Error: failed to process sample [

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

2018-08-02 Thread Chao Yu
On 2018/8/2 15:14, Greg KH wrote: > On Thu, Aug 02, 2018 at 03:01:59PM +0800, Chao Yu wrote: >> Hi Greg, >> >> On 2018/8/2 14:15, Greg KH wrote: >>> On Wed, Aug 01, 2018 at 05:09:13PM +0800, Chao Yu wrote: Hi Stephen, On 2018/7/30 14:31, Gao Xiang wrote: > Hi Stephen, > >

linux-next: manual merge of the xarray tree with the ext4 tree

2018-08-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the xarray tree got a conflict in: fs/dax.c between commit: cdbf8897cb09 ("dax: dax_layout_busy_page() warn on !exceptional") from the ext4 tree and commits: 49520d317715 ("xarray: Replace exceptional entries") cc9f1fb1672f ("dax: Convert dax_layout

Re: [PATCH 1/3] PCI: xilinx-nwl: Save error IRQ number in device_node private data

2018-08-02 Thread Christoph Hellwig
> +#ifdef CONFIG_PCIEAER > + struct device_node *node = dev->of_node; > +#endif > > breg_val = nwl_bridge_readl(pcie, E_BREG_CAPABILITIES) & BREG_PRESENT; > if (!breg_val) { > @@ -744,6 +747,9 @@ static int nwl_pcie_bridge_init(struct nwl_pcie *pcie) > pcie->

[BUGFIX PATCH] tracing/kprobes: Fix within_notrace_func() to check only notrace functions

2018-08-02 Thread Masami Hiramatsu
Fix within_notrace_func() to check only notrace functions and to ignore the kprobe-event which can not solve symbol address. within_notrace_func() returns true if the given kprobe events probe point seems like out-of-range. But that is not correct place to check it, it should be done in kprobes af

[PATCH v2] staging: mt29f_spinand: fix memory leak while programming pages

2018-08-02 Thread Jheng-Jhong Wu
In spinand_program_page(), it uses devm_kzalloc() to allocate memory to wbuf dynamically if internal ECC is on, but it doesn't free memory allocated to wbuf at the end of this function. Before the spinand device is removed and frees memory automatically, programming pages may run many times. This l

RE: [PATCH v3 2/2] spi: add SPI controller driver for UniPhier SoC

2018-08-02 Thread Keiji Hayashibara
Hi Andy, Thank you for your check. > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Wednesday, August 1, 2018 7:21 PM > To: Hayashibara, Keiji/林原 啓二 > Subject: Re: [PATCH v3 2/2] spi: add SPI controller driver for UniPhier SoC > > On Wed, Aug 1, 2018 at 10:29 AM, Keiji Hayash

Re: [PATCH 2/5] pinctrl: meson: Add support to set direction with a secure monitor call

2018-08-02 Thread Neil Armstrong
On 01/08/2018 22:23, Martin Blumenstingl wrote: > Hi Neil, > > On Wed, Aug 1, 2018 at 12:05 PM Neil Armstrong > wrote: >> >> The Amlogic Meson GX and AXG SoCs needs to do a Secure Monitor call to >> set the TEST_N pin direction. >> This patch adds a "smc" boolean to the bank structure to differe

Re: [PATCH 0/3] introduce memory.oom.group

2018-08-02 Thread Michal Hocko
On Wed 01-08-18 14:51:25, David Rientjes wrote: > On Tue, 31 Jul 2018, Roman Gushchin wrote: > > > > What's the plan with the cgroup aware oom killer? It has been sitting in > > > the -mm tree for ages with no clear path to being merged. > > > > It's because your nack, isn't it? > > Everybody e

Re: [PATCH v2] staging: mt29f_spinand: fix memory leak while programming pages

2018-08-02 Thread Greg Kroah-Hartman
On Thu, Aug 02, 2018 at 03:51:30PM +0800, Jheng-Jhong Wu wrote: > In spinand_program_page(), it uses devm_kzalloc() to allocate memory to > wbuf dynamically if internal ECC is on, but it doesn't free memory > allocated to wbuf at the end of this function. Before the spinand device > is removed and

Re: [PATCH] memcg: Remove memcg_cgroup::id from IDR on mem_cgroup_css_alloc() failure

2018-08-02 Thread Kirill Tkhai
On 01.08.2018 19:22, Vladimir Davydov wrote: > On Wed, Aug 01, 2018 at 11:55:52AM -0400, Johannes Weiner wrote: >> On Tue, Jul 31, 2018 at 04:39:08PM -0700, Andrew Morton wrote: >>> On Mon, 30 Jul 2018 11:31:13 -0400 Johannes Weiner >>> wrote: >>> Subject: [PATCH] mm: memcontrol: simplify me

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

2018-08-02 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, contains a recently merged > tip/perf/urgent, > > - Arnaldo > > Test results at the end of this message, as usual. > > The following changes since commit c2586cfbb905939b79b49a9121fb0a59a5668fd6: > > Merge re

Re: [PATCH v2 03/10] mfd: wcd9335: add wcd irq support

2018-08-02 Thread Lee Jones
On Fri, 27 Jul 2018, Srinivas Kandagatla wrote: > WCD9335 supports two lines of irqs INTR1 and INTR2. > Multiple interrupts are muxed via these lines. > INTR1 consists of all possible interrupt sources like: > Ear OCP, HPH OCP, MBHC, MAD, VBAT, and SVA > INTR2 is a subset of first interrupt source

[tip:perf/core] perf trace beauty: Default header_dir to cwd to work without parms

2018-08-02 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 61b229ce2c152e7700ca603c7b86cdd99619db01 Gitweb: https://git.kernel.org/tip/61b229ce2c152e7700ca603c7b86cdd99619db01 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 25 Jul 2018 14:24:02 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 31 Jul 2018 09:56:46 -0300 p

[tip:perf/core] perf evlist: Fix error out while applying initial delay and LBR

2018-08-02 Thread tip-bot for Kan Liang
Commit-ID: 95035c5e167ae6e740b1ddd30210ae0eaf39a5db Gitweb: https://git.kernel.org/tip/95035c5e167ae6e740b1ddd30210ae0eaf39a5db Author: Kan Liang AuthorDate: Mon, 9 Jul 2018 07:15:22 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 31 Jul 2018 09:56:46 -0300 perf evlist: Fix

[tip:perf/core] perf tests: Fix complex event name parsing

2018-08-02 Thread tip-bot for Sandipan Das
Commit-ID: a6f39cecf71537d105f4bf87b8d4760851960838 Gitweb: https://git.kernel.org/tip/a6f39cecf71537d105f4bf87b8d4760851960838 Author: Sandipan Das AuthorDate: Thu, 26 Jul 2018 16:25:02 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 31 Jul 2018 10:52:23 -0300 perf tests: F

[tip:perf/core] tools include uapi: Grab a copy of linux/in.h

2018-08-02 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a4b2061242ecc024b1ee975e066b6e38db1c6b9e Gitweb: https://git.kernel.org/tip/a4b2061242ecc024b1ee975e066b6e38db1c6b9e Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 26 Jul 2018 09:26:13 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 31 Jul 2018 10:52:37 -0300 t

[tip:perf/core] perf beauty: Add a generator for IPPROTO_ socket's protocol constants

2018-08-02 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 9849eec3a44c6f47948117c14d7afb8cf53bf0fb Gitweb: https://git.kernel.org/tip/9849eec3a44c6f47948117c14d7afb8cf53bf0fb Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 26 Jul 2018 09:26:13 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 31 Jul 2018 10:52:41 -0300 p

[tip:perf/core] perf trace beauty: Do not print NULL strarray entries

2018-08-02 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: bc972ada4f85450ebf20c4981ee84a1a4b060161 Gitweb: https://git.kernel.org/tip/bc972ada4f85450ebf20c4981ee84a1a4b060161 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 26 Jul 2018 15:30:33 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 31 Jul 2018 10:52:46 -0300 p

[tip:perf/core] perf trace beauty: Add beautifiers for 'socket''s 'protocol' arg

2018-08-02 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 03aeb6c818b608a2b344e21bb978030c41158045 Gitweb: https://git.kernel.org/tip/03aeb6c818b608a2b344e21bb978030c41158045 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 26 Jul 2018 09:26:13 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 31 Jul 2018 10:52:47 -0300 p

Re: [PATCH v11 6/6] tty/serial: atmel: change the driver to work under at91-usart mfd

2018-08-02 Thread Greg KH
On Fri, Jul 13, 2018 at 07:47:36PM +0300, Radu Pirea wrote: > This patch modifies the place where resources and device tree properties > are searched. > > Signed-off-by: Radu Pirea > Reviewed-by: Andy Shevchenko > Acked-by: Richard Genoud > Acked-by: Nicolas Ferre Acked-by: Greg Kroah-Hartman

[tip:perf/core] perf trace: Beautify the AF_INET & AF_INET6 'socket' syscall 'protocol' args

2018-08-02 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 162d3edbe591a97939516b546162b9ba05ec62cb Gitweb: https://git.kernel.org/tip/162d3edbe591a97939516b546162b9ba05ec62cb Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 26 Jul 2018 09:26:13 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 31 Jul 2018 10:52:49 -0300 p

[tip:perf/core] perf tests: Fix indexing when invoking subtests

2018-08-02 Thread tip-bot for Sandipan Das
Commit-ID: aa90f9f9554616d5738f7bedb4a8f0e5e14d1bc6 Gitweb: https://git.kernel.org/tip/aa90f9f9554616d5738f7bedb4a8f0e5e14d1bc6 Author: Sandipan Das AuthorDate: Thu, 26 Jul 2018 22:47:33 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 31 Jul 2018 10:52:51 -0300 perf tests: F

Re: [PATCH v2 3/3] tty: Replace goldfish_tty_line_count with a #define

2018-08-02 Thread Greg KH
On Tue, Jul 24, 2018 at 05:51:33PM -0700, r...@google.com wrote: > From: Roman Kiryanov > > The driver never mutates this variable - no benefits of > keeping it mutable. > > Signed-off-by: Roman Kiryanov > --- > Changes in v2: > - Replaced "const u32" with "#define". > > drivers/tty/goldfish

[tip:perf/core] perf build: Fix installation directory for eBPF

2018-08-02 Thread tip-bot for Thomas Richter
Commit-ID: 83868bf71d2eb7700b37f1ea188007f0125e4ee4 Gitweb: https://git.kernel.org/tip/83868bf71d2eb7700b37f1ea188007f0125e4ee4 Author: Thomas Richter AuthorDate: Tue, 31 Jul 2018 09:32:54 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 31 Jul 2018 10:54:50 -0300 perf build:

Re: cpu stopper threads and setaffinity leads to deadlock

2018-08-02 Thread Peter Zijlstra
On Wed, Aug 01, 2018 at 06:34:40PM -0700, Sodagudi Prasad wrote: > diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c > index e190d1e..f932e1e 100644 > --- a/kernel/stop_machine.c > +++ b/kernel/stop_machine.c > @@ -87,9 +87,9 @@ static bool cpu_stop_queue_work(unsigned int cpu, struct > cp

Re: [PATCH v8 5/6] regulator: pfuze100-regulator: provide pm_power_off_prepare handler

2018-08-02 Thread Oleksij Rempel
On 30.07.2018 12:24, Mark Brown wrote: > On Mon, Jul 30, 2018 at 09:50:55AM +0200, Oleksij Rempel wrote: >> On 27.07.2018 11:32, Robin Gong wrote: > #include +#include > >>> Is it necessary? > >> yes, for pm_power_off_prepare > > That's a *weird* header to have to use for that sy

[PATCH] memcg: Add comment to mem_cgroup_css_online()

2018-08-02 Thread Kirill Tkhai
Explain relationships between allocation and expanding. Suggested-by: Vladimir Davydov Signed-off-by: Kirill Tkhai --- diff --git a/mm/memcontrol.c b/mm/memcontrol.c index d90993ef1d7d..34e5ff72ce87 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -4703,6 +4703,11 @@ static int mem_cgroup_c

[tip:perf/core] perf cs-etm: Fix start tracing packet handling

2018-08-02 Thread tip-bot for Leo Yan
Commit-ID: 3eb3e07bcfee0670d7142f839c76f33f3d265793 Gitweb: https://git.kernel.org/tip/3eb3e07bcfee0670d7142f839c76f33f3d265793 Author: Leo Yan AuthorDate: Wed, 11 Jul 2018 15:45:42 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 31 Jul 2018 10:57:56 -0300 perf cs-etm: Fix s

[tip:perf/core] perf c2c report: Fix crash for empty browser

2018-08-02 Thread tip-bot for Jiri Olsa
Commit-ID: 73978332572ccf5e364c31e9a70ba953f8202b46 Gitweb: https://git.kernel.org/tip/73978332572ccf5e364c31e9a70ba953f8202b46 Author: Jiri Olsa AuthorDate: Tue, 24 Jul 2018 08:20:08 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 31 Jul 2018 10:53:20 -0300 perf c2c report:

[tip:perf/core] perf cs-etm: Support dummy address value for CS_ETM_TRACE_ON packet

2018-08-02 Thread tip-bot for Leo Yan
Commit-ID: 6035b6804bdfd662c8ee6226dc90f3764060ec73 Gitweb: https://git.kernel.org/tip/6035b6804bdfd662c8ee6226dc90f3764060ec73 Author: Leo Yan AuthorDate: Wed, 11 Jul 2018 15:45:43 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 31 Jul 2018 10:58:29 -0300 perf cs-etm: Suppo

[tip:perf/core] perf cs-etm: Generate branch sample for CS_ETM_TRACE_ON packet

2018-08-02 Thread tip-bot for Leo Yan
Commit-ID: 14a85b1eca348e00a9f209b522f94ec3ead94acb Gitweb: https://git.kernel.org/tip/14a85b1eca348e00a9f209b522f94ec3ead94acb Author: Leo Yan AuthorDate: Wed, 11 Jul 2018 15:45:45 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 31 Jul 2018 11:22:50 -0300 perf cs-etm: Gener

[tip:perf/core] perf cs-etm: Generate branch sample when receiving a CS_ETM_TRACE_ON packet

2018-08-02 Thread tip-bot for Leo Yan
Commit-ID: d603b4e9f9c3181f2dacb989bba60081b99befe4 Gitweb: https://git.kernel.org/tip/d603b4e9f9c3181f2dacb989bba60081b99befe4 Author: Leo Yan AuthorDate: Wed, 11 Jul 2018 15:45:44 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 31 Jul 2018 11:22:11 -0300 perf cs-etm: Gener

[tip:perf/core] perf list: Unify metric group description format with PMU event description

2018-08-02 Thread tip-bot for Michael Petlan
Commit-ID: 95f04328e42dc7d1eb08f3cb38150c1f2ec09f57 Gitweb: https://git.kernel.org/tip/95f04328e42dc7d1eb08f3cb38150c1f2ec09f57 Author: Michael Petlan AuthorDate: Mon, 30 Jul 2018 17:35:04 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 31 Jul 2018 11:35:44 -0300 perf list:

[tip:perf/core] perf vendor events arm64: Update ThunderX2 implementation defined pmu core events

2018-08-02 Thread tip-bot for Ganapatrao Kulkarni
Commit-ID: b9b77222d4ff6b5bb8f5d87fca20de0910618bb9 Gitweb: https://git.kernel.org/tip/b9b77222d4ff6b5bb8f5d87fca20de0910618bb9 Author: Ganapatrao Kulkarni AuthorDate: Tue, 31 Jul 2018 15:32:51 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 31 Jul 2018 11:28:44 -0300 perf v

Re: [PATCH v8 5/6] regulator: pfuze100-regulator: provide pm_power_off_prepare handler

2018-08-02 Thread Oleksij Rempel
On 27.07.2018 11:32, Robin Gong wrote: > > >> -Original Message- >> From: Oleksij Rempel [mailto:o.rem...@pengutronix.de] >> Sent: 2018年7月26日 17:22 >> To: Shawn Guo ; Mark Brown ; >> Rafael J. Wysocki >> Cc: Oleksij Rempel ; ker...@pengutronix.de; >> devicet...@vger.kernel.org; linux-a

[tip:perf/core] perf bpf: Show better message when failing to load an object

2018-08-02 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 739e2edc848af30fefa66d6c422c00ca9a701c06 Gitweb: https://git.kernel.org/tip/739e2edc848af30fefa66d6c422c00ca9a701c06 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 31 Jul 2018 11:58:57 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 31 Jul 2018 11:58:57 -0300 p

[tip:perf/core] perf tools: Allow overriding MAX_NR_CPUS at compile time

2018-08-02 Thread tip-bot for Christophe Leroy
Commit-ID: 21b8732eb4479b579bda9ee38e62b2c312c2a0e5 Gitweb: https://git.kernel.org/tip/21b8732eb4479b579bda9ee38e62b2c312c2a0e5 Author: Christophe Leroy AuthorDate: Fri, 22 Sep 2017 13:20:43 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 1 Aug 2018 12:33:24 -0300 perf tools

[tip:perf/core] perf bpf: Include uapi/linux/bpf.h from the 'perf trace' script's bpf.h

2018-08-02 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 822c2621daadcf9e8fa8f11f7334e3c349434154 Gitweb: https://git.kernel.org/tip/822c2621daadcf9e8fa8f11f7334e3c349434154 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 1 Aug 2018 10:50:51 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 1 Aug 2018 12:34:06 -0300 per

[tip:perf/core] perf trace: Do not require --no-syscalls to suppress strace like output

2018-08-02 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: b912885ab75c7c8aa841c615108afd755d0b97f8 Gitweb: https://git.kernel.org/tip/b912885ab75c7c8aa841c615108afd755d0b97f8 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 1 Aug 2018 16:20:28 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 1 Aug 2018 16:20:28 -0300 per

Re: [char-misc-next 06/12] mei: dma ring buffers allocation

2018-08-02 Thread Greg Kroah-Hartman
On Tue, Jul 31, 2018 at 09:35:38AM +0300, Tomas Winkler wrote: > --- /dev/null > +++ b/drivers/misc/mei/dma-ring.c > @@ -0,0 +1,103 @@ > +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 I thought Intel was not doing this type of crazy nonsense anymore and just properly creating new files that

Re: [char-misc-next 00/12] mei: Add DMA ring

2018-08-02 Thread Greg Kroah-Hartman
On Tue, Jul 31, 2018 at 09:35:32AM +0300, Tomas Winkler wrote: > This series adds an alternative method for > transferring data between the mei driver and the device > via a DMA ring. The DMA ring allows transferring > data in bigger chunks, up to 128K, than the HW ring 512B. > The actual sizes dep

RE: [char-misc-next 06/12] mei: dma ring buffers allocation

2018-08-02 Thread Winkler, Tomas
> On Tue, Jul 31, 2018 at 09:35:38AM +0300, Tomas Winkler wrote: > > --- /dev/null > > +++ b/drivers/misc/mei/dma-ring.c > > @@ -0,0 +1,103 @@ > > +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 > > I thought Intel was not doing this type of crazy nonsense anymore and just > properly creati

[PATCH] uio: potential double frees if __uio_register_device() fails

2018-08-02 Thread Dan Carpenter
The uio_unregister_device() function assumes that if "info->uio_dev" is non-NULL that means "info" is fully allocated. Setting info->uio_de has to be the last thing in the function. In the current code, if request_threaded_irq() fails then we return with info->uio_dev set to non-NULL but info is

[PATCH] eeprom: idt_89hpesx: clean up an error pointer vs NULL inconsistency

2018-08-02 Thread Dan Carpenter
We check for IS_ERR_OR_NULL() here, but later we check the same thing for NULL only. It turns out that it can only be NULL so we can make the checking consistent by removing the ERR_PTR stuff. Signed-off-by: Dan Carpenter diff --git a/drivers/misc/eeprom/idt_89hpesx.c b/drivers/misc/eeprom/idt

Re: cpu stopper threads and setaffinity leads to deadlock

2018-08-02 Thread Mike Galbraith
On Thu, 2018-08-02 at 10:12 +0200, Peter Zijlstra wrote: > On Wed, Aug 01, 2018 at 06:34:40PM -0700, Sodagudi Prasad wrote: > > diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c > > index e190d1e..f932e1e 100644 > > --- a/kernel/stop_machine.c > > +++ b/kernel/stop_machine.c > > @@ -87,9 +

Re: [PATCH 7/8] char: rtc: remove task handling

2018-08-02 Thread Greg Kroah-Hartman
On Thu, Jul 26, 2018 at 03:40:55PM +0200, Alexandre Belloni wrote: > Since commit 9e7002a70e42 ("char: rtc: remove unused rtc_control() API"), > it is not possible to set a callback anymore, remove its handling from the > interrupt handler. > > Cc: Arnd Bergmann > Cc: Greg Kroah-Hartman > Signed

linux-next: manual merge of the akpm-current tree with the block tree

2018-08-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: kernel/fork.c between commit: 2c323017e381 ("blk-cgroup: clear the throttle queue on fork") from the block tree and commit: f3ed47469a7b ("fs: fsnotify: account fsnotify metadata to kmemcg") from the akpm-curr

Re: [PATCH v2] staging: mt29f_spinand: fix memory leak while programming pages

2018-08-02 Thread Jheng-Jhong Wu
Dear greg k-h, Before device is removed and freed memory automatically, programming pages may run many many times. Assume we erase and rewrite a large part of the flash, then spinand_program_page() might exhaust memory if memory is not large enough. We may not remove and re-add the device between

Re: [PATCH v2 02/10] mfd: wcd9335: add support to wcd9335 core

2018-08-02 Thread Lee Jones
On Fri, 27 Jul 2018, Srinivas Kandagatla wrote: > Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC, > It has mulitple blocks like Soundwire controller, codec, > Codec processing engine, ClassH controller, interrupt mux. > It supports both I2S/I2C and SLIMbus audio interfaces. > > This

Re: [PATCH 2/2] android: binder: Rate-limit debug and userspace triggered err msgs

2018-08-02 Thread Greg Kroah-Hartman
On Thu, Jul 26, 2018 at 05:17:18PM -0700, Sherry Yang wrote: > Use rate-limited debug messages where userspace can trigger > excessive log spams. > > Acked-by: Arve Hjønnevåg > Signed-off-by: Sherry Yang > --- > drivers/android/binder.c | 5 +++-- > drivers/android/binder_alloc.c | 41 ++

Re: [PATCH v11 1/2] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-08-02 Thread Lee Jones
On Mon, 30 Jul 2018, Matti Vaittinen wrote: > ROHM BD71837 PMIC MFD driver providing interrupts and support > for three subsystems: > - clk > - Regulators > - input/power-key > > Signed-off-by: Matti Vaittinen > Reviewed-by: Enric Balletbo i Serra > --- > drivers/mfd/Kconfig | 13

Re: [PATCH v8 6/6] ARM: dts: imx6: RIoTboard provide standby on power off option

2018-08-02 Thread Oleksij Rempel
On 27.07.2018 11:33, Robin Gong wrote: > > >> -Original Message- >> From: Oleksij Rempel [mailto:o.rem...@pengutronix.de] >> Sent: 2018年7月26日 17:22 >> To: Shawn Guo ; Mark Brown ; >> Rafael J. Wysocki >> Cc: Oleksij Rempel ; ker...@pengutronix.de; >> devicet...@vger.kernel.org; linux-a

Re: [PATCH 1/4] soc: amlogic: add meson-canvas driver

2018-08-02 Thread Neil Armstrong
Hi Maxime, On 01/08/2018 20:51, Maxime Jourdan wrote: > Amlogic SoCs have a repository of 256 canvas which they use to > describe pixel buffers. > > They contain metadata like width, height, block mode, endianness [..] > > Many IPs within those SoCs like vdec/vpu rely on those canvas to read/wri

Re: [PATCH v2] staging: mt29f_spinand: fix memory leak while programming pages

2018-08-02 Thread Greg KH
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Thu, Aug 02, 2018 at 04:31

[PATCH] ARC: Remove CONFIG_DEFAULT_HOSTNAME from defconfigs

2018-08-02 Thread Alexey Brodkin
There's no reason to set the same hostname to all ARC boards by default. It usually gets overwritten by init scripts anyways. Signed-off-by: Alexey Brodkin --- arch/arc/configs/axs101_defconfig | 1 - arch/arc/configs/axs103_defconfig | 1 - arch/arc/configs/axs103_smp_defconfi

[PATCH 2/8] staging: gasket: core: print driver version code at registration time

2018-08-02 Thread Todd Poynor
From: Todd Poynor Print the driver version code in the kernel log at gasket driver registration time for informational purposes. Add "gasket:" prefix to make clear it is the gasket framework logging this information. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.c | 5 +++-

[PATCH 6/8] staging: gasket: remove "reset type" param from framework

2018-08-02 Thread Todd Poynor
From: Todd Poynor The "type of reset" parameter to the gasket device reset APIs isn't required by the only gasket device submitted upstream, apex. The framework documents the param as private to the device driver and a pass-through at the gasket layer, but the gasket core calls the device driver

[PATCH 5/8] staging: gasket: core: add subsystem and device info to error logs

2018-08-02 Thread Todd Poynor
From: Todd Poynor Identify gasket as the subsystem printing various error messages. Add the driver name to appropriate messages to indicate which driver has a problem. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.c | 27 +++ 1 file changed, 15 inser

[PATCH 0/8] staging: gasket: cleanups du jour

2018-08-02 Thread Todd Poynor
From: Todd Poynor More cleanups for the gasket+apex drivers. Todd Poynor (8): staging: gasket: apex: enable power save mode by default staging: gasket: core: print driver version code at registration time staging: gasket: core: move driver loaded log after error cases staging: gasket: co

[PATCH 8/8] Revert "staging: gasket: core: hold reference to pci_dev while used"

2018-08-02 Thread Todd Poynor
From: Todd Poynor There's no need to take an additional reference on the pci_dev structure for the pointer copy saved in gasket data structures. This reverts commit 8dd8a48b9a7dae5493494a8603adddfdf1914716. Reported-by: Dmitry Torokhov Signed-off-by: Todd Poynor --- drivers/staging/gasket/ga

[PATCH] misc: mic: SCIF Fix scif_get_new_port() error handling

2018-08-02 Thread Dan Carpenter
There are only 2 callers of scif_get_new_port() and both appear to get the error handling wrong. Both treat zero returns as error, but it actually returns negative error codes and >= 0 on success. Fixes: e9089f43c9a7 ("misc: mic: SCIF open close bind and listen APIs") Signed-off-by: Dan Carpenter

[PATCH 3/8] staging: gasket: core: move driver loaded log after error cases

2018-08-02 Thread Todd Poynor
From: Todd Poynor Gasket could claim to have loaded a driver and then print an error indicating it actually did not. Move the driver registration message after the last error check. Replace the existing "loaded successfully" message with this instead. Signed-off-by: Todd Poynor --- drivers/s

[PATCH 1/8] staging: gasket: apex: enable power save mode by default

2018-08-02 Thread Todd Poynor
From: Todd Poynor Set default value of allow_power_save parameter to enable power save mode, which is expected to be the state usually desired. Signed-off-by: Marty Faltesek Signed-off-by: Todd Poynor --- drivers/staging/gasket/apex_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(

[PATCH 4/8] staging: gasket: core: device register debug log cleanups

2018-08-02 Thread Todd Poynor
From: Todd Poynor At device/driver registration time, convert a not-very-informative info message to a more informative dbeug message, drop some not overly helpful debug messages. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.c | 7 ++- 1 file changed, 2 insertions(+),

[PATCH 7/8] staging: gasket: apex: drop reset type param

2018-08-02 Thread Todd Poynor
From: Todd Poynor Apex doesn't implement different types of resets based on the reset type param passed through the gasket layer or from userspace via the gasket_reset ioctl. The reset type is dropped from the gasket framework in a previous patch due to a lack of present need and non-conforming

Re: cpu stopper threads and setaffinity leads to deadlock

2018-08-02 Thread Peter Zijlstra
On Wed, Aug 01, 2018 at 06:34:40PM -0700, Sodagudi Prasad wrote: > the Linux-4.14.56 kernel. Can you also please run on something recent...

Re: [PATCH v7 2/3] Bluetooth: mediatek: Add protocol support for MediaTek serial devices

2018-08-02 Thread Sean Wang
On Thu, 2018-08-02 at 09:38 +0200, Marcel Holtmann wrote: > Hi Sean, > [ ... ] > >>> + > >>> +static int mtk_hci_wmt_sync(struct hci_dev *hdev, u8 op, u8 flag, u16 > >>> plen, > >>> + const void *param) > >>> +{ > >>> + struct mtk_hci_wmt_cmd wc; > >>> + struct mtk_wmt_hdr *

Re: [PATCH 1/4] soc: amlogic: add meson-canvas driver

2018-08-02 Thread Neil Armstrong
Hi Maxime, On 01/08/2018 20:51, Maxime Jourdan wrote: > Amlogic SoCs have a repository of 256 canvas which they use to > describe pixel buffers. > > They contain metadata like width, height, block mode, endianness [..] > > Many IPs within those SoCs like vdec/vpu rely on those canvas to read/wri

[PATCH v3] timers: Clear must_forward_clk inside base lock

2018-08-02 Thread Gaurav Kohli
Timer wheel base->must_forward_clock is indicating that the base clock might be stale due to a long idle sleep. The forwarding of the base clock takes place in the timer softirq or when a timer is enqueued to a base which is idle. If the enqueue of timer to an idle base happens from a remote CPU, t

Re: [PATCH v2 03/10] mfd: wcd9335: add wcd irq support

2018-08-02 Thread Srinivas Kandagatla
Thanks for the review, On 02/08/18 09:05, Lee Jones wrote: On Fri, 27 Jul 2018, Srinivas Kandagatla wrote: WCD9335 supports two lines of irqs INTR1 and INTR2. Multiple interrupts are muxed via these lines. INTR1 consists of all possible interrupt sources like: Ear OCP, HPH OCP, MBHC, MAD, VBAT

Re: [PATCH 2/4] aio: add a iocb refcount

2018-08-02 Thread Christoph Hellwig
On Thu, Aug 02, 2018 at 12:19:56AM +0100, Al Viro wrote: > On Mon, Jul 30, 2018 at 09:15:42AM +0200, Christoph Hellwig wrote: > > This is needed to prevent races caused by the way the ->poll API works. > > To avoid introducing overhead for other users of the iocbs we initialize > > it to zero and o

R: CONTACTO

2018-08-02 Thread DBC
Estimado/a Sr./Sra: Tras visitar su página de Internet, hemos observado que está dirigida principalmente a empresas; por eso, queremos proponerles un producto que les ayudará a aumentar significativamente su número de clientes. Les invitamos a visitar nuestra página web: http://www.dbc-es.com/

Re: [PATCH 3/4] aio: implement IOCB_CMD_POLL

2018-08-02 Thread Christoph Hellwig
On Thu, Aug 02, 2018 at 12:54:12AM +0100, Al Viro wrote: > On Mon, Jul 30, 2018 at 09:15:43AM +0200, Christoph Hellwig wrote: > > > + apt.error = -EINVAL; /* same as no support for IOCB_CMD_POLL */ > > > + mask = vfs_poll(req->file, &apt.pt) & req->events; > > + if (mask || apt.error) { > >

Re: [PATCH 2/8] staging: gasket: core: print driver version code at registration time

2018-08-02 Thread Greg Kroah-Hartman
On Thu, Aug 02, 2018 at 01:42:39AM -0700, Todd Poynor wrote: > From: Todd Poynor > > Print the driver version code in the kernel log at gasket driver > registration time for informational purposes. Add "gasket:" prefix to > make clear it is the gasket framework logging this information. > > Sig

Re: [PATCH 5/8] staging: gasket: core: add subsystem and device info to error logs

2018-08-02 Thread Greg Kroah-Hartman
On Thu, Aug 02, 2018 at 01:42:42AM -0700, Todd Poynor wrote: > From: Todd Poynor > > Identify gasket as the subsystem printing various error messages. > Add the driver name to appropriate messages to indicate which driver > has a problem. > > Signed-off-by: Todd Poynor > --- > drivers/staging/

[PATCH -next] drm/vkms: Fix the error handling in vkms_init()

2018-08-02 Thread Wei Yongjun
In the drm_vblank_init() error handling case, platform device unregister is missing. This patch fix it. Fixes: 3a0709928b17 ("drm/vkms: Add vblank events simulated by hrtimers") Signed-off-by: Wei Yongjun --- drivers/gpu/drm/vkms/vkms_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 3/8] staging: gasket: core: move driver loaded log after error cases

2018-08-02 Thread Greg Kroah-Hartman
On Thu, Aug 02, 2018 at 01:42:40AM -0700, Todd Poynor wrote: > From: Todd Poynor > > Gasket could claim to have loaded a driver and then print an error > indicating it actually did not. Move the driver registration message > after the last error check. Replace the existing "loaded successfully"

Re: [RFC PATCH] perf/core: don't sample kernel regs upon skid

2018-08-02 Thread Mark Rutland
On Wed, Jul 11, 2018 at 06:59:28AM +0100, Mark Rutland wrote: > On Mon, Jul 09, 2018 at 06:42:29PM -0400, Boris Ostrovsky wrote: > > On 07/02/2018 12:02 PM, Mark Rutland wrote: > > > On Mon, Jul 02, 2018 at 05:46:55PM +0200, Peter Zijlstra wrote: > > >> On Mon, Jul 02, 2018 at 04:12:50PM +0100, Mar

Re: [PATCH 4/8] staging: gasket: core: device register debug log cleanups

2018-08-02 Thread Greg Kroah-Hartman
On Thu, Aug 02, 2018 at 01:42:41AM -0700, Todd Poynor wrote: > From: Todd Poynor > > At device/driver registration time, convert a not-very-informative > info message to a more informative dbeug message, drop some not overly > helpful debug messages. > > Signed-off-by: Todd Poynor > --- > driv

Re: [PATCH 8/8] Revert "staging: gasket: core: hold reference to pci_dev while used"

2018-08-02 Thread Greg Kroah-Hartman
On Thu, Aug 02, 2018 at 01:42:45AM -0700, Todd Poynor wrote: > From: Todd Poynor > > There's no need to take an additional reference on the pci_dev structure > for the pointer copy saved in gasket data structures. > > This reverts commit 8dd8a48b9a7dae5493494a8603adddfdf1914716. Hint, when deal

Re: [PATCH] mmc: Move the mmc driver init earlier

2018-08-02 Thread Feng Tang
Hi Ulf, On Tue, Jun 12, 2018 at 12:29:50PM +0200, Ulf Hansson wrote: > On 12 June 2018 at 10:42, Feng Tang wrote: > > Hi Ulf, > > > > Thanks for the review. > > > > On Tue, Jun 12, 2018 at 08:25:44AM +0200, Ulf Hansson wrote: > >> On 8 June 2018 at 11:51, Feng Tang wrote: > >> > When doing some

Re: [PATCH] afs: Mark expected switch fall-throughs

2018-08-02 Thread David Howells
Gustavo A. R. Silva wrote: > + /* Fall through */ > no_msw: > /* extract the returned data length */ > case 2: That would appear to be added in the wrong place. The fall-through is after the no_msw label. > + > + /* Fall through */ > no_v

Re: [RFC 1/2] slub: Avoid trying to allocate memory on offline nodes

2018-08-02 Thread Michal Hocko
On Wed 01-08-18 15:04:17, Jeremy Linton wrote: [...] > @@ -2519,6 +2519,8 @@ static void *___slab_alloc(struct kmem_cache *s, gfp_t > gfpflags, int node, > if (unlikely(!node_match(page, searchnode))) { > stat(s, ALLOC_NODE_MISMATCH); > dea

RE: AW: PROBLEM: Kernel Oops in UDP stack

2018-08-02 Thread David Laight
From: Marcel Hellwig > Sent: 01 August 2018 11:36 > >> [] (udp_recvmsg+0x284/0x33c) from [] > >> (inet_recvmsg+0x38/0x4c): > net/ipv4/udp.c:1234 > > > > sin->sin_addr.s_addr = ip_hdr(skb)->saddr; > > > >Unaligned access trap (virtual address c14fe63a), so either sin or > >ip_hdr(skb)

Re: [PATCH 3/4] aio: implement IOCB_CMD_POLL

2018-08-02 Thread Christoph Hellwig
On Thu, Aug 02, 2018 at 01:21:22AM +0100, Al Viro wrote: > So what happens if > * we call aio_poll(), add the sucker to queue and see that we need > to wait > * add to ->active_refs just as the wakeup comes active_reqs I guess.. > * wakeup removes from queue and hits schedule_wo

Re: [PATCH v2 02/10] mfd: wcd9335: add support to wcd9335 core

2018-08-02 Thread Srinivas Kandagatla
Thanks for the review, On 02/08/18 09:33, Lee Jones wrote: On Fri, 27 Jul 2018, Srinivas Kandagatla wrote: Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC, It has mulitple blocks like Soundwire controller, codec, Codec processing engine, ClassH controller, interrupt mux. It suppor

<    1   2   3   4   5   6   7   >