[tip:x86/urgent] x86/entry/32: Fix ENDPROC of common_spurious

2019-07-09 Thread tip-bot for Jiri Slaby
Commit-ID: 1cbec37b3f9cff074a67bef4fc34b30a09958a0a Gitweb: https://git.kernel.org/tip/1cbec37b3f9cff074a67bef4fc34b30a09958a0a Author: Jiri Slaby AuthorDate: Tue, 9 Jul 2019 08:34:02 +0200 Committer: Thomas Gleixner CommitDate: Tue, 9 Jul 2019 14:41:03 +0200 x86/entry/32: Fix ENDPROC

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

2019-07-09 Thread Jason Gunthorpe
On Tue, Jul 09, 2019 at 04:18:00AM -0300, Leon Romanovsky wrote: > On Tue, Jul 09, 2019 at 10:04:16AM +0300, Mark Zhang wrote: > > Hi Stephen, > > Stephen, > > For some reason, I wasn't in initial email report, can you please check why? > > I need to be aware of any issues related to patches wit

Re: [PATCH RESEND] watchdog: sama5d4: fix WDD value to be always set to max

2019-07-09 Thread Guenter Roeck
On 7/9/19 12:26 AM, eugen.hris...@microchip.com wrote: From: Eugen Hristev WDD value must be always set to max (0xFFF) otherwise the hardware block will reset the board on the first ping of the watchdog. Reviewed-by: Guenter Roeck Signed-off-by: Eugen Hristev This patch is already in -next

Re: [PATCH v2] docs: driver-api: generic-counter: fix file path to ABI doc

2019-07-09 Thread Jonathan Corbet
On Tue, 9 Jul 2019 20:06:33 +0900 William Breathitt Gray wrote: > Fixes: 09e7d4ed8991 ("docs: Add Generic Counter interface documentation") > Signed-off-by: William Breathitt Gray > > Jonathan, would you be able to pick this up in your tree? I can apply it, yes. But why are you supplying an S

Re: [for-next][PATCH 12/16] kprobes: Initialize kprobes at postcore_initcall

2019-07-09 Thread Masami Hiramatsu
On Wed, 3 Jul 2019 10:25:04 -0400 Steven Rostedt wrote: > On Wed, 3 Jul 2019 10:24:02 -0400 > Steven Rostedt wrote: > > > On Wed, 3 Jul 2019 15:08:32 +0100 > > Catalin Marinas wrote: > > > > > > > > +static int __init run_init_test_probes(void) > > > > +{ > > > > + if (run_kprobe_tests

Re: [PATCH] x86/alternatives: Fix int3_emulate_call() selftest stack corruption

2019-07-09 Thread Peter Zijlstra
On Mon, Jul 08, 2019 at 03:55:30PM -0500, Josh Poimboeuf wrote: > arch/x86/kernel/alternative.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c > index 99ef8b6f9a1a..2644a7b82f96 100644 > --- a/arch/x8

[tip:irq/urgent] irqchip/renesas-rza1: Prevent use-after-free in rza1_irqc_probe()

2019-07-09 Thread tip-bot for Wen Yang
Commit-ID: 7c8e90ddf02f139a90bc29c04302e9914818f0c8 Gitweb: https://git.kernel.org/tip/7c8e90ddf02f139a90bc29c04302e9914818f0c8 Author: Wen Yang AuthorDate: Mon, 8 Jul 2019 14:19:04 +0800 Committer: Thomas Gleixner CommitDate: Tue, 9 Jul 2019 14:53:50 +0200 irqchip/renesas-rza1: Preven

Re: [PATCH] kbuild: check arch/$(SRCARCH)/include/generated before out-of-tree build

2019-07-09 Thread Masahiro Yamada
Hi Geert, On Tue, Jul 9, 2019 at 9:45 PM Geert Uytterhoeven wrote: > > Hi Yamada-san, > > On Tue, Jul 9, 2019 at 2:22 PM Masahiro Yamada > wrote: > > On Tue, Jul 9, 2019 at 5:31 PM Geert Uytterhoeven > > wrote: > > > On Sun, Apr 7, 2019 at 12:45 PM Masahiro Yamada > > > wrote: > > > > After c

[PATCH 0/1] counter: cros_ec: Add sync sensor driver

2019-07-09 Thread Fabien Lahoudere
Some chromebook EC provides a counter to get all vsync coming from the back camera. This series introduces a patch coming from chromebook kernel 4.4 designed as an IIO counter. As IIO counter will be deprecated in favor of counter, I rebase the original patch and support the new counter API. The s

[PATCH 1/1] counter: cros_ec: Add synchronization sensor

2019-07-09 Thread Fabien Lahoudere
From: Gwendal Grignou EC returns a counter when there is an event on camera vsync. This patch comes from chromeos kernel 4.4 Signed-off-by: Gwendal Grignou Signed-off-by: Fabien Lahoudere CROS EC sync sensor was originally designed as an IIO device. Now that the counter subsystem will replace

Re: [PATCH] kbuild: check arch/$(SRCARCH)/include/generated before out-of-tree build

2019-07-09 Thread Geert Uytterhoeven
Hi Yamada-san, On Tue, Jul 9, 2019 at 2:59 PM Masahiro Yamada wrote: > On Tue, Jul 9, 2019 at 9:45 PM Geert Uytterhoeven > wrote: > > On Tue, Jul 9, 2019 at 2:22 PM Masahiro Yamada > > wrote: > > > On Tue, Jul 9, 2019 at 5:31 PM Geert Uytterhoeven > > > wrote: > > > > On Sun, Apr 7, 2019 at

Re: [PATCH] arm64: Explicitly set pstate.ssbs for el0 on kernel entry

2019-07-09 Thread Marc Zyngier
Hi Neeraj, On 09/07/2019 12:22, Neeraj Upadhyay wrote: > For cpus which do not support pstate.ssbs feature, el0 > might not retain spsr.ssbs. This is problematic, if this > task migrates to a cpu supporting this feature, thus > relying on its state to be correct. On kernel entry, > explicitly set

Re: [PATCH 04/11] trace-cmd: add global functions for live tracing

2019-07-09 Thread Steven Rostedt
On Fri, 20 Nov 2015 15:57:26 -0500 Josef Bacik wrote: > We need a few functions to disable/enable tracing as well as add events to be > enabled on the first instance, this patch turns a couple of these local > functions into library functions. Thanks, Hi Josef, Not sure you still use this, as

[PATCH v3 1/2] dt-bindings: i3c: Document MediaTek I3C master bindings

2019-07-09 Thread Qii Wang
Document MediaTek I3C master DT bindings. Signed-off-by: Qii Wang --- .../devicetree/bindings/i3c/mtk,i3c-master.txt | 48 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/i3c/mtk,i3c-master.txt diff --git a/Documentation/devicetr

[PATCH v3 0/2] Add MediaTek I3C master controller driver

2019-07-09 Thread Qii Wang
This series are based on 5.2-rc1, we provide two patches to support MediaTek I3C master controller. Main changes compared to v2: --modify the description of clock and interrupt in bindings --use correct cells for I2C device in bindings Main changes compared to v1: --remove clock-div, let clock dr

[PATCH v3 2/2] i3c: master: Add driver for MediaTek IP

2019-07-09 Thread Qii Wang
Add a driver for MediaTek I3C master IP. Signed-off-by: Qii Wang --- drivers/i3c/master/Kconfig | 10 + drivers/i3c/master/Makefile |1 + drivers/i3c/master/i3c-master-mtk.c | 1239 +++ 3 files changed, 1250 insertions(+) create mode 100644

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

2019-07-09 Thread Leon Romanovsky
On Tue, Jul 09, 2019 at 10:43:56PM +1000, Stephen Rothwell wrote: > Hi Leon, > > On Tue, 9 Jul 2019 07:18:00 + Leon Romanovsky wrote: > > > > For some reason, I wasn't in initial email report, can you please check why? > > Sorry about that, I manually grab email addresses from SOB lines in > c

Re: [PATCH 5.1 00/96] 5.1.17-stable review

2019-07-09 Thread Amol Surati
On Mon, Jul 08, 2019 at 05:12:32PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.1.17 release. > There are 96 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know.

Re: [PATCH] x86/alternatives: Fix int3_emulate_call() selftest stack corruption

2019-07-09 Thread Josh Poimboeuf
On Tue, Jul 09, 2019 at 02:57:44PM +0200, Peter Zijlstra wrote: > On Mon, Jul 08, 2019 at 03:55:30PM -0500, Josh Poimboeuf wrote: > > > arch/x86/kernel/alternative.c | 9 - > > 1 file changed, 8 insertions(+), 1 deletion(-) > > > > diff --git a/arch/x86/kernel/alternative.c b/arch/x86/ke

[PATCH v3 1/9] dt-bindings: i2c: at91: add new compatible

2019-07-09 Thread Eugen.Hristev
From: Eugen Hristev Add compatible for new Microchip SoC, sam9x60 Signed-off-by: Eugen Hristev --- Documentation/devicetree/bindings/i2c/i2c-at91.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/i2c/i2c-at91.txt b/Documentation/device

[PATCH v3 2/9] dt-bindings: i2c: add bindings for i2c analog and digital filter

2019-07-09 Thread Eugen.Hristev
From: Eugen Hristev Some i2c controllers have a built-in digital or analog filter. This is specifically required depending on the hardware PCB/board. Some controllers also allow specifying the maximum width of the spikes that can be filtered. The width length can be specified in nanoseconds. Sig

[PATCH v3 0/9] i2c: add support for filters

2019-07-09 Thread Eugen.Hristev
From: Eugen Hristev Hello, This series adds support for analog and digital filters for i2c controllers This series is based on the series: [PATCH v2 0/9] i2c: at91: filters support for at91 SoCs and enhanced to add the bindings for all controllers plus an extra binding for the width of the spik

[PATCH v3 4/9] i2c: at91: add new platform support for sam9x60

2019-07-09 Thread Eugen.Hristev
From: Eugen Hristev Add new platform data support for the sam9x60 SoC Signed-off-by: Eugen Hristev --- drivers/i2c/busses/i2c-at91-core.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/i2c/busses/i2c-at91-core.c b/drivers/i2c/busses/i2c-at91-core.c index 8d55cdd..a66

[PATCH v3 7/9] i2c: at91: add support for analog filtering

2019-07-09 Thread Eugen.Hristev
From: Eugen Hristev Add support for analog filtering for i2c lines. The sama5d2 and sam9x60 support this feature. Signed-off-by: Eugen Hristev --- drivers/i2c/busses/i2c-at91-core.c | 9 + drivers/i2c/busses/i2c-at91-master.c | 18 ++ drivers/i2c/busses/i2c-at91.h

[PATCH v3 6/9] i2c: at91: add support for advanced digital filtering

2019-07-09 Thread Eugen.Hristev
From: Eugen Hristev Add new platform data support for advanced digital filtering for i2c. The sama5d2 and sam9x60 support this feature. This digital filter allows the user to configure the maximum width of the spikes that can be filtered. Signed-off-by: Eugen Hristev --- drivers/i2c/busses/i2c

[PATCH v3 9/9] ARM: dts: at91: sama5d4_xplained: add digital filter for i2c

2019-07-09 Thread Eugen.Hristev
From: Eugen Hristev Add property for digital filter for i2c0 node sama5d4_xplained Signed-off-by: Eugen Hristev --- arch/arm/boot/dts/at91-sama5d4_xplained.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts b/arch/arm/boot/dts/at91-sama5d4_xpla

[PATCH v3 3/9] i2c: add support for filter-width-ns optional property

2019-07-09 Thread Eugen.Hristev
From: Eugen Hristev This optional timing property specifies the width of the spikes on the i2c lines (in ns) that can be filtered out by built-in analog or digital filters which are embedded in some i2c controllers. Include it in the timings structure and read it as integer property. Signed-off-

Re: linux-next: manual merge of the gpio tree with the mfd tree

2019-07-09 Thread Linus Walleij
Hi Stephen, Linus On Tue, Jul 9, 2019 at 2:16 AM Stephen Rothwell wrote: > > Today's linux-next merge of the gpio tree got a conflict in: > > > > drivers/gpio/Makefile > > > > between commit: > > > > 18bc64b3aebf ("gpio: Initial support for ROHM bd70528 GPIO block") > > > > from the mfd tree

[PATCH v3 5/9] i2c: at91: add support for digital filtering

2019-07-09 Thread Eugen.Hristev
From: Eugen Hristev Add new platform data support for digital filtering for i2c. The sama5d4, sama5d2 and sam9x60 support this feature. Signed-off-by: Eugen Hristev --- drivers/i2c/busses/i2c-at91-core.c | 9 + drivers/i2c/busses/i2c-at91-master.c | 9 + drivers/i2c/busses/i2

[PATCH v3 8/9] ARM: dts: at91: sama5d2_xplained: add analog and digital filter for i2c

2019-07-09 Thread Eugen.Hristev
From: Eugen Hristev Add property for analog and digital filter for i2c1 and i2c2 nodes for sama5d2_xplained Signed-off-by: Eugen Hristev --- arch/arm/boot/dts/at91-sama5d2_xplained.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch

[GIT PULL] printk for 5.3

2019-07-09 Thread Petr Mladek
Linus, please pull the latest printk changes from git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk tags/printk-for-5.3 - Allow to distinguish different legacy clocks again. - Small clean up. G

Re: [PATCH V2 2/2] dt-bindings: Document the DesignWare IP reset bindings

2019-07-09 Thread Rob Herring
On Tue, Jul 9, 2019 at 4:33 AM Luis de Oliveira wrote: > > Hi Rob, > > Thank you for the comments, > > From: Rob Herring > Date: Tue, Jul 09, 2019 at 02:52:20 > > > On Thu, Jun 06, 2019 at 05:36:28PM +0200, Luis Oliveira wrote: > > > This adds documentation of device tree bindings for the > > > D

Re: [RFC PATCH 3/6] sched/dl: Try better placement even for deadline tasks that do not block

2019-07-09 Thread luca abeni
Hi Peter, On Mon, 8 Jul 2019 15:55:36 +0200 Peter Zijlstra wrote: > On Mon, May 06, 2019 at 06:48:33AM +0200, Luca Abeni wrote: > > @@ -1223,8 +1250,17 @@ static void update_curr_dl(struct rq *rq) > > dl_se->dl_overrun = 1; > > > > __dequeue_task_dl(rq, curr, 0)

Re: [PATCH v4 1/2] dt-bindings: interrupt-controller: Amazon's Annapurna Labs FIC

2019-07-09 Thread Rob Herring
On Tue, Jul 9, 2019 at 12:00 AM Shenhar, Talel wrote: > > Marc, should I publish those fixes as new patch that updates the > dt-bindings or new patchset to this list? > > On 7/9/2019 5:23 AM, Rob Herring wrote: > > On Mon, Jun 10, 2019 at 11:34:42AM +0300, Talel Shenhar wrote: > >> +- #interrupt-c

RE: [PATCH] tipc: ensure skb->lock is initialised

2019-07-09 Thread Jon Maloy
> -Original Message- > From: Eric Dumazet > Sent: 9-Jul-19 03:31 > To: Chris Packham ; Eric Dumazet > ; Jon Maloy ; > ying@windriver.com; da...@davemloft.net > Cc: net...@vger.kernel.org; tipc-discuss...@lists.sourceforge.net; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH] ti

[PATCH] kbuild: Inform user to pass ARCH= for make mrproper

2019-07-09 Thread Geert Uytterhoeven
When cross-compiling an out-of-tree build with an unclean source tree directory, the build fails with: /path/to/kernel/source/tree is not clean, please run 'make mrproper' in the '/path/to/kernel/source/tree' directory. However, doing so does not fix the problem, as "make mrproper" now requir

Re: [PATCH] gpio: don't WARN() on NULL descs if gpiolib is disabled

2019-07-09 Thread Linus Walleij
Hi Bartosz, On Mon, Jul 8, 2019 at 10:25 AM Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > If gpiolib is disabled, we use the inline stubs from gpio/consumer.h > instead of regular definitions of GPIO API. The stubs for 'optional' > variants of gpiod_get routines return NULL in this

Re: [PATCH V2 1/2] DT: mailbox: add binding doc for the ARM SMC mailbox

2019-07-09 Thread Rob Herring
On Mon, Jul 8, 2019 at 7:40 PM Peng Fan wrote: > > Hi Rob, > > > Subject: Re: [PATCH V2 1/2] DT: mailbox: add binding doc for the ARM SMC > > mailbox > > > > On Mon, Jun 03, 2019 at 04:30:04PM +0800, peng@nxp.com wrote: > > > From: Peng Fan > > > > > > The ARM SMC mailbox binding describes a

Re: [PATCH 2/2] x86/numa: instance all parsed numa node

2019-07-09 Thread Andy Lutomirski
> On Jul 9, 2019, at 1:24 AM, Pingfan Liu wrote: > >> On Tue, Jul 9, 2019 at 2:12 PM Thomas Gleixner wrote: >> >>> On Tue, 9 Jul 2019, Pingfan Liu wrote: On Mon, Jul 8, 2019 at 5:35 PM Thomas Gleixner wrote: It can and it does. That's the whole point why we bring up all

Re: [PATCH] kbuild: Inform user to pass ARCH= for make mrproper

2019-07-09 Thread Masahiro Yamada
On Tue, Jul 9, 2019 at 10:26 PM Geert Uytterhoeven wrote: > > When cross-compiling an out-of-tree build with an unclean source tree > directory, the build fails with: > > /path/to/kernel/source/tree is not clean, please run 'make mrproper' > in the '/path/to/kernel/source/tree' directory. > >

Re: [PATCH v2] powerpc: slightly improve cache helpers

2019-07-09 Thread Segher Boessenkool
On Tue, Jul 09, 2019 at 07:04:43AM +0200, Christophe Leroy wrote: > Le 08/07/2019 à 21:14, Nathan Chancellor a écrit : > >On Mon, Jul 08, 2019 at 11:19:30AM +1000, Michael Ellerman wrote: > >>On Fri, 2019-05-10 at 09:24:48 UTC, Christophe Leroy wrote: > >>>Cache instructions (dcbz, dcbi, dcbf and d

Re: [PATCH] m68k: don't select ARCH_HAS_DMA_PREP_COHERENT for nommu or coldfire

2019-07-09 Thread Christoph Hellwig
On Tue, Jul 09, 2019 at 09:08:02AM +0200, Geert Uytterhoeven wrote: > OK, will do, after a cycle in next. Thanks. I'll watch your PRs so that I can send the dma-mapping one right after this. > I assume you just forgot to add your SoB, and I can add it? Yes. And just for the record: Signed-off

Re: linux-next: Signed-off-by missing for commit in the kbuild tree

2019-07-09 Thread Masahiro Yamada
Stephen, On Tue, Jul 9, 2019 at 9:20 PM Stephen Rothwell wrote: > > Hi all, > > Commit > > 8eaeddd155af ("kbuild: header-test: Exclude more headers for um and parisc") > > is missing a Signed-off-by from its author and committer. Sorry, I was trying to squash this, but missed to do that. Will

Re: [PATCH V12 01/12] PCI: Add #defines for some of PCIe spec r4.0 features

2019-07-09 Thread Vidya Sagar
On 7/5/2019 7:16 PM, Vidya Sagar wrote: Bjorn, Apologies for pinging again about this. Can you please provide Ack for this change so that Lorenzo can pick up this series? Thanks, Vidya Sagar On 7/1/2019 6:09 PM, Vidya Sagar wrote: Bjorn, Can you please provide Ack for this patch? Thanks, Vidy

Re: [PATCH net-next v6 04/15] ethtool: introduce ethtool netlink interface

2019-07-09 Thread Jiri Pirko
Mon, Jul 08, 2019 at 10:22:19PM CEST, mkube...@suse.cz wrote: >On Mon, Jul 08, 2019 at 09:26:29PM +0200, Jiri Pirko wrote: >> Mon, Jul 08, 2019 at 07:27:29PM CEST, mkube...@suse.cz wrote: >> > >> >There are two reasons for this design. First is to reduce the number of >> >requests needed to get the

Re: [RFC PATCH 3/6] sched/dl: Try better placement even for deadline tasks that do not block

2019-07-09 Thread Peter Zijlstra
On Tue, Jul 09, 2019 at 03:24:36PM +0200, luca abeni wrote: > Hi Peter, > > On Mon, 8 Jul 2019 15:55:36 +0200 > Peter Zijlstra wrote: > > > On Mon, May 06, 2019 at 06:48:33AM +0200, Luca Abeni wrote: > > > @@ -1223,8 +1250,17 @@ static void update_curr_dl(struct rq *rq) > > > d

Re: [PATCH] PCI / PM: Don't runtime suspend when device only supports wakeup from D0

2019-07-09 Thread Bjorn Helgaas
On Fri, Jul 05, 2019 at 03:02:01PM +0800, Kai-Heng Feng wrote: > at 19:57, Bjorn Helgaas wrote: > > On Mon, May 27, 2019 at 11:57:47AM -0500, Bjorn Helgaas wrote: > > > I'm wondering if this platform has a firmware defect. Here's my > > > thinking. The xHC is a Root Complex Integrated Endpoint,

Re: [PATCH] tipc: ensure skb->lock is initialised

2019-07-09 Thread Eric Dumazet
On 7/9/19 3:25 PM, Jon Maloy wrote: > > >> -Original Message- >> From: Eric Dumazet >> Sent: 9-Jul-19 03:31 >> To: Chris Packham ; Eric Dumazet >> ; Jon Maloy ; >> ying@windriver.com; da...@davemloft.net >> Cc: net...@vger.kernel.org; tipc-discuss...@lists.sourceforge.net; linux-

Re: [PATCH] locking/lockdep: Fix lock used or unused stats error

2019-07-09 Thread Peter Zijlstra
On Tue, Jul 09, 2019 at 06:15:22PM +0800, Yuyang Du wrote: > The stats variable nr_unused_locks is incremented every time a new lock > class is register and decremented when the lock is first used in > __lock_acquire(). And after all, it is shown and checked in lockdep_stats. > > However, under co

Re: [PATCH 0/5]Add support for mt2701 JPEG ENC support

2019-07-09 Thread Hans Verkuil
On 7/9/19 5:20 AM, Xia Jiang wrote: > This patchset add support for mt2701 JPEG ENC support. > > This is the compliance test result for jpeg dec and enc. > > The JPEG dec log: > > v4l2-compliance -d /dev/video0 > v4l2-compliance SHA: 08

[PATCH 2/2] perf/hw_breakpoints: Pin perf contexts of breakpoints

2019-07-09 Thread Frederic Weisbecker
The breakpoints core deals with limited architecture resources that need to be shared among all the breakpoint perf events. For example x86 has 4 breakpoint registers per-CPU. This means that a task can't open more than 4 breakpoints in this architecture. To control that we must track the number o

[PATCH 0/2] perf/hw_breakpoint: Fix breakpoint overcommit issue

2019-07-09 Thread Frederic Weisbecker
Syzbot has found a breakpoint overcommit issue: https://lore.kernel.org/lkml/639f6a0584d11...@google.com/ It took me a long time to find out what the actual root problem was. Also its reproducer only worked on a few month old kernel but it didn't feel like the issue was actually sol

[PATCH 1/2] perf: Allow a pmu to pin context

2019-07-09 Thread Frederic Weisbecker
Some PMUs rely on the fact that struct perf_event::hw::target always point to the actual event target during the whole event lifecycle, ie: from pmu::init() to event::destroy(). Now perf event ctx swapping on task sched switch breaks that guarantee. Solve that with providing a way for a PMU to pi

Re: [PATCH v2 05/10] net: hisilicon: HI13X1_GMAX need dreq reset at first

2019-07-09 Thread Jiangfeng Xiao
On 2019/7/9 17:35, Sergei Shtylyov wrote: > Hello! > > On 09.07.2019 6:31, Jiangfeng Xiao wrote: > >> HI13X1_GMAC delete request for soft reset at first, >> otherwise, the subsequent initialization will not >> take effect. >> >> Signed-off-by: Jiangfeng Xiao >> --- >> drivers/net/ethernet/h

Re: [PATCH] sched/fair: Update rq_clock, cfs_rq before migrating for asym cpu capacity

2019-07-09 Thread Peter Zijlstra
On Tue, Jul 09, 2019 at 12:57:59PM +0100, Chris Redpath wrote: > The ancient workaround to avoid the cost of updating rq clocks in the > middle of a migration causes some issues on asymmetric CPU capacity > systems where we use task utilization to determine which cpus fit a task. > On quiet systems

Re: [PATCH] ftrace: add simple oneshot function tracer

2019-07-09 Thread Thomas Preisner
On Wed, Jun 26, 2019 at 12:04:12PM -0400, Steven Rostedt wrote: > On Sun, 23 Jun 2019 14:05:55 +0200 > Thomas Preisner wrote: > > I've created this tracer with kernel tailoring in mind since the > > tailoring process of e.g. undertaker heavily benefits from a more > > precise set of input data. >

Re: [PATCH] arm64: Explicitly set pstate.ssbs for el0 on kernel entry

2019-07-09 Thread Mark Rutland
Hi Marc, On Tue, Jul 09, 2019 at 02:08:28PM +0100, Marc Zyngier wrote: > From 7d4314d1ef3122d8bf56a7ef239c8c68e0c81277 Mon Sep 17 00:00:00 2001 > From: Marc Zyngier > Date: Tue, 4 Jun 2019 17:35:18 +0100 > Subject: [PATCH] arm64: Force SSBS on context switch > > On a CPU that doesn't support SSB

[RFC PATCH linux-next] nfsd4: __get_nfsdfs_client() can be static

2019-07-09 Thread kbuild test robot
Fixes: 97ad4031e295 ("nfsd4: add a client info file") Signed-off-by: kbuild test robot --- nfsctl.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index 4683ba5..72fad54 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c @@ -1218,7 +

[linux-next:master 11860/13492] fs/nfsd/nfsctl.c:1221:22: sparse: sparse: symbol '__get_nfsdfs_client' was not declared. Should it be static?

2019-07-09 Thread kbuild test robot
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next.git master head: 4608a726c66807c27bc7d91bdf8a288254e29985 commit: 97ad4031e29521894fc28765f14247e79b0ef263 [11860/13492] nfsd4: add a client info file reproduce: # apt-get install sparse # sparse v

Re: [PATCH 04/11] trace-cmd: add global functions for live tracing

2019-07-09 Thread Josef Bacik
Yup go for it, thanks, Josef Sent from my iPhone > On Jul 9, 2019, at 9:09 AM, Steven Rostedt wrote: > > On Fri, 20 Nov 2015 15:57:26 -0500 > Josef Bacik wrote: > >> We need a few functions to disable/enable tracing as well as add events to be >> enabled on the first instance, this patch tur

[PATCH] mmc: usdhi6rol0: Add maintainers

2019-07-09 Thread Lars Persson
The usdhi6rol0 driver is exclusively used for the ARTPEC family of SoCs. Other SoCs with the same IP of Panasonic origin use the tmio_mmc driver. Therefore we assigner maintainer responsibility to us at Axis until the two drivers become unified. Change-Id: I38b6fd0addc1d93ae172332b67e6eb71c0871508

Re: [PATCH v3 5/5] mm: factor out pmd young/dirty bit handling and THP split

2019-07-09 Thread Michal Hocko
On Thu 27-06-19 20:54:05, Minchan Kim wrote: > Now, there are common part among MADV_COLD|PAGEOUT|FREE to reset > access/dirty bit resetting or split the THP page to handle part > of subpages in the THP page. This patch factor out the common part. While this reduces the code duplication to some de

Re: [PATCH 2/5] drivers: spi: core: Add optional stall delay between cs_change transfers

2019-07-09 Thread Mark Brown
On Wed, Jun 26, 2019 at 07:34:38PM +0100, Jonathan Cameron wrote: > On Tue, 25 Jun 2019 16:13:25 +0300 > Alexandru Ardelean wrote: > > > Some devices like the ADIS16460 IMU require a stall period between > > transfers, i.e. between when the CS is de-asserted and re-asserted. The > > default value

Re: [PATCH V12 01/12] PCI: Add #defines for some of PCIe spec r4.0 features

2019-07-09 Thread Bjorn Helgaas
On Mon, Jul 01, 2019 at 06:09:59PM +0530, Vidya Sagar wrote: > Add #defines only for the Data Link Feature and Physical Layer 16.0 GT/s > features. > > Signed-off-by: Vidya Sagar > Reviewed-by: Thierry Reding Please include spec references in the commit log, e.g., PCIe r5.0, sec 7.7.4, for Data

Re: [PATCH net-next v6 06/15] ethtool: netlink bitset handling

2019-07-09 Thread Jiri Pirko
Thu, Jul 04, 2019 at 01:52:36PM CEST, mkube...@suse.cz wrote: >On Thu, Jul 04, 2019 at 10:04:35AM +0200, Jiri Pirko wrote: >> Wed, Jul 03, 2019 at 08:18:51PM CEST, mkube...@suse.cz wrote: >> >On Wed, Jul 03, 2019 at 01:49:33PM +0200, Jiri Pirko wrote: >> >> Tue, Jul 02, 2019 at 01:50:09PM CEST, mku

Re: [PATCH] arm64: Explicitly set pstate.ssbs for el0 on kernel entry

2019-07-09 Thread Neeraj Upadhyay
Hi Marc, On 7/9/19 6:38 PM, Marc Zyngier wrote: Hi Neeraj, On 09/07/2019 12:22, Neeraj Upadhyay wrote: For cpus which do not support pstate.ssbs feature, el0 might not retain spsr.ssbs. This is problematic, if this task migrates to a cpu supporting this feature, thus relying on its state to be

Re: [v4 4/6] dt-bindings: phy: Document the Synopsys MIPI DPHY Rx bindings

2019-07-09 Thread Rob Herring
On Tue, Jun 11, 2019 at 09:20:53PM +0200, Luis Oliveira wrote: > Add device-tree bindings documentation for SNPS DesignWare MIPI D-PHY in > RX mode. > > Signed-off-by: Luis Oliveira > --- > Changelog > v3-v4 > - @Laurent I know I told you I could remove the snps,dphy-frequency on V3 but > it is

[PATCH v2] clk: imx8mm: Switch to platform driver

2019-07-09 Thread Abel Vesa
There is no strong reason for this to use CLK_OF_DECLARE instead of being a platform driver. Plus, this will now be aligned with the other i.MX8M clock drivers which are platform drivers. In order to make the clock provider a platform driver all the data and code needs to be outside of .init secti

add swiotlb support to arm32

2019-07-09 Thread Christoph Hellwig
Hi Russell, This series adds swiotlb support to the 32-bit arm port to ensure platforms with LPAE support can support DMA mapping for all devices using 32-bit dma masks, just like we do on other ports that support > 32-bit physical addressing and don't have an iommu.

[PATCH 2/2] arm: use swiotlb for bounce buffer on LPAE configs

2019-07-09 Thread Christoph Hellwig
The DMA API requires that 32-bit DMA masks are always supported, but on arm LPAE configs they do not currently work when memory is present above 4GB. Wire up the swiotlb code like for all other architectures to provide the bounce buffering in that case. Fixes: 21e07dba9fb11 ("scsi: reduce use of

Re: [PATCH] gpio: don't WARN() on NULL descs if gpiolib is disabled

2019-07-09 Thread Bartosz Golaszewski
wt., 9 lip 2019 o 15:30 Linus Walleij napisał(a): > > Hi Bartosz, > > On Mon, Jul 8, 2019 at 10:25 AM Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > If gpiolib is disabled, we use the inline stubs from gpio/consumer.h > > instead of regular definitions of GPIO API. The stubs

Re: [PATCH 1/5] dt-bindings: usb: mtu3: fix typo of DMA clock name

2019-07-09 Thread Rob Herring
On Wed, 12 Jun 2019 13:55:17 +0800, Chunfeng Yun wrote: > Fix typo of dma_ck > > Signed-off-by: Chunfeng Yun > --- > Documentation/devicetree/bindings/usb/mediatek,mtu3.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Rob Herring

Re: [PATCH 2/5] dt-bindings: usb: mtu3: support force_vbus mode

2019-07-09 Thread Rob Herring
On Wed, 12 Jun 2019 13:55:18 +0800, Chunfeng Yun wrote: > Add a new property to indicate that the controller doesn't support Vbus > detection due to non-exist Vbus PIN, and the driver should set force_vbus > state for device mode > > Signed-off-by: Chunfeng Yun > --- > Documentation/devicetree/b

Re: WARNING in kernfs_create_dir_ns

2019-07-09 Thread Tejun Heo
On Tue, Jul 09, 2019 at 10:23:35AM +0800, Hillf Danton wrote: > > I don't think this is the correct fix. It's being called with kobj > > whose parent's sysfs node is dangling. It gotta be fixed from the > > caller side. > > > Make sense? > > --- a/lib/kobject.c > +++ b/lib/kobject.c No, I meant

Re: [PATCH] arm64: Explicitly set pstate.ssbs for el0 on kernel entry

2019-07-09 Thread Marc Zyngier
On 09/07/2019 15:18, Neeraj Upadhyay wrote: > Hi Marc, > > On 7/9/19 6:38 PM, Marc Zyngier wrote: >> Hi Neeraj, >> >> On 09/07/2019 12:22, Neeraj Upadhyay wrote: >>> For cpus which do not support pstate.ssbs feature, el0 >>> might not retain spsr.ssbs. This is problematic, if this >>> task migrate

Re: [PATCH 3/5] dt-bindings: usb: mtk-xhci: add an optional xhci_ck clock

2019-07-09 Thread Rob Herring
On Wed, Jun 12, 2019 at 01:55:19PM +0800, Chunfeng Yun wrote: > Add a new optional clock xhci_ck > > Signed-off-by: Chunfeng Yun > --- > Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.txt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetre

Re: [PATCH] kvm: x86: Fix -Wmissing-prototypes warnings

2019-07-09 Thread Sean Christopherson
On Sat, Jul 06, 2019 at 04:29:50PM +0800, Yi Wang wrote: > We get a warning when build kernel W=1: > > arch/x86/kvm/../../../virt/kvm/eventfd.c:48:1: warning: no previous prototype > for ‘kvm_arch_irqfd_allowed’ [-Wmissing-prototypes] > kvm_arch_irqfd_allowed(struct kvm *kvm, struct kvm_irqfd *a

[PATCH V3] cpu/hotplug: Cache number of online CPUs

2019-07-09 Thread Thomas Gleixner
Re-evaluating the bitmap wheight of the online cpus bitmap in every invocation of num_online_cpus() over and over is a pretty useless exercise. Especially when num_online_cpus() is used in code paths like the IPI delivery of x86 or the membarrier code. Cache the number of online CPUs in the core a

Re: [PATCH] printk: Do not lose last line in kmsg dump

2019-07-09 Thread Petr Mladek
On Tue 2019-07-09 19:12:30, Sergey Senozhatsky wrote: > On (07/09/19 10:10), Vincent Whitchurch wrote: > > A dump of a 64-byte buffer filled by kmsg_dump_get_buffer(), before this > > patch: > > > > : 3c 30 3e 5b 20 20 20 20 36 2e 35 32 32 31 39 37 <0>[6.522197 > > 0010: 5d 20 4

Re: linux-next: Signed-off-by missing for commits in the nfs tree

2019-07-09 Thread Schumaker, Anna
On Sun, 2019-07-07 at 17:30 -0400, Trond Myklebust wrote: > NetApp Security WARNING: This is an external email. Do not click > links or open attachments unless you recognize the sender and know > the content is safe. > > > > > On Sun, 7 Jul 2019 at 17:29, Stephen Rothwell > wrote: > > Hi all,

Re: hmm_range_fault related fixes and legacy API removal v2

2019-07-09 Thread Christoph Hellwig
On Fri, Jul 05, 2019 at 09:33:36AM -0300, Jason Gunthorpe wrote: > On Wed, Jul 03, 2019 at 03:02:08PM -0700, Christoph Hellwig wrote: > > Hi Jérôme, Ben and Jason, > > > > below is a series against the hmm tree which fixes up the mmap_sem > > locking in nouveau and while at it also removes leftove

Re: [RESEND, PATCH v4 2/2] dt-bindings: cpufreq: Document allwinner,sun50i-h6-operating-points

2019-07-09 Thread Rob Herring
On Wed, 12 Jun 2019 12:28:16 -0400, Yangtao Li wrote: > Allwinner Process Voltage Scaling Tables defines the voltage and > frequency value based on the speedbin blown in the efuse combination. > The sunxi-cpufreq-nvmem driver reads the efuse value from the SoC to > provide the OPP framework with re

Re: [v4 1/6] dt-bindings: media: Document bindings for DW MIPI CSI-2 Host

2019-07-09 Thread Eugen.Hristev
On 11.06.2019 22:20, Luis Oliveira wrote: > From: Luis Oliveira > > Add bindings for Synopsys DesignWare MIPI CSI-2 host. > > Signed-off-by: Luis Oliveira > --- > Changelog > v3-v4 > - remove "plat" from the block name @rob @laurent > - remove "phy-names" when single-entry @rob > - remove "sn

Re: [PATCH 1/2] dt-bindings: milbeaut-m10v-hdmac: Add Socionext Milbeaut HDMAC bindings

2019-07-09 Thread Rob Herring
On Wed, Jun 12, 2019 at 07:52:37PM -0500, jassisinghb...@gmail.com wrote: > From: Jassi Brar > > Document the devicetree bindings for Socionext Milbeaut HDMAC > controller. Controller has upto 8 floating channels, that need > a predefined slave-id to work from a set of slaves. > > Signed-off-by:

Re: [PATCH v3 01/10] dt-bindings: serial: stm32: add wakeup option

2019-07-09 Thread Rob Herring
On Thu, 13 Jun 2019 15:49:51 +0200, Erwan Le Ray wrote: > Add a note for enabling wakeup capabilities of usart > > Signed-off-by: Bich Hemon > Signed-off-by: Erwan Le Ray > Reviewed-by: Rob Herring

Re: [PATCH v3 02/10] dt-bindings: serial: add optional pinctrl states

2019-07-09 Thread Rob Herring
On Thu, Jun 13, 2019 at 03:49:52PM +0200, Erwan Le Ray wrote: > From: Bich Hemon > > Add options for pinctrl states: > - "sleep" for low power > - "idle" for low power and wakeup capabilities enabled > - "no_console_suspend" for enabling console messages in low power > > Signed-off-by: Bich Hemo

Re: [PATCH 4/8] dt-bindings: tpm: document properties for cr50

2019-07-09 Thread Rob Herring
On Thu, Jun 13, 2019 at 11:09:27AM -0700, Stephen Boyd wrote: > From: Andrey Pronin > > Add TPM2.0 PTP FIFO compatible SPI interface for chips with Cr50 > firmware. > > Signed-off-by: Andrey Pronin > Cc: Rob Herring > Signed-off-by: Stephen Boyd > --- > > This is a resend of > https://lkml.

Re: [patch V2 04/25] x86/apic: Make apic_pending_intr_clear() more robust

2019-07-09 Thread Thomas Gleixner
On Sun, 7 Jul 2019, Thomas Gleixner wrote: > On Fri, 5 Jul 2019, Paolo Bonzini wrote: > > On 05/07/19 22:25, Thomas Gleixner wrote: > > > The more interesting question is whether this is all relevant. If I > > > understood the issue correctly then this is mitigated by proper interrupt > > > remapp

Re: [RFC PATCH 3/6] sched/dl: Try better placement even for deadline tasks that do not block

2019-07-09 Thread Dietmar Eggemann
On 7/9/19 3:24 PM, luca abeni wrote: > Hi Peter, > > On Mon, 8 Jul 2019 15:55:36 +0200 > Peter Zijlstra wrote: > >> On Mon, May 06, 2019 at 06:48:33AM +0200, Luca Abeni wrote: >>> @@ -1223,8 +1250,17 @@ static void update_curr_dl(struct rq *rq) >>> dl_se->dl_overrun = 1; >>>

Re: [PATCH] selftests/ftrace: Select an existing function in kprobe_eventname test

2019-07-09 Thread Steven Rostedt
On Tue, 9 Jul 2019 21:44:02 +0900 Masami Hiramatsu wrote: > > Masami, can you ack this, and Shuah, can you take it? > > Yeah anyway, > > Acked-by: Masami Hiramatsu Thanks Masami, Shuah, want to take this in your tree? -- Steve

[GIT PULL] sound updates for 5.3-rc1

2019-07-09 Thread Takashi Iwai
Linus, please pull sound updates for v5.3-rc1 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-5.3-rc1 The topmost commit is 0dcb4efb1095d0a1f5f681c2b94e98b009cc5d77 sound updates for 5.3 Many up

[PATCH v1] perf session: fix loading of compressed data split across adjacent records

2019-07-09 Thread Alexey Budankov
Fix decompression failure found during the loading of compressed trace collected on larger scale systems (>48 cores). The error happened due to lack of decompression space for a mmaped buffer data chunk split across adjacent PERF_RECORD_COMPRESSED records. $ perf report -i bt.16384.data --st

Re: [v3 2/2] dt-bindings: nand: Add Cadence NAND controller driver

2019-07-09 Thread Rob Herring
On Fri, Jun 14, 2019 at 04:13:01PM +0100, Piotr Sroka wrote: > Signed-off-by: Piotr Sroka > --- > Changes for v3: > - add unit suffix for board_delay > - move child description to proper place > - remove prefix cadence_ for reg and sdma fields > Changes for v2: > - remove chip dependends paramete

Re: [PATCH 1/4] Makefile: rules for printing kernel architecture and localversion

2019-07-09 Thread Randy Dunlap
On 7/9/19 2:32 AM, Enrico Weigelt, metux IT consult wrote: > trivial rule to print out the kernel arch and localversion, so > external tools, like distro packagers, can easily get it. > > Signed-off-by: Enrico Weigelt, metux IT consult Hi, If accepted, these targets should be added to the top le

Re: [PATCH v6 4/4] x86/xen: Add "nopv" support for HVM guest

2019-07-09 Thread Boris Ostrovsky
On 7/9/19 12:20 AM, Zhenzhong Duan wrote: > > -const __initconst struct hypervisor_x86 x86_hyper_xen_hvm = { > +static uint32_t __init xen_platform_hvm(void) > +{ > +   uint32_t xen_domain = xen_cpuid_base(); > +   struct x86_hyper_init *h = &x86_hyper_xen_hvm.init; > + > +   if (xen_pv

Re: linux-next: Signed-off-by missing for commits in the nfs tree

2019-07-09 Thread Trond Myklebust
Yes please. On Tue, 9 Jul 2019 at 10:30, Schumaker, Anna wrote: > > On Sun, 2019-07-07 at 17:30 -0400, Trond Myklebust wrote: > > NetApp Security WARNING: This is an external email. Do not click > > links or open attachments unless you recognize the sender and know > > the content is safe. > > >

Re: [PATCH RFC] gpio: Add Virtual Aggregator GPIO Driver

2019-07-09 Thread Bartosz Golaszewski
pon., 8 lip 2019 o 12:24 Geert Uytterhoeven napisał(a): > > Hi Bartosz, > > On Mon, Jul 8, 2019 at 11:45 AM Bartosz Golaszewski > wrote: > > pt., 5 lip 2019 o 18:05 Geert Uytterhoeven > > napisał(a): > > > GPIO controllers are exported to userspace using /dev/gpiochip* > > > character devices.

RE: [PATCH 2/8] thunderbolt: Move NVM upgrade support flag to struct icm

2019-07-09 Thread Mario.Limonciello
> -Original Message- > From: Mika Westerberg > Sent: Friday, July 5, 2019 5:58 AM > To: Yehezkel Bernat > Cc: LKML; Andreas Noever; Michael Jamet; Rafael J . Wysocki; Len Brown; Lukas > Wunner; Limonciello, Mario; Anthony Wong; linux-a...@vger.kernel.org > Subject: Re: [PATCH 2/8] thunderb

Re: next/master build: 230 builds: 3 failed, 227 passed, 391 warnings (next-20190709)

2019-07-09 Thread Mark Brown
On Tue, Jul 09, 2019 at 07:37:50AM -0700, kernelci.org bot wrote: Today's -next fails to build tinyconfig on arm64 and x86_64: > arm64: > tinyconfig: (clang-8) FAIL > tinyconfig: (gcc-8) FAIL > > x86_64: > tinyconfig: (gcc-8) FAIL due to: > tinyconfig (arm64, gcc-8) — FAIL, 0 error

Re: [PATCH v2 03/35] powerpc: Use kmemdup rather than duplicating its implementation

2019-07-09 Thread Nathan Lynch
Fuqian Huang writes: > kmemdup is introduced to duplicate a region of memory in a neat way. > Rather than kmalloc/kzalloc + memcpy, which the programmer needs to > write the size twice (sometimes lead to mistakes), kmemdup improves > readability, leads to smaller code and also reduce the chances o

<    1   2   3   4   5   6   7   8   >