Re: [PATCH 2/2] smp: introduce kick_active_cpus_sync()

2018-03-28 Thread Paul E. McKenney
On Wed, Mar 28, 2018 at 05:41:40PM +0300, Yury Norov wrote: > On Wed, Mar 28, 2018 at 06:56:17AM -0700, Paul E. McKenney wrote: > > On Wed, Mar 28, 2018 at 04:36:05PM +0300, Yury Norov wrote: > > > On Mon, Mar 26, 2018 at 05:45:55AM -0700, Paul E. McKenney wrote: > > > > On Sun, Mar 25, 2018 at 11:

Re: [PATCH] proc: register filesystem last

2018-03-28 Thread Al Viro
On Wed, Mar 28, 2018 at 10:26:57AM +0300, Alexey Dobriyan wrote: > On Wed, Mar 28, 2018 at 05:48:23AM +0100, Al Viro wrote: > > On Sat, Mar 10, 2018 at 03:06:34AM +0300, Alexey Dobriyan wrote: > > > On Fri, Mar 09, 2018 at 02:49:38PM -0800, Andrew Morton wrote: > > > > On Sat, 10 Mar 2018 01:27:09

Re: [PATCH] debugfs: Check return value of debugfs_real_fops() for NULL

2018-03-28 Thread Manoj Gupta
Please note that there is nothing wrong in the generated code, just that it confuses objtool. Clang has simply omitted the statement where NULL is returned since the pointer was always dereferenced post inlining. Note that GCC will also remove the NULL pointers if it knows that the pointer is dere

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-28 Thread Mathieu Desnoyers
- On Mar 28, 2018, at 8:50 AM, Peter Zijlstra pet...@infradead.org wrote: > On Tue, Mar 27, 2018 at 12:05:23PM -0400, Mathieu Desnoyers wrote: >> diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h >> index fb5fc458547f..66b070444a7e 100644 >> --- a/kernel/sched/sched.h >> +++ b/kernel/sc

Re: [PATCH 06/10] list_lru: Pass dst_memcg argument to memcg_drain_list_lru_node()

2018-03-28 Thread Kirill Tkhai
On 26.03.2018 18:30, Kirill Tkhai wrote: > On 24.03.2018 22:32, Vladimir Davydov wrote: >> On Wed, Mar 21, 2018 at 04:22:10PM +0300, Kirill Tkhai wrote: >>> This is just refactoring to allow next patches to have >>> dst_memcg pointer in memcg_drain_list_lru_node(). >>> >>> Signed-off-by: Kirill Tkh

[PATCH] ASoC: rsnd: mark PM functions __maybe_unused

2018-03-28 Thread Arnd Bergmann
The suspend/resume callbacks are now optional, leading to a warning when they are unused: sound/soc/sh/rcar/core.c:1548:12: error: 'rsnd_resume' defined but not used [-Werror=unused-function] static int rsnd_resume(struct device *dev) ^~~ sound/soc/sh/rcar/core.c:1539:12: err

Re: [PATCH v2 4/4] perf: Support perf -vv

2018-03-28 Thread Jin, Yao
On 3/28/2018 10:19 PM, Jiri Olsa wrote: On Wed, Mar 28, 2018 at 10:00:32PM +0800, Jin, Yao wrote: On 3/28/2018 9:22 PM, Jiri Olsa wrote: On Wed, Mar 28, 2018 at 10:57:08PM +0800, Jin Yao wrote: We keep having bug reports that when users build perf on their own, but they don't install some

Re: [PATCH] nvme: target: fix buffer overflow

2018-03-28 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH] Documentation/thermal: Check links and convert to https

2018-03-28 Thread Sanjeev Gupta
All links working. Signed-off-by: Sanjeev Gupta --- Documentation/thermal/cpu-cooling-api.txt | 2 +- Documentation/thermal/nouveau_thermal | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/thermal/cpu-cooling-api.txt b/Documentation/thermal/cpu-cooling-ap

Re: [PATCH v4 3/8] doc: Add doc for the Ingenic TCU hardware

2018-03-28 Thread Paul Cercueil
Le 2018-03-18 00:52, Randy Dunlap a écrit : On 03/17/2018 04:28 PM, Paul Cercueil wrote: Add a documentation file about the Timer/Counter Unit (TCU) present in the Ingenic JZ47xx SoCs. Signed-off-by: Paul Cercueil --- Documentation/mips/00-INDEX| 3 +++ Documentation/mips/ingenic-tcu

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-28 Thread Peter Zijlstra
On Wed, Mar 28, 2018 at 10:47:54AM -0400, Mathieu Desnoyers wrote: > - On Mar 28, 2018, at 8:50 AM, Peter Zijlstra pet...@infradead.org wrote: > > > On Tue, Mar 27, 2018 at 12:05:23PM -0400, Mathieu Desnoyers wrote: > >> diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h > >> index fb5fc

Re: [PATCH RFC tools/memory-model] Add s390.{cfg,cat}

2018-03-28 Thread Alan Stern
On Wed, 28 Mar 2018, Paul E. McKenney wrote: > Hello! > > The prototype patch shown below provides files required to allow herd7 to > evaluate C-language litmus tests for the multicopy-atomic TSO ordering > provided by s390. This patch should be viewed with great suspicion. > It does what I expe

Re: [PATCH v4 0/8] Ingenic JZ47xx Timer/Counter Unit drivers

2018-03-28 Thread Paul Cercueil
Le 2018-03-18 23:13, Daniel Lezcano a écrit : On 18/03/2018 00:28, Paul Cercueil wrote: Hi, This is the 4th version of my TCU patchset. The major change is a greatly improved documentation, both in-code and as separate text files, to describe how the hardware works and how the devicetree bindi

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-28 Thread Mathieu Desnoyers
- On Mar 28, 2018, at 8:52 AM, Peter Zijlstra pet...@infradead.org wrote: > On Wed, Mar 28, 2018 at 02:29:46PM +0200, Peter Zijlstra wrote: >> > +static int rseq_get_rseq_cs(struct task_struct *t, >> > + unsigned long *start_ip, >> > + unsigned long *p

Re: [PATCH] nvme: target: fix buffer overflow

2018-03-28 Thread Keith Busch
Thanks, applied.

Re: [PATCH] nvme: unexport nvme_start_keep_alive

2018-03-28 Thread Keith Busch
Thanks, applied.

Re: [PATCH v4 2/8] dt-bindings: ingenic: Add DT bindings for TCU clocks

2018-03-28 Thread Paul Cercueil
Le 2018-03-20 08:15, Mathieu Malaterre a écrit : Hi Paul, Two things: On Sun, Mar 18, 2018 at 12:28 AM, Paul Cercueil wrote: This header provides clock numbers for the ingenic,tcu DT binding. I have tested the whole series on my Creator CI20 with success, using: + tcu@10002000 { + compati

Re: [PATCH] nvme: don't send keep-alives to the discovery controller

2018-03-28 Thread Keith Busch
Thanks, applied.

Re: [PATCH 1/2] target: drop spin_lock_assert() + irqs_disabled() combo checks

2018-03-28 Thread Bart Van Assche
On Wed, 2018-03-28 at 12:15 +0200, bige...@linutronix.de wrote: > On 2018-03-26 11:13:59 [-0400], Steven Rostedt wrote: > > > diff --git a/drivers/target/target_core_tmr.c > > > b/drivers/target/target_core_tmr.c > > > index 9c7bc1ca341a..3d35dad1de2c 100644 > > > --- a/drivers/target/target_core_

Re: [PATCH 4.4 20/43] mm/vmalloc: add interfaces to free unmapped page table

2018-03-28 Thread Kani, Toshi
On Wed, 2018-03-28 at 11:58 +0200, gre...@linuxfoundation.org wrote: > On Tue, Mar 27, 2018 at 11:47:18PM -0700, Nathan Chancellor wrote: > > On Wed, Mar 28, 2018 at 08:32:02AM +0200, gre...@linuxfoundation.org wrote: > > > On Tue, Mar 27, 2018 at 01:47:55PM -0700, Nathan Chancellor wrote: > > > >

Re: [PATCH 2/8] PCI: Add pci_find_common_upstream_dev()

2018-03-28 Thread Christian König
Am 28.03.2018 um 14:38 schrieb Christoph Hellwig: On Sun, Mar 25, 2018 at 12:59:54PM +0200, Christian König wrote: From: "wda...@nvidia.com" Add an interface to find the first device which is upstream of both devices. Please work with Logan and base this on top of the outstanding peer to peer

[PATCH v3] dell_rbu: make firmware payload memory uncachable

2018-03-28 Thread Stuart Hayes
The dell_rbu driver takes firmware update payloads and puts them in memory so the system BIOS can find them after a reboot. This sometimes fails (though rarely), because the memory containing the payload is in the CPU cache but never gets written back to main memory before the system is rebooted (

[alsa-devel][PATCH 1/3 v3] ASoC: TSCS42xx: Shorten lines and other cleanup

2018-03-28 Thread Steven Eckhoff
Shorten lines greater than 80 chars Add const to struct snd_soc_component_driver Signed-off-by: Steven Eckhoff --- sound/soc/codecs/tscs42xx.c | 87 - 1 file changed, 55 insertions(+), 32 deletions(-) diff --git a/sound/soc/codecs/tscs42xx.c b/sound/s

[alsa-devel][PATCH 2/3 v3] ASoC: TSCS42xx: Cleanup private data members

2018-03-28 Thread Steven Eckhoff
Remove blrcm from private data Remove dev from private data Signed-off-by: Steven Eckhoff --- sound/soc/codecs/tscs42xx.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/sound/soc/codecs/tscs42xx.c b/sound/soc/codecs/tscs42xx.c index 37636d6efe60..d41852a37a

Re: [PATCH v4 4/8] dt-bindings: Add doc for the Ingenic TCU drivers

2018-03-28 Thread Paul Cercueil
Le 2018-03-20 09:52, Marc Zyngier a écrit : On 17/03/18 23:28, Paul Cercueil wrote: Add documentation about how to properly use the Ingenic TCU (Timer/Counter Unit) drivers from devicetree. Signed-off-by: Paul Cercueil --- .../bindings/clock/ingenic,tcu-clocks.txt | 42 +

Re: [PATCH] drm: Use srcu to protect drm_device.unplugged

2018-03-28 Thread Daniel Vetter
On Wed, Mar 28, 2018 at 10:38:35AM +0300, Oleksandr Andrushchenko wrote: > From: Noralf Trønnes > > Use srcu to protect drm_device.unplugged in a race free manner. > Drivers can use drm_dev_enter()/drm_dev_exit() to protect and mark > sections preventing access to device resources that are not av

Re: [PATCH v4 0/8] Ingenic JZ47xx Timer/Counter Unit drivers

2018-03-28 Thread Daniel Lezcano
On 28/03/2018 17:01, Paul Cercueil wrote: > Le 2018-03-18 23:13, Daniel Lezcano a écrit : >> On 18/03/2018 00:28, Paul Cercueil wrote: >>> Hi, >>> >>> This is the 4th version of my TCU patchset. >>> >>> The major change is a greatly improved documentation, both in-code >>> and as separate text file

Re: [alsa-devel][PATCH 3/3 v3] ASoC: TSCS42xx: Add CCF support to get sysclk

2018-03-28 Thread Steven Eckhoff
On Wed, Mar 28, 2018 at 10:44:27AM +0800, Mark Brown wrote: > I'm missing patches 1 and 2 of this resend. I apologize I just sent them.

Re: [PATCH v2] PCI/DPC: Fix PCI legacy interrupt acknowledgement

2018-03-28 Thread poza
On 2018-03-15 02:26, Keith Busch wrote: On Wed, Mar 14, 2018 at 02:52:30PM -0600, Keith Busch wrote: Reviewed-by: Keith Busch Whoops, I accidentally truncated my message. My correct tag: Reviewed-by: Keith Busch Hi Bjorn, Can this be merged ? Regards, Oza.

Re: [PATCH] dma-mapping: don't clear GFP_ZERO in dma_alloc_attrs

2018-03-28 Thread Evgeniy Didin
Adding linux-snps and linux-arch mailing lists. > Revert the clearing of __GFP_ZERO in dma_alloc_attrs and move it to > dma_direct_alloc for now.  While most common architectures always zero dma > cohereny allocations (and x86 did so since day one) this is not documented > and at least arc and s39

[PATCH v3 0/4] Add support for the Gateworks System Controller

2018-03-28 Thread Tim Harvey
This series adds support for the Gateworks System Controller used on Gateworks Laguna, Ventana, and Newport product families. The GSC is an MSP430 I2C slave controller whose firmware embeds the following features: - I/O expander (16 GPIO's emulating a PCA955x) - EEPROM (enumating AT24) - RTC (e

[PATCH v3 3/4] hwmon: add Gateworks System Controller support

2018-03-28 Thread Tim Harvey
The Gateworks System Controller has a hwmon sub-component that exposes up to 16 ADC's, some of which are temperature sensors, others which are voltage inputs. The ADC configuration (register mapping and name) is configured via device-tree and varies board to board. Cc: Guenter Roeck Signed-off-by

[PATCH v3 4/4] watchdog: add Gateworks System Controller support

2018-03-28 Thread Tim Harvey
Signed-off-by: Tim Harvey --- drivers/watchdog/Kconfig | 10 drivers/watchdog/Makefile | 1 + drivers/watchdog/gsc_wdt.c | 146 + 3 files changed, 157 insertions(+) create mode 100644 drivers/watchdog/gsc_wdt.c diff --git a/drivers/watchdog

Re: [PATCH 1/2] target: drop spin_lock_assert() + irqs_disabled() combo checks

2018-03-28 Thread bige...@linutronix.de
On 2018-03-28 15:05:41 [+], Bart Van Assche wrote: > The names of the two functions touched by patch 1/2 start with a double > underscore. That by itself is already a hint that these should be called with > a lock held (I know that this is not a universal convention in the Linux > kernel). I'm

[PATCH v3 2/4] mfd: add Gateworks System Controller core driver

2018-03-28 Thread Tim Harvey
The Gateworks System Controller (GSC) is an I2C slave controller implemented with an MSP430 micro-controller whose firmware embeds the following features: - I/O expander (16 GPIO's) using PCA955x protocol - Real Time Clock using DS1672 protocol - User EEPROM using AT24 protocol - HWMON using cu

Re: [PATCH v4 7/8] clocksource: Add a new timer-ingenic driver

2018-03-28 Thread Paul Cercueil
Le 2018-03-24 07:26, Daniel Lezcano a écrit : On 18/03/2018 00:29, Paul Cercueil wrote: This driver will use the TCU (Timer Counter Unit) present on the Ingenic JZ47xx SoCs to provide the kernel with a clocksource and timers. Please provide a more detailed description about the timer. There

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-28 Thread Mathieu Desnoyers
- On Mar 28, 2018, at 10:59 AM, Peter Zijlstra pet...@infradead.org wrote: > On Wed, Mar 28, 2018 at 10:47:54AM -0400, Mathieu Desnoyers wrote: >> - On Mar 28, 2018, at 8:50 AM, Peter Zijlstra pet...@infradead.org wrote: >> >> > On Tue, Mar 27, 2018 at 12:05:23PM -0400, Mathieu Desnoyers

[PATCH v3 1/4] dt-bindings: mfd: Add Gateworks System Controller bindings

2018-03-28 Thread Tim Harvey
This patch adds documentation of device-tree bindings for the Gateworks System Controller (GSC). Signed-off-by: Tim Harvey --- v3: - replaced _ with - - remove input bindings - added full description of hwmon - fix unit address of hwmon child nodes --- .../devicetree/bindings/mfd/gateworks-

Re: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-28 Thread Thomas Ilsche
On 2018-03-28 12:56, Rafael J. Wysocki wrote: On Wed, Mar 28, 2018 at 12:37 PM, Rafael J. Wysocki wrote: On Wed, Mar 28, 2018 at 10:38 AM, Thomas Ilsche wrote: On 2018-03-28 10:13, Rafael J. Wysocki wrote: [cut] So I do $ for cpu in 0 1 2 3; do taskset -c $cpu sh -c 'while true; do us

Re: [GIT PULL] ARM: dts: uniphier: UniPhier DT updates for 4.17 (2nd)

2018-03-28 Thread Arnd Bergmann
On Tue, Mar 27, 2018 at 6:31 PM, Masahiro Yamada wrote: > Hi Arnd, Olof, > > Sorry for this very late pull request. > If possible, could you pull a little more for v4.17-rc1 ? > > UniPhier ARM SoC DT updates for v4.17 (2nd) > > - ad

Re: [PATCH] [net-next] sctp: fix unused lable warning

2018-03-28 Thread Neil Horman
On Wed, Mar 28, 2018 at 04:14:56PM +0200, Arnd Bergmann wrote: > The proc file cleanup left a label possibly unused: > > net/sctp/protocol.c: In function 'sctp_defaults_init': > net/sctp/protocol.c:1304:1: error: label 'err_init_proc' defined but not used > [-Werror=unused-label] > > This adds a

Re: [PATCH V4 Resend] ZBOOT: fix stack protector in compressed boot phase

2018-03-28 Thread James Hogan
On Wed, Mar 28, 2018 at 04:48:53PM +0800, Huacai Chen wrote: > diff --git a/arch/mips/boot/compressed/decompress.c > b/arch/mips/boot/compressed/decompress.c > index fdf99e9..81df904 100644 > --- a/arch/mips/boot/compressed/decompress.c > +++ b/arch/mips/boot/compressed/decompress.c > @@ -76,12 +7

Re: [RFC PATCH for 4.17 10/21] cpu_opv: Provide cpu_opv system call (v6)

2018-03-28 Thread Peter Zijlstra
On Tue, Mar 27, 2018 at 12:05:31PM -0400, Mathieu Desnoyers wrote: > 1) Allow algorithms to perform per-cpu data migration without relying on >sched_setaffinity() > > The use-cases are migrating memory between per-cpu memory free-lists, or > stealing tasks from other per-cpu work queues: each

Re: [RESEND PATCH v2 4/8] mfd: stm32-timers: add support for dmas

2018-03-28 Thread Lee Jones
On Wed, 14 Feb 2018, Fabrice Gasnier wrote: > STM32 Timers can support up to 7 DMA requests: > - 4 channels, update, compare and trigger. > Optionally request part, or all DMAs from stm32-timers MFD core. > > Also add routine to implement burst reads using DMA from timer registers. > This is expo

Re: [RFC PATCH v2] net: phy: Added device tree binding for dev-addr and dev-addr code check-up

2018-03-28 Thread Andrew Lunn
> If this is a rare case and something future devices should get right, > then I'm more inclined to use 'dev-addr' rather than extending reg. Hi Rob The sample size is a bit small at the moment to know how rare it is. I think we have 6 C45 devices so far, and two get this wrong. C45 is mostly use

Re: [PATCH v3] hwmon: MC13783: add uid and die temperature sensor inputs

2018-03-28 Thread Lee Jones
On Tue, 27 Mar 2018, Andrey Gusakov wrote: > The uid and die temperature can be read out on the ADIN7 using > input mux. Map uid and die temperature sensor to channels 16 > and 17. > > Signed-off-by: Andrey Gusakov > --- > Changes in v3: > - comment style fixes > Changes in v2: > - suport both m

Re: [PATCH v3] hwmon: MC13783: add uid and die temperature sensor inputs

2018-03-28 Thread Lee Jones
On Wed, 28 Mar 2018, Guenter Roeck wrote: > On 03/28/2018 03:06 AM, Lee Jones wrote: > > On Tue, 27 Mar 2018, Guenter Roeck wrote: > > > > > On 03/27/2018 07:19 AM, Andrey Gusakov wrote: > > > > The uid and die temperature can be read out on the ADIN7 using > > > > input mux. Map uid and die temp

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-28 Thread Peter Zijlstra
On Wed, Mar 28, 2018 at 11:14:05AM -0400, Mathieu Desnoyers wrote: > > If at all possible I would make it SIGSEGV when issueing SYSCALL()s from > > within an RSEQ. > > What's the goal there ? rseq critical sections can technically do system calls > if they wish. Why prevent this ? This all start

Re: [PATCH V1] mfd: da9062: use core helper regmap_reg_range macros

2018-03-28 Thread Lee Jones
On Wed, 28 Mar 2018, Steve Twiss wrote: > From: Steve Twiss > > Replace multi-line entries in the regmap_range arrays with single > line macros: regmap_reg_range(). This will leave the static structure > array entries for regmap_range unaltered. It will significantly reduce > the line count in t

Re: [PATCH] vhost-net: add time limitation for tx polling(Internet mail)

2018-03-28 Thread Michael S. Tsirkin
On Wed, Mar 28, 2018 at 02:37:04PM +0800, Jason Wang wrote: > > > On 2018年03月28日 12:01, haibinzhang(张海斌) wrote: > > On 2018年03月27日 19:26, Jason wrote > > On 2018年03月27日 17:12, haibinzhang wrote: > > > > handle_tx() will delay rx for a long time when busy tx polling udp > > > > packets > > > > wi

Re: [PATCH] debugfs: Check return value of debugfs_real_fops() for NULL

2018-03-28 Thread Josh Poimboeuf
On Wed, Mar 28, 2018 at 07:47:53AM -0700, Manoj Gupta wrote: > Please note that there is nothing wrong in the generated code, just > that it confuses objtool. > Clang has simply omitted the statement where NULL is returned since > the pointer was always dereferenced post inlining. ... but returnin

Re: [PATCH v3 0/6] clocksource: rework Atmel TCB timer driver

2018-03-28 Thread Alexandre Belloni
On 28/03/2018 at 16:36:34 +0200, Daniel Lezcano wrote: > On 28/03/2018 16:16, Alexandre Belloni wrote: > > On 28/03/2018 at 15:03:11 +0200, Daniel Lezcano wrote: > >> On 28/03/2018 12:29, Alexander Dahl wrote: > >>> Hello Daniel, > >>> > >>> Am Dienstag, 27. März 2018, 13:30:22 CEST schrieb Daniel

Re: [PATCH 1/2] target: drop spin_lock_assert() + irqs_disabled() combo checks

2018-03-28 Thread Bart Van Assche
On 03/28/18 08:14, bige...@linutronix.de wrote: On 2018-03-28 15:05:41 [+], Bart Van Assche wrote: The names of the two functions touched by patch 1/2 start with a double underscore. That by itself is already a hint that these should be called with a lock held (I know that this is not a univ

Re: [PATCH v4 4/8] dt-bindings: Add doc for the Ingenic TCU drivers

2018-03-28 Thread Paul Cercueil
Le 2018-03-27 16:46, Rob Herring a écrit : On Sun, Mar 18, 2018 at 12:28:57AM +0100, Paul Cercueil wrote: Add documentation about how to properly use the Ingenic TCU (Timer/Counter Unit) drivers from devicetree. Signed-off-by: Paul Cercueil --- .../bindings/clock/ingenic,tcu-clocks.txt

Re: [PATCH] debugfs: Check return value of debugfs_real_fops() for NULL

2018-03-28 Thread Josh Poimboeuf
On Wed, Mar 28, 2018 at 10:30:51AM -0500, Josh Poimboeuf wrote: > On Wed, Mar 28, 2018 at 07:47:53AM -0700, Manoj Gupta wrote: > > Please note that there is nothing wrong in the generated code, just > > that it confuses objtool. > > Clang has simply omitted the statement where NULL is returned sinc

Re: [PATCH] ftrace: fix task's invalid comm of <...> when big pid

2018-03-28 Thread Steven Rostedt
On Wed, 28 Mar 2018 20:32:27 +0800 Wang Yu wrote: > when pid is bigger than PID_MAX_DEFAULT, the comm of task > is <...>, it is better use pid_max to compare > > Signed-off-by: Wang Yu > --- > kernel/trace/trace.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > mode change 100644 =>

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-28 Thread Mathieu Desnoyers
- On Mar 28, 2018, at 11:28 AM, Peter Zijlstra pet...@infradead.org wrote: > On Wed, Mar 28, 2018 at 11:14:05AM -0400, Mathieu Desnoyers wrote: > >> > If at all possible I would make it SIGSEGV when issueing SYSCALL()s from >> > within an RSEQ. >> >> What's the goal there ? rseq critical sec

[PATCH v2] MIPS: Fix build with DEBUG_ZBOOT and MACH_JZ4770

2018-03-28 Thread Paul Cercueil
The debug definitions were missing for MACH_JZ4770, resulting in a build failure when DEBUG_ZBOOT was set. Since the UART addresses are the same across all Ingenic SoCs, we just use a #ifdef CONFIG_MACH_INGENIC instead of checking for individual Ingenic SoCs. Additionally, I added a #define for t

[tip:x86/dma] dma-mapping: Don't clear GFP_ZERO in dma_alloc_attrs

2018-03-28 Thread tip-bot for Christoph Hellwig
Commit-ID: e89f5b37015309a8bdf0b21d08007580b92f92a4 Gitweb: https://git.kernel.org/tip/e89f5b37015309a8bdf0b21d08007580b92f92a4 Author: Christoph Hellwig AuthorDate: Wed, 28 Mar 2018 15:35:35 +0200 Committer: Thomas Gleixner CommitDate: Wed, 28 Mar 2018 17:34:23 +0200 dma-mapping: Don'

Re: [PATCH] coresight: use put_device() instead of kfree()

2018-03-28 Thread Mathieu Poirier
On 18 March 2018 at 01:38, Arvind Yadav wrote: > Never directly free @dev after calling device_register(), even > if it returned an error. Always use put_device() to give up the > reference initialized. > > Signed-off-by: Arvind Yadav > --- > drivers/hwtracing/coresight/coresight.c | 8

Re: [RFC PATCH] crypto: brcm - explicitly cast cipher to hash type

2018-03-28 Thread Stefan Agner
On 28.03.2018 08:38, Raveendra Padasalagi wrote: > Hi Stefan, > > The change looks to be fine. From the IP point of view its using the > same values in case of AES cipher and hash types so explicit casting > should be ok. Can I take that as an Ack? Herbert, given that Raveendra agrees to the ch

Re: [PATCH 4.4 00/43] 4.4.125-stable review

2018-03-28 Thread Dan Rue
- pass: 2 * ltp-pty-tests - pass: 4 * ltp-sched-tests - skip: 5, pass: 9 * ltp-securebits-tests - pass: 4 * ltp-syscalls-tests - skip: 120, pass: 1030 * ltp-timers-tests - skip: 1, pass: 12 Summary kernel: 4.4.125-r

Re: [PATCH v3 2/4] bus: fsl-mc: add restool userspace support

2018-03-28 Thread Arnd Bergmann
On Wed, Mar 28, 2018 at 4:27 PM, Ioana Ciornei wrote: > Hi, > >> >> Hi Ioana, >> >> So this driver is a direct passthrough to your hardware for passing fixed- >> length command/response pairs. Have you considered using a higher-level >> interface instead? >> >> Can you list some of the commands th

Re: [PATCH 1/3] EDAC/amd64: Print ECC enabled/disabled for nodes with enabled MCs

2018-03-28 Thread Borislav Petkov
On Wed, Mar 28, 2018 at 02:38:11PM +, Ghannam, Yazen wrote: > In either of those cases we won't get to debug_display_dimm_sizes* > because we won't initialize the instance. So you move that code which accesses csrows up so that it has the required information to query DIMM state/presence. >

Re: [PATCH] ftrace: fix task's invalid comm of <...> when big pid

2018-03-28 Thread Steven Rostedt
On Wed, 28 Mar 2018 11:35:22 -0400 Steven Rostedt wrote: > On Wed, 28 Mar 2018 20:32:27 +0800 > Wang Yu wrote: > > > when pid is bigger than PID_MAX_DEFAULT, the comm of task > > is <...>, it is better use pid_max to compare > > > > Signed-off-by: Wang Yu > > --- > > kernel/trace/trace.c | 2

Re: [PATCH] mm: Use octal not symbolic permissions

2018-03-28 Thread Joe Perches
On Wed, 2018-03-28 at 15:06 +0200, Michal Hocko wrote: > On Mon 26-03-18 15:22:32, Joe Perches wrote: > > mm/*.c files use symbolic and octal styles for permissions. > > > > Using octal and not symbolic permissions is preferred by many as more > > readable. > > > > https://lkml.org/lkml/2016/8/2/

Re: [RFC PATCH] crypto: brcm - explicitly cast cipher to hash type

2018-03-28 Thread Herbert Xu
On Wed, Mar 28, 2018 at 05:41:30PM +0200, Stefan Agner wrote: > > Herbert, given that Raveendra agrees to the change, do you want me to > send a non-RFC version or can you merge the patch as is? There is no need to resend it. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~h

Re: NFS mounts failing when keytab present on client

2018-03-28 Thread J. Bruce Fields
On Tue, Mar 27, 2018 at 03:29:50PM -0700, Eric Biggers wrote: > Hi Michael, > > On Tue, Mar 27, 2018 at 11:06:14PM +0100, Michael Young wrote: > > NFS mounts stopped working on one of my computers after a kernel update from > > 4.15.3 to 4.15.4. I traced the problem to the commit > > [46e8d06e423c

Re: [PATCH v2 4/4] perf: Support perf -vv

2018-03-28 Thread Ingo Molnar
* Jin Yao wrote: > $ ./perf -vv or ./perf -version --build-options > perf version 4.13.rc5.gcb1183 My suggestion was to add the 'version' subcommand like Git has, not a "-version" option: $ git version git version 2.14.1 Thanks, Ingo

Re: [PATCH 2/8] PCI: Add pci_find_common_upstream_dev()

2018-03-28 Thread Logan Gunthorpe
On 28/03/18 09:07 AM, Christian König wrote: > Am 28.03.2018 um 14:38 schrieb Christoph Hellwig: >> On Sun, Mar 25, 2018 at 12:59:54PM +0200, Christian König wrote: >>> From: "wda...@nvidia.com" >>> >>> Add an interface to find the first device which is upstream of both >>> devices. >> Please wo

Re: [PATCH v3 0/6] clocksource: rework Atmel TCB timer driver

2018-03-28 Thread Alexandre Belloni
On 28/03/2018 at 17:31:35 +0200, Alexandre Belloni wrote: > > Do you have an explanation of why the rate is much higher ? > > > > The core is giving deltas of 31 clocks instead of much more than that, I > guess I messed up the initialization somewhere. > I did mess up. Alexander, can you test

Re: [PATCH 4.9 00/67] 4.9.91-stable review

2018-03-28 Thread Dan Rue
On Wed, Mar 28, 2018 at 10:21:45AM +0200, Greg Kroah-Hartman wrote: > On Tue, Mar 27, 2018 at 08:35:01PM -0500, Dan Rue wrote: > > qemu_x86_64 > > * boot - pass: 21 > > * kselftest - skip: 28, pass: 52 > > Do you have a list of what you are skipping anywhere? There was some > x86 changes that I h

[PATCH] amdkfd: always select MMU_NOTIFIER

2018-03-28 Thread Arnd Bergmann
Building amdkfd without MMU notifiers is broken: In file included from drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c:28: drivers/gpu/drm/amd/amdkfd/kfd_priv.h:584:22: error: field 'mmu_notifier' has incomplete type This adds the missing 'select MMU_NOTIFIER' line to make it build cleanly all t

Re: arm/arm64: smp_spin_table.c for arm32?

2018-03-28 Thread Catalin Marinas
On Wed, Mar 28, 2018 at 08:12:50AM +, Michel Pollet wrote: > I'm currently adapting a port from a machine-file based approach to driver > based, and I > would have a need for arch/arm64/kernel/smp_spin_table.c -- it's *exactly* my > use > case, but for arm32. > So what would be my options her

RE: [PATCH 1/3] EDAC/amd64: Print ECC enabled/disabled for nodes with enabled MCs

2018-03-28 Thread Ghannam, Yazen
> -Original Message- > From: Borislav Petkov > Sent: Wednesday, March 28, 2018 11:44 AM > To: Ghannam, Yazen > Cc: linux-e...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 1/3] EDAC/amd64: Print ECC enabled/disabled for nodes > with enabled MCs > > On Wed, Mar 28, 2

[PATCH] gfs2: Stop using rhashtable_walk_peek

2018-03-28 Thread Andreas Gruenbacher
Function rhashtable_walk_peek is problematic because there is no guarantee that the glock previously returned still exists; when that key is deleted, rhashtable_walk_peek can end up returning a different key, which would cause an inconsistent glock dump. So instead of using rhashtable_walk_peek, k

Re: [PATCH 2/8] PCI: Add pci_find_common_upstream_dev()

2018-03-28 Thread Christian König
Am 28.03.2018 um 17:47 schrieb Logan Gunthorpe: On 28/03/18 09:07 AM, Christian König wrote: Am 28.03.2018 um 14:38 schrieb Christoph Hellwig: On Sun, Mar 25, 2018 at 12:59:54PM +0200, Christian König wrote: From: "wda...@nvidia.com" Add an interface to find the first device which is upstre

Re: [PATCH v3] hwmon: MC13783: add uid and die temperature sensor inputs

2018-03-28 Thread Guenter Roeck
On Wed, Mar 28, 2018 at 04:28:30PM +0100, Lee Jones wrote: > On Wed, 28 Mar 2018, Guenter Roeck wrote: > > > On 03/28/2018 03:06 AM, Lee Jones wrote: > > > On Tue, 27 Mar 2018, Guenter Roeck wrote: > > > > > > > On 03/27/2018 07:19 AM, Andrey Gusakov wrote: > > > > > The uid and die temperature c

Re: [PATCH] ALSA: hda_intel: mark PM functions as __maybe_unused

2018-03-28 Thread Takashi Iwai
On Wed, 28 Mar 2018 16:31:50 +0200, Lukas Wunner wrote: > > On Wed, Mar 28, 2018 at 04:19:29PM +0200, Arnd Bergmann wrote: > > Two callsites of azx_suspend/azx_resume were removed, leaving these > > functions only called from the optional SET_SYSTEM_SLEEP_PM_OPS() > > and causing a warning without

Re: [PATCH] amdkfd: always select MMU_NOTIFIER

2018-03-28 Thread Christian König
Am 28.03.2018 um 17:53 schrieb Arnd Bergmann: Building amdkfd without MMU notifiers is broken: In file included from drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c:28: drivers/gpu/drm/amd/amdkfd/kfd_priv.h:584:22: error: field 'mmu_notifier' has incomplete type This adds the missing 'select M

[PATCH] Documentation/usb: Fix dead links and convert others to https

2018-03-28 Thread Sanjeev Gupta
All links checked, for those dead, I have replaced with copies on archive.org. For some, https is not supported, http has been kept. The git log says this was last done by Justin P. Mattock in 2010. Hi, Justin! Signed-off-by: Sanjeev Gupta --- Documentation/usb/usb-serial.txt | 14

Re: [PATCH 2/6] aio: remove an outdated comment in aio_complete

2018-03-28 Thread Darrick J. Wong
On Wed, Mar 28, 2018 at 09:26:35AM +0200, Christoph Hellwig wrote: > These days we don't treat sync iocbs special in the aio completion code as > they never use it. Remove the old comment and BUG_ON given that the > current definition of is_sync_kiocb makes it impossible to hit. > iocb to the top

Re: [PATCH 4.4 20/43] mm/vmalloc: add interfaces to free unmapped page table

2018-03-28 Thread gre...@linuxfoundation.org
On Wed, Mar 28, 2018 at 03:06:38PM +, Kani, Toshi wrote: > On Wed, 2018-03-28 at 11:58 +0200, gre...@linuxfoundation.org wrote: > > On Tue, Mar 27, 2018 at 11:47:18PM -0700, Nathan Chancellor wrote: > > > On Wed, Mar 28, 2018 at 08:32:02AM +0200, gre...@linuxfoundation.org > > > wrote: > > > >

Re: [PATCH] MAINTAINERS: vfio/platform: Update sub-maintainer

2018-03-28 Thread Auger Eric
Hi Alex, On 26/03/18 21:42, Alex Williamson wrote: > Baptiste has changed positions and has not been active with > vfio-platform, replace with the current, de-facto sub-maintainer > Eric Auger. Also add Alvise Rigo as a designated reviewer. > > Cc: Eric Auger > Cc: Alvise Rigo > Signed-off-by:

Re: [PATCH net-next 1/8] net: phy: Add initial support for Microsemi Ocelot internal PHYs.

2018-03-28 Thread Alexandre Belloni
On 23/03/2018 at 14:08:10 -0700, Florian Fainelli wrote: > On 03/23/2018 01:11 PM, Alexandre Belloni wrote: > > Add Microsemi Ocelot internal PHY ids. For now, simply use the genphy > > functions but more features are available. > > > > Cc: Raju Lakkaraju > > Signed-off-by: Alexandre Belloni > >

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-28 Thread Mathieu Desnoyers
- On Mar 28, 2018, at 8:29 AM, Peter Zijlstra pet...@infradead.org wrote: > On Tue, Mar 27, 2018 at 12:05:23PM -0400, Mathieu Desnoyers wrote: [...] >> +/* Ensure that abort_ip is not in the critical section. */ >> +if (rseq_cs.abort_ip - rseq_cs.start_ip < rseq_cs.post_commit_offset

Re: [PATCH 4.14 000/101] 4.14.31-stable review

2018-03-28 Thread Greg Kroah-Hartman
On Wed, Mar 28, 2018 at 06:38:53AM -0700, Guenter Roeck wrote: > On 03/27/2018 09:26 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.31 release. > > There are 101 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 4.9 00/67] 4.9.91-stable review

2018-03-28 Thread Greg Kroah-Hartman
On Wed, Mar 28, 2018 at 10:50:35AM -0500, Dan Rue wrote: > On Wed, Mar 28, 2018 at 10:21:45AM +0200, Greg Kroah-Hartman wrote: > > On Tue, Mar 27, 2018 at 08:35:01PM -0500, Dan Rue wrote: > > > qemu_x86_64 > > > * boot - pass: 21 > > > * kselftest - skip: 28, pass: 52 > > > > Do you have a list of

Re: [PATCH v3 1/4] dt-bindings: mfd: Add Gateworks System Controller bindings

2018-03-28 Thread Guenter Roeck
On Wed, Mar 28, 2018 at 08:14:00AM -0700, Tim Harvey wrote: > This patch adds documentation of device-tree bindings for the > Gateworks System Controller (GSC). > > Signed-off-by: Tim Harvey > --- > v3: > - replaced _ with - > - remove input bindings > - added full description of hwmon > - fi

Re: [PATCH v4 7/8] clocksource: Add a new timer-ingenic driver

2018-03-28 Thread Daniel Lezcano
On 28/03/2018 17:15, Paul Cercueil wrote: > Le 2018-03-24 07:26, Daniel Lezcano a écrit : >> On 18/03/2018 00:29, Paul Cercueil wrote: >>> This driver will use the TCU (Timer Counter Unit) present on the Ingenic >>> JZ47xx SoCs to provide the kernel with a clocksource and timers. >> >> Please provi

Re: [PATCH 2/8] PCI: Add pci_find_common_upstream_dev()

2018-03-28 Thread Logan Gunthorpe
On 28/03/18 10:02 AM, Christian König wrote: > Yeah, that looks very similar to what I picked up from the older > patches, going to read up on that after my vacation. Yeah, I was just reading through your patchset and there are a lot of similarities. Though, I'm not sure what you're trying to a

Re: [PATCH 2/2] fpga: lattice machxo2: Add Lattice MachXO2 support

2018-03-28 Thread Alan Tull
On Fri, Mar 23, 2018 at 7:27 AM, Paolo Pisati wrote: Hi Paolo, Looking good. A few things below. Also, when you post, please use the '-v' parameter of 'git format-patch' to add the version to the subject line such as [PATCH v9]. > This patch adds support to the FPGA manager for programming >

Re: [PATCH v3 2/4] bus: fsl-mc: add restool userspace support

2018-03-28 Thread Andrew Lunn
> I'm still not convinced either way (high-level or low-level > interface), but I think > this needs to be discussed with the networking maintainers. Given the examples > on the github page you linked to, the high-level user space commands > based on these ioctls > >ls-addni # adds a network

CVE-2017-13166 fixes for Kernel 3.18 - was: Re: Linux 3.18.102

2018-03-28 Thread Mauro Carvalho Chehab
Em Tue, 27 Mar 2018 08:30:54 -0300 Mauro Carvalho Chehab escreveu: > Em Tue, 27 Mar 2018 16:31:49 +0900 > Seung-Woo Kim escreveu: > > > On 2018년 03월 27일 16:05, Greg KH wrote: > > > On Tue, Mar 27, 2018 at 10:40:33AM +0900, Seung-Woo Kim wrote: > > >> Hello, > > >> > > >> Until 3.18.102, it lo

Re: [PATCH v4 4/8] dt-bindings: Add doc for the Ingenic TCU drivers

2018-03-28 Thread Rob Herring
On Wed, Mar 28, 2018 at 10:33 AM, Paul Cercueil wrote: > Le 2018-03-27 16:46, Rob Herring a écrit : >> >> On Sun, Mar 18, 2018 at 12:28:57AM +0100, Paul Cercueil wrote: >>> >>> Add documentation about how to properly use the Ingenic TCU >>> (Timer/Counter Unit) drivers from devicetree. >>> >>> Sig

Re: [PATCH 4.15 000/105] 4.15.14-stable review

2018-03-28 Thread Thadeu Lima de Souza Cascardo
On Tue, Mar 27, 2018 at 06:26:40PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.15.14 release. > There are 105 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 kno

Re: net_tx_action race condition?

2018-03-28 Thread Eric Dumazet
On 03/28/2018 12:30 AM, Saurabh Kr wrote: > Hi Eric/Angelo, >   > We are seeing the assertion error  in linux kernel 2.4.29  “*kernel: KERNEL: > assertion (atomic_read(&skb->users) == 0) failed at dev.c(1397)**”.* Based on > patch provided (_https://patchwork.kernel.org/patch/5368051/_ ) we mer

Re: [PATCH] x86, msr: fix rdmsrl_safe_on_cpu()

2018-03-28 Thread Eric Dumazet
On 03/28/2018 03:08 AM, Borislav Petkov wrote: > I guess now that the rdmsr* side does this, you probably should convert > the wrmsr* side as well. Yes indeed, thanks for the reminder.

Re: [PATCH 07/30] aio: add delayed cancel support

2018-03-28 Thread Al Viro
On Wed, Mar 28, 2018 at 09:29:03AM +0200, Christoph Hellwig wrote: > static void aio_fsync_work(struct work_struct *work) > { > struct fsync_iocb *req = container_of(work, struct fsync_iocb, work); > + struct aio_kiocb *iocb = container_of(req, struct aio_kiocb, fsync); > + struct f

Re: [PATCH RFC tools/memory-model] Add s390.{cfg,cat}

2018-03-28 Thread Paul E. McKenney
On Wed, Mar 28, 2018 at 11:01:25AM -0400, Alan Stern wrote: > On Wed, 28 Mar 2018, Paul E. McKenney wrote: > > > Hello! > > > > The prototype patch shown below provides files required to allow herd7 to > > evaluate C-language litmus tests for the multicopy-atomic TSO ordering > > provided by s390

<    1   2   3   4   5   6   7   8   9   10   >