Re: [PATCH v17 03/15] arm64: Introduce prctl() options to control the tagged user addresses ABI

2019-06-13 Thread Catalin Marinas
On Thu, Jun 13, 2019 at 12:16:59PM +0100, Dave P Martin wrote: > On Wed, Jun 12, 2019 at 01:43:20PM +0200, Andrey Konovalov wrote: > > From: Catalin Marinas > > > > It is not desirable to relax the ABI to allow tagged user addresses into > > the kernel indiscriminately. This patch introduces a

[V4 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support

2019-06-13 Thread Peng Ma
The MC(Management Complex) exports the DPDMAI(Data Path DMA Interface) object as an interface to operate the DPAA2(Data Path Acceleration Architecture 2) qDMA Engine. The DPDMAI enables sending frame-based requests to qDMA and receiving back confirmation response on transaction completion,

[PATCH] dt: leds-lm36274.txt: fix a broken reference to ti-lmu.txt

2019-06-13 Thread Mauro Carvalho Chehab
There's a typo there: ti_lmu.txt -> ti-lmu.txt Signed-off-by: Mauro Carvalho Chehab --- Documentation/devicetree/bindings/leds/leds-lm36274.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/leds/leds-lm36274.txt

Re: [PATCH v4 1/2] arm64: Define Documentation/arm64/tagged-address-abi.txt

2019-06-13 Thread Vincenzo Frascino
On 13/06/2019 16:32, Szabolcs Nagy wrote: > On 13/06/2019 15:03, Vincenzo Frascino wrote: >> On 13/06/2019 13:28, Szabolcs Nagy wrote: >>> On 13/06/2019 12:16, Vincenzo Frascino wrote: On 13/06/2019 11:14, Szabolcs Nagy wrote: > On 13/06/2019 10:20, Catalin Marinas wrote: >> On Wed,

Re: [PATCH v3 1/3] thermal: sun8i: add thermal driver for h6

2019-06-13 Thread Frank Lee
On Thu, Jun 13, 2019 at 9:26 PM Maxime Ripard wrote: > > On Fri, Jun 07, 2019 at 09:34:44PM +0800, Frank Lee wrote: > > On Mon, May 27, 2019 at 8:27 PM Maxime Ripard > > wrote: > > > > + ret = devm_request_threaded_irq(dev, irq, NULL, > > > > +

[PATCH] ARM: dts: rockchip: add display nodes for rk322x

2019-06-13 Thread Justin Swartz
Add display_subsystem, hdmi_phy, vop, and hdmi device nodes plus a few hdmi pinctrl entries to allow for HDMI output. Signed-off-by: Justin Swartz --- arch/arm/boot/dts/rk322x.dtsi | 83 ++- 1 file changed, 82 insertions(+), 1 deletion(-) diff --git

[PATCH] locking/rwsem: save unnecessary rwsem_set_owner() after slow path

2019-06-13 Thread Peng Wang
rwsem_down_write_failed() and rwsem_down_write_failed_killable() return with sem->owner set if acquire semaphore successfully, so we can skip rwsem_set_owner() to keep pace with reading. Signed-off-by: Peng Wang --- kernel/locking/rwsem.h | 9 ++--- 1 file changed, 6 insertions(+), 3

RE: [LINUX PATCH v14] mtd: rawnand: pl353: Add basic driver for arm pl353 smc nand interface

2019-06-13 Thread Naga Sureshkumar Relli
Hi Helmut, > -Original Message- > From: Helmut Grohne > Sent: Monday, April 29, 2019 5:48 PM > To: Naga Sureshkumar Relli > Cc: bbrezil...@kernel.org; miquel.ray...@bootlin.com; rich...@nod.at; > dw...@infradead.org; computersforpe...@gmail.com; marek.va...@gmail.com; > linux- >

Re: [PATCH v4 2/3] lib: logic_pio: Reject accesses to unregistered CPU MMIO regions

2019-06-13 Thread John Garry
On 13/06/2019 04:20, Bjorn Helgaas wrote: On Tue, Jun 11, 2019 at 10:12:53PM +0800, John Garry wrote: Currently when accessing logical indirect PIO addresses in logic_{in, out}{,s}, we first ensure that the region is registered. Hi Bjorn, I think logic_pio is specifically concerned with

[PATCH v4 2/2] arm64: tegra: enable ACONNECT, ADMA and AGIC

2019-06-13 Thread Sameer Pujar
Enable ACONNECT, ADMA and AGIC devices for following platforms * Jetson TX2 * Jetson Xavier Verified driver probe path and devices get registered fine. Signed-off-by: Sameer Pujar --- changes in current revision * changed names for aconnect and agic nodes

Re: [PATCH v3 6/7] dt-bindings: qcom_spmi: Document pms405 support

2019-06-13 Thread Bjorn Andersson
On Thu 13 Jun 07:24 PDT 2019, Jeffrey Hugo wrote: > From: Jorge Ramirez > > The PMS405 supports 5 SMPS and 13 LDO regulators. > > Signed-off-by: Jorge Ramirez-Ortiz > Reviewed-by: Rob Herring > Signed-off-by: Jeffrey Hugo > --- > .../regulator/qcom,spmi-regulator.txt | 24

[PATCH v4 1/2] arm64: tegra: add ACONNECT, ADMA and AGIC nodes

2019-06-13 Thread Sameer Pujar
Add DT nodes for following devices on Tegra186 and Tegra194 * ACONNECT * ADMA * AGIC Signed-off-by: Sameer Pujar --- changes in current revision * node names changed for aconnect and agic * size value updated for ranges property in aconnect node arch/arm64/boot/dts/nvidia/tegra186.dtsi

Re: [PATCH v4 1/2] arm64: Define Documentation/arm64/tagged-address-abi.txt

2019-06-13 Thread Vincenzo Frascino
Hi Catalin, On 12/06/2019 16:35, Catalin Marinas wrote: > Hi Vincenzo, > > Some minor comments below but it looks fine to me overall. Cc'ing > Szabolcs as well since I'd like a view from the libc people. > Thanks for this, I saw Szabolcs comments. > On Wed, Jun 12, 2019 at 03:21:10PM +0100,

Re: [PATCH repost] dt-bindings: timer: renesas, cmt: Document r8a779{5|65|90} CMT support

2019-06-13 Thread Simon Horman
On Thu, May 09, 2019 at 02:29:49PM +0200, Simon Horman wrote: > From: Cao Van Dong > > Document SoC specific bindings for R-Car H3/M3-N/E3 SoCs. Hi Daniel and Thomas, would you object to me taking this patch through the renesas tree. It has been outstanding for some time now. > Signed-off-by:

[PATCH 2/7] clk: at91: sckc: add support to free slow rc oscillator

2019-06-13 Thread Claudiu.Beznea
From: Claudiu Beznea Add support to free slow rc oscillator resources. Signed-off-by: Claudiu Beznea --- drivers/clk/at91/sckc.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/clk/at91/sckc.c b/drivers/clk/at91/sckc.c index c1d7edd33416..492b139a7c15 100644 ---

[PATCH 3/7] clk: at91: sckc: add support to free slow clock osclillator

2019-06-13 Thread Claudiu.Beznea
From: Claudiu Beznea Add support to free slow clock oscillator resources. Signed-off-by: Claudiu Beznea --- drivers/clk/at91/sckc.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/clk/at91/sckc.c b/drivers/clk/at91/sckc.c index 492b139a7c15..2a677c56f901 100644 ---

[PATCH 6/7] clk: at91: sckc: improve error path for sama5d4 sck registration

2019-06-13 Thread Claudiu.Beznea
From: Claudiu Beznea Improve error path for sama5d4 sck registration. Signed-off-by: Claudiu Beznea --- drivers/clk/at91/sckc.c | 43 --- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/drivers/clk/at91/sckc.c b/drivers/clk/at91/sckc.c

[PATCH 4/7] clk: at91: sckc: improve error path for sam9x5 sck register

2019-06-13 Thread Claudiu.Beznea
From: Claudiu Beznea Improve error path for sam9x5 slow clock registration. Signed-off-by: Claudiu Beznea --- drivers/clk/at91/sckc.c | 50 +++-- 1 file changed, 32 insertions(+), 18 deletions(-) diff --git a/drivers/clk/at91/sckc.c

[PATCH 1/7] clk: at91: sckc: add support to free slow oscillator

2019-06-13 Thread Claudiu.Beznea
From: Claudiu Beznea Add support to free slow oscillator resources. Signed-off-by: Claudiu Beznea --- drivers/clk/at91/sckc.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/clk/at91/sckc.c b/drivers/clk/at91/sckc.c index 2c410f41b413..c1d7edd33416 100644 ---

[PATCH 5/7] clk: at91: sckc: remove unnecessary line

2019-06-13 Thread Claudiu.Beznea
From: Claudiu Beznea Remove unnecessary line. Signed-off-by: Claudiu Beznea --- drivers/clk/at91/sckc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/at91/sckc.c b/drivers/clk/at91/sckc.c index a2b905c91085..c61b6c9ddb94 100644 --- a/drivers/clk/at91/sckc.c +++

[PATCH 0/7] clk: at91: sckc: improve error path

2019-06-13 Thread Claudiu.Beznea
From: Claudiu Beznea Hi, This series tries to improve error path for slow clock registrations by adding functions to free resources and using them on failures. It is created on top of patch series at [1]. Thank you, Claudiu Beznea [1]

Re: [PATCH v3 2/7] drivers: regulator: qcom_spmi: Refactor get_mode/set_mode

2019-06-13 Thread Jeffrey Hugo
On Thu, Jun 13, 2019 at 9:24 AM Bjorn Andersson wrote: > > On Thu 13 Jun 08:12 PDT 2019, Bjorn Andersson wrote: > > > On Thu 13 Jun 07:22 PDT 2019, Jeffrey Hugo wrote: > > > > > spmi_regulator_common_get_mode and spmi_regulator_common_set_mode use > > > multi-level ifs which mirror a switch

Re: [PATCH 4.14 00/81] 4.14.126-stable review

2019-06-13 Thread Greg Kroah-Hartman
On Thu, Jun 13, 2019 at 08:11:33AM -0700, Guenter Roeck wrote: > On 6/13/19 1:32 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.126 release. > > There are 81 patches in this series, all will be posted as a response > > to this one. If anyone has any

[PATCH 7/7] clk: at91: sckc: use dedicated functions to unregister clock

2019-06-13 Thread Claudiu.Beznea
From: Claudiu Beznea Use at91 specific functions to free all resources in case of error. Signed-off-by: Claudiu Beznea --- drivers/clk/at91/sckc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/at91/sckc.c b/drivers/clk/at91/sckc.c index

Re: [PATCH 5.1 101/155] usb: ohci-da8xx: disable the regulator if the overcurrent irq fired

2019-06-13 Thread Sekhar Nori
Hi, On 13/06/19 2:03 PM, Greg Kroah-Hartman wrote: > [ Upstream commit d327330185f192411be80563a3c8398f4538cdb2 ] > > Historically the power supply management in this driver has been handled > in two separate places in parallel. Device-tree users simply defined an > appropriate regulator, while

Re: [PATCH -next] ima: Make arch_policy_entry static

2019-06-13 Thread Mimi Zohar
On Tue, 2019-06-11 at 21:40 +0800, YueHaibing wrote: > Fix sparse warning: > > security/integrity/ima/ima_policy.c:202:23: warning: > symbol 'arch_policy_entry' was not declared. Should it be static? > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Thanks, this patch has been queued

Re: [PATCH V5 6/7] i2c: tegra: fix PIO rx/tx residual transfer check

2019-06-13 Thread Bitan Biswas
On 6/12/19 6:55 AM, Dmitry Osipenko wrote: 11.06.2019 13:51, Bitan Biswas пишет: Fix expression for residual bytes(less than word) transfer in I2C PIO mode RX/TX. Signed-off-by: Bitan Biswas --- drivers/i2c/busses/i2c-tegra.c | 11 ++- 1 file changed, 6 insertions(+), 5

Re: [PATCH] scsi: megaraid_sas: Use struct_size() helper

2019-06-13 Thread Sumit Saxena
On Sat, Jun 8, 2019 at 12:10 AM Gustavo A. R. Silva wrote: > > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct

Re: [PATCH] irqchip: Enable compile-testing for Renesas drivers

2019-06-13 Thread Simon Horman
On Fri, Jun 07, 2019 at 11:50:36AM +0200, Geert Uytterhoeven wrote: > Enable compile-testing for all Renesas interrupt controller drivers, > except for RENESAS_H8300H_INTC. The latter relies on a function > (ctrl_bclr()) that is not available on other architectures. > > Signed-off-by: Geert

Re: [PATCH v4 18/28] docs: convert docs to ReST and rename to *.rst

2019-06-13 Thread Mauro Carvalho Chehab
Em Wed, 12 Jun 2019 17:25:39 -0700 "Srivatsa S. Bhat" escreveu: > On 6/12/19 10:52 AM, Mauro Carvalho Chehab wrote: > > Convert the PM documents to ReST, in order to allow them to > > build with Sphinx. > > > > The conversion is actually: > > - add blank lines and identation in order to

Re: [PATCH 0/1] docs: watchdog: make htmldocs failed.

2019-06-13 Thread Mauro Carvalho Chehab
Em Wed, 12 Jun 2019 18:02:36 -0600 Jerry Hoemann escreveu: > Guenter, > > While making htmldocs from linux-staging.git watchdog-next, the > build failed due what I think is a missing blank line after a header > separator in: > > Documentation/watchdog/watchdog-parameters.rst > > I'm a

Re: [PATCH] coresight: potential uninitialized variable in probe()

2019-06-13 Thread Leo Yan
On Thu, Jun 13, 2019 at 05:56:37PM +0800, Leo Yan wrote: [...] > > In my experience it's better to initialize the return as late as > > possible so that you get static checker warnings when you forget to set > > the error code. > > Just want to check one thing, which static checker you are

[PATCH] mm: Generalize and rename notify_page_fault() as kprobe_page_fault()

2019-06-13 Thread Anshuman Khandual
Architectures which support kprobes have very similar boilerplate around calling kprobe_fault_handler(). Use a helper function in kprobes.h to unify them, based on the x86 code. This changes the behaviour for other architectures when preemption is enabled. Previously, they would have disabled

Re: [PATCH 1/1] docs: watchdog: Fix build error.

2019-06-13 Thread Mauro Carvalho Chehab
Em Wed, 12 Jun 2019 18:02:37 -0600 Jerry Hoemann escreveu: > make htmldocs fails due to missing blank line following header. > > Signed-off-by: Jerry Hoemann Reviewed-by: Mauro Carvalho Chehab > --- > Documentation/watchdog/watchdog-parameters.rst | 2 ++ > 1 file changed, 2 insertions(+) >

Re: [PATCH 23/34] power: supply: rt9455_charger: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:56:02PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH 32/34] staging: media: soc_camera: mt9t031: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:56:11PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH v4 1/2] arm64: Define Documentation/arm64/tagged-address-abi.txt

2019-06-13 Thread Catalin Marinas
On Thu, Jun 13, 2019 at 02:23:43PM +0100, Dave P Martin wrote: > On Thu, Jun 13, 2019 at 01:28:21PM +0100, Catalin Marinas wrote: > > On Thu, Jun 13, 2019 at 12:37:32PM +0100, Dave P Martin wrote: > > > On Thu, Jun 13, 2019 at 11:15:34AM +0100, Vincenzo Frascino wrote: > > > > On 12/06/2019 16:35,

Re: [PATCH 34/34] usb: typec: tcpm: fusb302: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 05:59:17AM -0700, Guenter Roeck wrote: > On 6/8/19 3:56 AM, Wolfram Sang wrote: > > We have a dedicated pointer for that, so use it. Much easier to read and > > less computation involved. > > > > Signed-off-by: Wolfram Sang > > Reviewed-by: Guenter Roeck Reviewed-by:

Re: [PATCH 33/34] staging: media: soc_camera: soc_mt9v022: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:56:12PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH 4.14 61/81] ALSA: seq: Protect in-kernel ioctl calls with mutex

2019-06-13 Thread Sasha Levin
On Thu, Jun 13, 2019 at 11:13:55AM +0200, Takashi Iwai wrote: On Thu, 13 Jun 2019 11:11:22 +0200, Greg Kroah-Hartman wrote: On Thu, Jun 13, 2019 at 11:02:54AM +0200, Takashi Iwai wrote: > On Thu, 13 Jun 2019 10:33:44 +0200, > Greg Kroah-Hartman wrote: > > > > [ Upstream commit

Re: [PATCH 31/34] staging: media: soc_camera: imx074: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:56:10PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH] coresight: potential uninitialized variable in probe()

2019-06-13 Thread Leo Yan
Hi Dan, On Thu, Jun 13, 2019 at 11:14:19AM +0300, Dan Carpenter wrote: > On Thu, Jun 13, 2019 at 03:49:22PM +0800, Leo Yan wrote: > > Hi Dan, > > > > On Wed, Jun 12, 2019 at 11:58:15PM -0700, Dan Carpenter wrote: > > > The "drvdata->atclk" clock is optional, but if it gets set to an error > > >

Re: [RFC v2 01/11] OPP: Don't overwrite rounded clk rate

2019-06-13 Thread Viresh Kumar
On 12-06-19, 13:55, Viresh Kumar wrote: > Okay, I have applied this patch (alone) to the OPP tree with minor > modifications in commit log and diff. And I have removed it now :) I am confused as hell on what we should be doing and what we are doing right now. And if we should do better. Let me

Re: [RFC] Disable lockref on arm64

2019-06-13 Thread Hanjun Guo
On 2019/6/12 12:10, Jayachandran Chandrasekharan Nair wrote: > On Wed, May 22, 2019 at 05:04:17PM +0100, Will Deacon wrote: >> On Sat, May 18, 2019 at 12:00:34PM +0200, Ard Biesheuvel wrote: >>> On Sat, 18 May 2019 at 06:25, Jayachandran Chandrasekharan Nair >>> wrote: On Mon, May 06,

Re: [PATCH 24/34] power: supply: sbs-manager: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:56:03PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH v4 2/5] soc: qcom: smd-rpm: Create RPM interconnect proxy child device

2019-06-13 Thread Bjorn Andersson
On Thu 13 Jun 08:13 PDT 2019, Georgi Djakov wrote: > Register a platform device to handle the communication of bus bandwidth > requests with the remote processor. The interconnect proxy device is part > of this remote processor (RPM) hardware. Let's create a icc-smd-rpm proxy > child device to

Re: infinite loop in read_hpet from ktime_get_boot_fast_ns

2019-06-13 Thread Arnd Bergmann
On Thu, Jun 13, 2019 at 5:19 PM Jason A. Donenfeld wrote: > > Hey Arnd, Peter, > > On Wed, Jun 12, 2019 at 4:01 PM Arnd Bergmann wrote: > > Documentation/core-api/timekeeping.rst describes the timekeeping > > interfaces. I think what you want here is ktime_get_coarse_boottime(). > > > > Note

Re: [PATCH 21/34] power: supply: max17042_battery: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:56:00PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH 20/34] power: supply: max17040_battery: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:55:59PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH v3 6/7] dt-bindings: qcom_spmi: Document pms405 support

2019-06-13 Thread Jeffrey Hugo
On Thu, Jun 13, 2019 at 9:36 AM Bjorn Andersson wrote: > > On Thu 13 Jun 07:24 PDT 2019, Jeffrey Hugo wrote: > > > From: Jorge Ramirez > > > > The PMS405 supports 5 SMPS and 13 LDO regulators. > > > > Signed-off-by: Jorge Ramirez-Ortiz > > Reviewed-by: Rob Herring > > Signed-off-by: Jeffrey

Re: [PATCH 22/34] power: supply: rt5033_battery: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:56:01PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH 18/34] power: supply: bq25890_charger: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:55:57PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH 19/34] power: supply: max14656_charger_detector: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:55:58PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH 15/34] mtd: maps: pismo: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:55:54PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH 17/34] power: supply: bq24257_charger: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:55:56PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH 2/2] staging: rtl8723bs: hal: sdio_halinit: fix spaces preferred around that unary operator

2019-06-13 Thread Greg Kroah-Hartman
On Wed, Jun 12, 2019 at 08:00:19AM +0530, Hariprasad Kelam wrote: > CHECK: spaces preferred around that '+' (ctx:VxV) > CHECK: spaces preferred around that '<<' (ctx:VxV) > CHECK: spaces preferred around that '|' (ctx:VxV) > > Signed-off-by: Hariprasad Kelam > --- >

[PATCH] media: MAINTAINERS: fix linux-media mailing list for meson drivers

2019-06-13 Thread Maxime Jourdan
Both MESON AO CEC and MESON VIDEO DECODER point to the wrong linux-media mailing list. Update it to linux-me...@vger.kernel.org. Signed-off-by: Maxime Jourdan --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

Re: [PATCH 1/2] staging: rtl8723bs: hal: sdio_halinit: fix comparison to true/false is error prone

2019-06-13 Thread Greg Kroah-Hartman
On Wed, Jun 12, 2019 at 07:59:57AM +0530, Hariprasad Kelam wrote: > CHECK: Using comparison to false is error prone > CHECK: Using comparison to true is error prone > > Signed-off-by: Hariprasad Kelam > --- > drivers/staging/rtl8723bs/hal/sdio_halinit.c | 16 > 1 file changed,

Re: [PATCH v3 7/7] drivers: regulator: qcom: add PMS405 SPMI regulator

2019-06-13 Thread Jeffrey Hugo
On Thu, Jun 13, 2019 at 9:33 AM Bjorn Andersson wrote: > > On Thu 13 Jun 07:24 PDT 2019, Jeffrey Hugo wrote: > > > From: Jorge Ramirez > > > > The PMS405 has 5 HFSMPS and 13 LDO regulators, > > > > This commit adds support for one of the 5 HFSMPS regulators (s3) to > > the spmi regulator driver.

Re: [PATCH 14/34] misc: tsl2550: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:55:53PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH] bpf: selftests: Fix warning in flow_dissector

2019-06-13 Thread Stanislav Fomichev
On 06/13, Arthur Fabre wrote: > Building the userspace part of the flow_dissector resulted in: > > prog_tests/flow_dissector.c: In function ‘tx_tap’: > prog_tests/flow_dissector.c:176:9: warning: implicit declaration > of function ‘writev’; did you mean ‘write’? [-Wimplicit-function-declaration]

Re: [PATCH 13/34] misc: isl29003: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:55:52PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH v4 3/5] interconnect: qcom: Add interconnect SMD over SMD driver

2019-06-13 Thread Bjorn Andersson
On Thu 13 Jun 08:13 PDT 2019, Georgi Djakov wrote: > On some Qualcomm SoCs, there is a remote processor, which controls some of > the Network-On-Chip interconnect resources. Other CPUs express their needs > by communicating with this processor. Add a driver to handle communication > with this

Re: [PATCH 16/34] power: supply: bq24190_charger: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:55:55PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH 12/34] misc: fsa9480: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:55:51PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH v3 3/5] brcmfmac: sdio: Disable auto-tuning around commands expected to fail

2019-06-13 Thread Ulf Hansson
On Wed, 12 Jun 2019 at 15:58, Arend Van Spriel wrote: > > > On 6/12/2019 1:48 PM, Ulf Hansson wrote: > > On Wed, 12 Jun 2019 at 13:11, Arend Van Spriel > > wrote: > >> > >> On 6/12/2019 12:10 PM, Ulf Hansson wrote: > drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c: >

Re: [PATCH v3 0/4] KVM: LAPIC: Implement Exitless Timer

2019-06-13 Thread Maxim Levitsky
On Thu, 2019-06-13 at 16:25 +0800, Wanpeng Li wrote: > On Thu, 13 Jun 2019 at 15:59, Maxim Levitsky wrote: > > > > On Tue, 2019-06-11 at 20:17 +0800, Wanpeng Li wrote: > > > Dedicated instances are currently disturbed by unnecessary jitter due > > > to the emulated lapic timers fire on the same

Re: [PATCH 11/34] media: i2c: tw9910: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:55:50PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang > --- Reviewed-by: Simon Horman > > Please apply to your subsystem tree. > >

[PATCH net-next v3 2/2] hinic: add support for rss parameters with ethtool

2019-06-13 Thread Xue Chaojing
This patch adds support rss parameters with ethtool, user can change hash key, hash indirection table, hash function by ethtool -X, and show rss parameters by ethtool -x. Signed-off-by: Xue Chaojing --- drivers/net/ethernet/huawei/hinic/Makefile| 2 +-

Re: [PATCH 08/34] media: i2c: mt9m111: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:55:47PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH 06/34] media: i2c: ak881x: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:55:45PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH 10/34] media: i2c: ov2640: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:55:49PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH 07/34] media: i2c: mt9m001: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:55:46PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman

[PATCH net-next v3 1/2] hinic: add rss support

2019-06-13 Thread Xue Chaojing
This patch adds rss support for the HINIC driver. Signed-off-by: Xue Chaojing --- drivers/net/ethernet/huawei/hinic/hinic_dev.h | 26 ++ .../net/ethernet/huawei/hinic/hinic_hw_dev.c | 10 +- .../net/ethernet/huawei/hinic/hinic_hw_dev.h | 26 ++ .../net/ethernet/huawei/hinic/hinic_hw_wqe.h

[PATCH net-next v3 0/2] hinic: add rss support and rss parameters configuration

2019-06-13 Thread Xue Chaojing
This series add rss support for HINIC driver and implement the ethtool interface related to rss parameter configuration. user can use ethtool configure rss parameters or show rss parameters. Xue Chaojing (2): hinic: add rss support hinic: add support for rss parameters with ethtool

Re: [PATCH 05/34] leds: leds-tca6507: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:55:44PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH 01/34] clk: clk-cdce706: simplify getting the adapter of a client

2019-06-13 Thread Simon Horman
On Sat, Jun 08, 2019 at 12:55:40PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > >

Re: [PATCH v3 1/2] arm64: tegra: add ACONNECT, ADMA and AGIC nodes

2019-06-13 Thread Sameer Pujar
On 6/13/2019 3:12 PM, Jon Hunter wrote: On 13/06/2019 10:10, Sameer Pujar wrote: Add DT nodes for following devices on Tegra186 and Tegra194 * ACONNECT * ADMA * AGIC Signed-off-by: Sameer Pujar --- changes in current revision * use single address range for all APE modules *

Re: [PATCH] binder: fix possible UAF when freeing buffer

2019-06-13 Thread Todd Kjos
On Wed, Jun 12, 2019 at 10:41 PM Greg KH wrote: > > On Wed, Jun 12, 2019 at 01:29:27PM -0700, Todd Kjos wrote: > > There is a race between the binder driver cleaning > > up a completed transaction via binder_free_transaction() > > and a user calling binder_ioctl(BC_FREE_BUFFER) to > > release a

Re: [PATCH 4.14 61/81] ALSA: seq: Protect in-kernel ioctl calls with mutex

2019-06-13 Thread Takashi Iwai
On Thu, 13 Jun 2019 17:39:46 +0200, Sasha Levin wrote: > > On Thu, Jun 13, 2019 at 11:13:55AM +0200, Takashi Iwai wrote: > >On Thu, 13 Jun 2019 11:11:22 +0200, > >Greg Kroah-Hartman wrote: > >> > >> On Thu, Jun 13, 2019 at 11:02:54AM +0200, Takashi Iwai wrote: > >> > On Thu, 13 Jun 2019 10:33:44

Re: [RFC PATCH 1/5] signal: Teach sigsuspend to use set_user_sigmask

2019-06-13 Thread Oleg Nesterov
On 06/13, David Laight wrote: > > I tested NetBSD last night. > pselect() always calls the signal handlers even when an fd is ready. > I'm beginning to suspect that this is the 'standards conforming' behaviour. May be. May be not. I have no idea. > > The ToG page for pselect() > >

[PATCH 03/22] mm: remove hmm_devmem_add_resource

2019-06-13 Thread Christoph Hellwig
This function has never been used since it was first added to the kernel more than a year and a half ago, and if we ever grow a consumer of the MEMORY_DEVICE_PUBLIC infrastructure it can easily use devm_memremap_pages directly now that we've simplified the API for it. Signed-off-by: Christoph

[PATCH 04/22] mm: don't clear ->mapping in hmm_devmem_free

2019-06-13 Thread Christoph Hellwig
->mapping isn't even used by HMM users, and the field at the same offset in the zone_device part of the union is declared as pad. (Which btw is rather confusing, as DAX uses ->pgmap and ->mapping from two different sides of the union, but DAX doesn't use hmm_devmem_free). Signed-off-by:

[PATCH 01/22] mm: remove the unused ARCH_HAS_HMM_DEVICE Kconfig option

2019-06-13 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- mm/Kconfig | 10 -- 1 file changed, 10 deletions(-) diff --git a/mm/Kconfig b/mm/Kconfig index f0c76ba47695..0d2ba7e1f43e 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -675,16 +675,6 @@ config ARCH_HAS_HMM_MIRROR depends on (X86_64 || PPC64)

[PATCH 02/22] mm: remove the struct hmm_device infrastructure

2019-06-13 Thread Christoph Hellwig
This code is a trivial wrapper around device model helpers, which should have been integrated into the driver device model usage from the start. Assuming it actually had users, which it never had since the code was added more than 1 1/2 years ago. Signed-off-by: Christoph Hellwig ---

[PATCH 2/3 v6] serial: 8250: Add MSR/MCR TIOCM conversion wrapper functions

2019-06-13 Thread Stefan Roese
This patch adds wrapper functions to convert MSR <-> TIOCM and also MCR <-> TIOCM. These functions are used now in serial8250_do_set_mctrl() and serial8250_do_get_mctrl(). Signed-off-by: Stefan Roese Suggested-by: Andy Shevchenko Cc: Mika Westerberg Cc: Andy Shevchenko Cc: Yegor Yefremov Cc:

Re: [PATCH v17 03/15] arm64: Introduce prctl() options to control the tagged user addresses ABI

2019-06-13 Thread Vincenzo Frascino
On 13/06/2019 16:35, Catalin Marinas wrote: > On Thu, Jun 13, 2019 at 12:16:59PM +0100, Dave P Martin wrote: >> On Wed, Jun 12, 2019 at 01:43:20PM +0200, Andrey Konovalov wrote: >>> From: Catalin Marinas >>> >>> It is not desirable to relax the ABI to allow tagged user addresses into >>> the

[PATCH 1/3 v6] serial: mctrl_gpio: Check if GPIO property exisits before requesting it

2019-06-13 Thread Stefan Roese
This patch adds a check for the GPIOs property existence, before the GPIO is requested. This fixes an issue seen when the 8250 mctrl_gpio support is added (2nd patch in this patch series) on x86 platforms using ACPI. Here Mika's comments from 2016-08-09: " I noticed that with v4.8-rc1 serial

Re: [RESEND PATCH v2 3/3] regulator: lp87565: Add 4-phase lp87561 regulator support

2019-06-13 Thread Mark Brown
On Wed, Jun 12, 2019 at 08:16:20PM +0530, Keerthy wrote: > patches 1/3 2/3 are already applied to linux-next. This doesn't build without those patches: CC drivers/regulator/lp87565-regulator.o drivers/regulator/lp87565-regulator.c:156:32: error: ‘LP87565_BUCK_3210’ undeclared here (not

[PATCH 3/3 v6] tty/serial/8250: use mctrl_gpio helpers

2019-06-13 Thread Stefan Roese
From: Yegor Yefremov This patch permits the usage for GPIOs to control the CTS/RTS/DTR/DSR/DCD/RI signals. Changed by Stefan: Only call mctrl_gpio_init(), if the device has no ACPI companion device to not break existing ACPI based systems. Also only use the mctrl_gpio_ functions when "gpios" is

dev_pagemap related cleanups

2019-06-13 Thread Christoph Hellwig
Hi Dan, Jérôme and Jason, below is a series that cleans up the dev_pagemap interface so that it is more easily usable, which removes the need to wrap it in hmm and thus allowing to kill a lot of code Diffstat: 22 files changed, 245 insertions(+), 802 deletions(-) Git tree:

Re: [PATCH v3 1/2] arm64: tegra: add ACONNECT, ADMA and AGIC nodes

2019-06-13 Thread Jon Hunter
On 13/06/2019 10:10, Sameer Pujar wrote: > Add DT nodes for following devices on Tegra186 and Tegra194 > * ACONNECT > * ADMA > * AGIC > > Signed-off-by: Sameer Pujar > --- > changes in current revision > * use single address range for all APE modules > * fix address range for agic > >

Re: [PATCH v4 1/3] lib: logic_pio: Use logical PIO low-level accessors for !CONFIG_INDIRECT_PIO

2019-06-13 Thread John Garry
On 13/06/2019 03:39, Bjorn Helgaas wrote: On Tue, Jun 11, 2019 at 10:12:52PM +0800, John Garry wrote: Currently we only use logical PIO low-level accessors for when CONFIG_INDIRECT_PIO is enabled. Otherwise we just use inb/out et all directly. Hi Bjorn, thanks for checking this. It is

Re: [PATCH v3] phy: renesas: rcar-gen3-usb2: fix imbalance powered flag

2019-06-13 Thread Simon Horman
On Mon, Jun 10, 2019 at 03:23:55PM +0900, Yoshihiro Shimoda wrote: > The powered flag should be set for any other phys anyway. Also > the flag should be locked by the channel. Otherwise, after we have > revised the device tree for the usb phy, the following warning > happened during a second

Re: [PATCH] mm/vmalloc: Check absolute error return from vmap_[p4d|pud|pmd|pte]_range()

2019-06-13 Thread Roman Penyaev
On 2019-06-13 10:12, Anshuman Khandual wrote: vmap_pte_range() returns an -EBUSY when it encounters a non-empty PTE. But currently vmap_pmd_range() unifies both -EBUSY and -ENOMEM return code as -ENOMEM and send it up the call chain which is wrong. Interestingly enough

Re: [PATCH v5 00/10] Support using MSI interrupts in ntb_transport

2019-06-13 Thread Logan Gunthorpe
On 2019-06-13 7:30 a.m., Jon Mason wrote: > On Thu, May 23, 2019 at 04:30:50PM -0600, Logan Gunthorpe wrote: >> This is another resend as there has been no feedback since v4. >> Seems Jon has been MIA this past cycle so hopefully he appears on the >> list soon. >> >> I've addressed the feedback

Re: [PATCH] locking/static_key: always define static_branch_deferred_inc

2019-06-13 Thread Peter Zijlstra
On Wed, Jun 12, 2019 at 01:56:27PM -0700, Jakub Kicinski wrote: > On Wed, 12 Jun 2019 16:25:16 -0400, Willem de Bruijn wrote: > > On Wed, Jun 12, 2019 at 3:59 PM Jakub Kicinski > > wrote: > > > > > > On Wed, 12 Jun 2019 15:44:09 -0400, Willem de Bruijn wrote: > > > > From: Willem de Bruijn > >

[PATCH] usb: gadget: u_audio: Fixed variable declaration coding style issue

2019-06-13 Thread Jonas Stenvall
Fixed a coding style issue, replacing unsigned with unsigned int. Signed-off-by: Jonas Stenvall --- drivers/usb/gadget/function/u_audio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/function/u_audio.c b/drivers/usb/gadget/function/u_audio.c index

Re: [PATCH v4 4/7] i2c: core: Make i2c_acpi_get_irq available to the rest of the I2C core

2019-06-13 Thread Benjamin Tissoires
On Thu, Jun 13, 2019 at 10:49 AM Charles Keepax wrote: > > On Wed, Jun 12, 2019 at 06:27:18PM +0300, Mika Westerberg wrote: > > On Tue, Jun 11, 2019 at 01:30:58PM +0100, Charles Keepax wrote: > > > In preparation for more refactoring make i2c_acpi_get_irq available > > > outside i2c-core-acpi.c.

Re: [PATCH repost 0/5] Repost CAN and CANFD dt-bindings

2019-06-13 Thread Simon Horman
On Wed, Jun 12, 2019 at 09:49:08AM -0700, David Miller wrote: > From: Simon Horman > Date: Wed, 12 Jun 2019 14:20:20 +0200 > > > are you comfortable with me taking these patches > > through the renesas tree? Or perhaps should they be reposted > > to you for inclusion in net-next? > > > > They

  1   2   3   4   5   6   7   8   9   10   >