[PATCH v2] staging: pi433: Remove unnecessary variable

2019-05-23 Thread Nishka Dasgupta
The variable retval is assigned constant values twice, and can therefore be replaced by its values. Signed-off-by: Nishka Dasgupta --- Changes in v2: - Add Wei Yongjun to the recipients list - Fix From and Signed-off-by fields drivers/staging/pi433/pi433_if.c | 5 ++--- 1 file changed, 2 insert

Re: [PATCH v2 1/2] ARM: dts: vf610-zii-dev: Fix incorrect UART2 pin assignment

2019-05-23 Thread Shawn Guo
On Wed, May 22, 2019 at 12:20:51AM -0700, Andrey Smirnov wrote: > UART2 is connected to PTD22/23, not PTD0/1. Fix corresponding pinmux > node. > > Signed-off-by: Andrey Smirnov > Cc: Shawn Guo > Cc: Chris Healy > Cc: Andrew Lunn > Cc: Fabio Estevam > Cc: linux-arm-ker...@lists.infradead.org >

Re: [PATCH v4 3/5] dt-bindings: watchdog: add Allwinner H6 r_watchdog

2019-05-23 Thread Maxime Ripard
On Wed, May 22, 2019 at 06:15:26PM +0200, Clément Péron wrote: > Hi Maxime, > > On Wed, 22 May 2019 at 12:32, Maxime Ripard wrote: > > > > On Tue, May 21, 2019 at 06:03:28PM +0200, Clément Péron wrote: > > > Allwinner H6 has a second watchdog on the r-blocks which is > > > compatible with the A31.

[RFC v2 1/2] clocksource: davinci-timer: add support for clockevents

2019-05-23 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Currently the clocksource and clockevent support for davinci platforms lives in mach-davinci. It hard-codes many things, uses global variables, implements functionalities unused by any platform and has code fragments scattered across many (often unrelated) files. Implem

Re: [RFC 1/2] clocksource: davinci-timer: add support for clockevents

2019-05-23 Thread Bartosz Golaszewski
wt., 14 maj 2019 o 21:55 Daniel Lezcano napisał(a): > > On 17/04/2019 16:47, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > Currently the clocksource and clockevent support for davinci platforms > > lives in mach-davinci. It hard-codes many things, uses global variables, > > imp

Re: [PATCH 2/2] auxdisplay/ht16k33.c: Convert to use vm_map_pages_zero()

2019-05-23 Thread Miguel Ojeda
On Thu, May 23, 2019 at 10:18 AM Souptick Joarder wrote: > > Miguel, Ack from Robin is missing in linux-next-20190523 when applied. Thanks for the warning! I wanted to review first but didn't get to it yet. Taking a quick look now, by the way, why does vm_map_pages_zero() (and __v

[RFC v2 0/2] clocksource: davinci-timer: new driver

2019-05-23 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Hi Daniel, this is another try at the davinci clocksource driver. Changes in regard to v1 listed below. As before, the driver is split into two parts (one for clockevent and one for clocksource). v1 -> v2: - changed the format of the copyright notice - removed all ment

[RFC v2 2/2] clocksource: timer-davinci: add support for clocksource

2019-05-23 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Extend the davinci-timer driver to also register a clock source. Signed-off-by: Bartosz Golaszewski --- drivers/clocksource/timer-davinci.c | 70 + 1 file changed, 70 insertions(+) diff --git a/drivers/clocksource/timer-davinci.c b/driver

Re: [PATCH] staging: fieldbus: anybuss: Remove unnecessary variables

2019-05-23 Thread Sven Van Asbroeck
On Thu, May 23, 2019 at 5:09 AM Dan Carpenter wrote: > > Sven, you should add yourself to the MAINTAINERS file. Greg, what do you think?

Re: [RESEND PATCH v4 1/6] regulator: lm363x: Make the gpio register enable flexible

2019-05-23 Thread Mark Brown
On Wed, May 22, 2019 at 02:27:28PM -0500, Dan Murphy wrote: > The use of and enablement of the GPIO can be used across devices. > Use the enable_reg in the regulator descriptor for the register to > write. > @@ -263,8 +263,8 @@ static int lm363x_regulator_probe(struct platform_device > *pdev) >

Re: [RESEND PATCH v4 4/6] regulator: lm363x: Add support for LM36274

2019-05-23 Thread Mark Brown
On Wed, May 22, 2019 at 02:27:31PM -0500, Dan Murphy wrote: > Adding regulator support for the LM36274 backlight driver. > This device can leverage this existing code as the functionality > and registers are common enough between the LM36274 and the LM363x > series of devices. Acked-by: Mark Brown

Re: [RFC 0/7] introduce memory hinting API for external process

2019-05-23 Thread Minchan Kim
On Wed, May 22, 2019 at 09:01:33AM -0700, Daniel Colascione wrote: > On Wed, May 22, 2019 at 9:01 AM Christian Brauner > wrote: > > > > On Wed, May 22, 2019 at 08:57:47AM -0700, Daniel Colascione wrote: > > > On Wed, May 22, 2019 at 8:48 AM Christian Brauner > > > wrote: > > > > > > > > On Wed,

Perf: Preserving the event across CPU hotunplug/plug and Creation of an event on offine CPU

2019-05-23 Thread Mukesh Ojha
Hi Peter/All, This is regarding the discussion happen in the past about https://lkml.org/lkml/2018/2/15/1324 Where the exact ask is to allow preserving and creation of events on a offline CPU, so that when the CPU comes online it will start counting. I had a look at your patch too and resol

Re: mainline/master boot bisection: v5.2-rc1-165-g54dee406374c on rk3288-veyron-jaq

2019-05-23 Thread Mark Brown
On Wed, May 22, 2019 at 07:23:09PM -0700, kernelci.org bot wrote: > Details:https://kernelci.org/boot/id/5ce5984c59b514e6a47a364c > Plain log: > https://storage.kernelci.org//mainline/master/v5.2-rc1-165-g54dee406374c/arm/multi_v7_defconfig+CONFIG_EFI=y+CONFIG_ARM_LPAE=y/gcc-8/lab-collab

Re: [PATCH] fanotify: remove redundant capable(CAP_SYS_ADMIN)s

2019-05-23 Thread Amir Goldstein
On Thu, May 23, 2019 at 2:58 PM Christian Brauner wrote: > > On Thu, May 23, 2019 at 02:40:39PM +0300, Amir Goldstein wrote: > > On Thu, May 23, 2019 at 1:42 PM Christian Brauner > > wrote: > > > > > > On Thu, May 23, 2019 at 01:25:08PM +0300, Amir Goldstein wrote: > > > > On Thu, May 23, 2019 a

Re: [PATCH 2/3] drivers: regulator: qcom: add PMS405 SPMI regulator

2019-05-23 Thread Mark Brown
On Thu, May 23, 2019 at 10:35:46AM +0200, Jorge Ramirez wrote: > Would you accept if I wrote a separate driver specific to pms405 or do > you want me to integrate in qcom-spmi_regulator.c? > I am asking because none of the ops will use the common functions (I > wont be reusing much code from this

Re: [PATCH] arm64: defconfig: Enable CONFIG_QORIQ_THERMAL

2019-05-23 Thread Shawn Guo
On Tue, May 21, 2019 at 07:57:05AM +, Anson Huang wrote: > i.MX8MQ needs CONFIG_QORIQ_THERMAL for thermal support. > > Signed-off-by: Anson Huang Please send to my kernel.org email address. Shawn > --- > arch/arm64/configs/defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: Applied "ASoC: simple-card: Fix configuration of DAI format" to the asoc tree

2019-05-23 Thread Mark Brown
On Thu, May 23, 2019 at 09:54:25AM +0100, Jon Hunter wrote: > Please can you drop this patch? > Per some offline review with Morimoto-san, it turns out that the actual > issue resided in my DT (which was incorrect) and not the simple-card > machine driver. Sure, can you send a patch doing a reve

Re: [PATCH v1 1/3] x86/cpu: Create Zhaoxin processors architecture support file

2019-05-23 Thread Thomas Gleixner
On Thu, 23 May 2019, TonyWWang-oc wrote: > --- /dev/null > +++ b/arch/x86/kernel/cpu/zhaoxin.c > @@ -0,0 +1,178 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Zhaoxin Processor Support for Linux > + * > + * Copyright (c) 2019 Shanghai Zhaoxin Semiconductor Co., Ltd. > + * > + * Author: David

Re: mainline/master boot bisection: v5.2-rc1-165-g54dee406374c on rk3288-veyron-jaq

2019-05-23 Thread Enric Balletbo i Serra
Hi Mark, On 23/5/19 15:12, Mark Brown wrote: > On Wed, May 22, 2019 at 07:23:09PM -0700, kernelci.org bot wrote: > >> Details:https://kernelci.org/boot/id/5ce5984c59b514e6a47a364c >> Plain log: >> https://storage.kernelci.org//mainline/master/v5.2-rc1-165-g54dee406374c/arm/multi_v7_defc

Re: [PATCH] clk: imx: imx8mm: correct audio_pll2_clk to audio_pll2_out

2019-05-23 Thread Shawn Guo
On Wed, May 22, 2019 at 01:34:46AM +, Peng Fan wrote: > There is no audio_pll2_clk registered, it should be audio_pll2_out. > > Cc: > Fixes: ba5625c3e27 ("clk: imx: Add clock driver support for imx8mm") > Signed-off-by: Peng Fan Stephen, I leave this to you, since it's a fix. Shawn > ---

[PATCH] staging: most: usb: Remove variable frame_size

2019-05-23 Thread Nishka Dasgupta
Remove variable frame_size as its multiple usages are all independent of each other and so can be returned separately. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta --- drivers/staging/most/usb/usb.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --gi

Re: [PATCH 2/2] auxdisplay/ht16k33.c: Convert to use vm_map_pages_zero()

2019-05-23 Thread Miguel Ojeda
On Mon, May 20, 2019 at 5:26 PM Souptick Joarder wrote: > > While using mmap, the incorrect value of length and vm_pgoff are > ignored and this driver go ahead with mapping fbdev.buffer > to user vma. Typos: values*, goes* (same for the other patch) > Convert vm_insert_pages() to use vm_map_page

Re: [PATCH v2 00/10] Fix Elan I2C touchpads in latest generation from Lenovo

2019-05-23 Thread Benjamin Tissoires
Hi, On Tue, May 21, 2019 at 3:27 PM Benjamin Tissoires wrote: > > Hi, > > This is the v2 from https://lkml.org/lkml/2018/10/12/633 > > So I initially thought it would be easy to integrate the suggested changes > in the v1, but it turns our that the changes to have the touchscreen-width > and heig

Re: [RFC 1/2] clocksource: davinci-timer: add support for clockevents

2019-05-23 Thread Daniel Lezcano
Hi Bartosz, On 23/05/2019 14:58, Bartosz Golaszewski wrote: [ ... ] >>> +++ b/drivers/clocksource/timer-davinci.c >>> @@ -0,0 +1,272 @@ >>> +// SPDX-License-Identifier: GPL-2.0-only >>> +// >>> +// TI DaVinci clocksource driver >>> +// >>> +// Copyright (C) 2019 Texas Instruments >>> +// Aut

Re: [PATCH 10/18] locking/atomic: powerpc: use s64 for atomic64

2019-05-23 Thread Michael Ellerman
Mark Rutland writes: > As a step towards making the atomic64 API use consistent types treewide, > let's have the powerpc atomic64 implementation use s64 as the underlying > type for atomic64_t, rather than long, matching the generated headers. > > As atomic64_read() depends on the generic defintio

[PATCH] z3fold: fix sheduling while atomic

2019-05-23 Thread Vitaly Wool
kmem_cache_alloc() may be called from z3fold_alloc() in atomic context, so we need to pass correct gfp flags to avoid "scheduling while atomic" bug. Signed-off-by: Vitaly Wool --- mm/z3fold.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/mm/z3fold.c b/mm/z3fold.

Re: Getting empty callchain from perf_callchain_kernel()

2019-05-23 Thread Josh Poimboeuf
On Thu, May 23, 2019 at 02:48:11PM +0800, Kairui Song wrote: > On Thu, May 23, 2019 at 7:46 AM Josh Poimboeuf wrote: > > > > On Wed, May 22, 2019 at 12:45:17PM -0500, Josh Poimboeuf wrote: > > > On Wed, May 22, 2019 at 02:49:07PM +, Alexei Starovoitov wrote: > > > > The one that is broken is p

[RFC PATCH] rcu: Make 'rcu_assign_pointer(p, v)' of type 'typeof(p)'

2019-05-23 Thread Andrea Parri
The expression rcu_assign_pointer(p, typeof(p) v) is reported to be of type 'typeof(p)' in the documentation (c.f., e.g., Documentation/RCU/whatisRCU.txt) but this is not the case: for example, the following snippet int **y; int *x; int *r0; ... r0 = rcu_assign_pointer(*y, x); can

Re: [PATCH] fanotify: remove redundant capable(CAP_SYS_ADMIN)s

2019-05-23 Thread Christian Brauner
On Thu, May 23, 2019 at 04:16:24PM +0300, Amir Goldstein wrote: > On Thu, May 23, 2019 at 2:58 PM Christian Brauner > wrote: > > > > On Thu, May 23, 2019 at 02:40:39PM +0300, Amir Goldstein wrote: > > > On Thu, May 23, 2019 at 1:42 PM Christian Brauner > > > wrote: > > > > > > > > On Thu, May 2

Re: [PATCH] RDMA/mlx5: Use DIV_ROUND_UP_ULL macro to allow 32 bit to build

2019-05-23 Thread Steven Rostedt
On Thu, 23 May 2019 08:48:12 -0400 Steven Rostedt wrote: > I think I'll go and just add a roundup_64()! Perhaps something like this? diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c index 34a998012bf6..cdacfe1f732c 100644 --- a/drivers/gpu/drm/nouveau/no

Re: [PATCH v4 00/30] coresight: Support for ACPI bindings

2019-05-23 Thread Suzuki K Poulose
On 22/05/2019 11:34, Suzuki K Poulose wrote: This series adds the support for CoreSight devices on ACPI based platforms. The device connections are encoded as _DSD graph property[0], with CoreSight specific extensions to indicate the direction of data flow as described in [1]. Components attac

Workplace Mobbing: Bullying at the Workplace

2019-05-23 Thread Turritopsis Dohrnii Teo En Ming
Subject/Topic: Workplace Mobbing: Bullying at the Workplace 23rd May 2019 9:30 PM Singapore Time GMT+8 There are (perhaps) millions of Targeted Individuals (TIs) in (perhaps) every country all over the world. According to accounts and experiences shared by many Targeted Individuals, every Target

Re: [PATCH v7 3/3] i2c-ocores: sifive: add polling mode workaround for FU540-C000 SoC.

2019-05-23 Thread Sagar Kadam
Hi Andrew, On Thu, May 23, 2019 at 6:04 PM Andrew Lunn wrote: > > > Thank you Andrew for reviewing the patch set. > > Can you please let me know weather you or Peter will be pick up the patch > > for v5.3 or they should go in via some other tree? > > Hi Sagar > > Wolfram Sang should pick the pa

Re: [PATCH 4.19 144/187] selftests/bpf: skip verifier tests for unsupported program types

2019-05-23 Thread Daniel Borkmann
On 05/23/2019 12:27 PM, Rantala, Tommi T. (Nokia - FI/Espoo) wrote: > On Thu, 2019-04-04 at 10:48 +0200, Greg Kroah-Hartman wrote: >> 4.19-stable review patch. If anyone has any objections, please let >> me know. >> >> -- >> >> [ Upstream commit 8184d44c9a577a2f1842ed6cc844bfd4a998

Re: [PATCH v4 2/3] spi: Allow SPI devices to request the pumping thread be realtime

2019-05-23 Thread Mark Brown
On Wed, May 15, 2019 at 09:48:12AM -0700, Douglas Anderson wrote: > Right now the only way to get the SPI pumping thread bumped up to > realtime priority is for the controller to request it. However it may > be that the controller works fine with the normal priority but > communication to a partic

Re: [PATCH net-next v2, 0/4] ENETC: support hardware timestamping

2019-05-23 Thread Richard Cochran
On Thu, May 23, 2019 at 02:33:24AM +, Y.b. Lu wrote: > This patch-set is to support hardware timestamping for ENETC > and also to add ENETC 1588 timer device tree node for ls1028a. Please, in the future, summarize the changes from the last series in the cover letter. It helps the reviewers to

Re: [PATCH 0/8] docs: Fixes for recent versions of Sphinx

2019-05-23 Thread Jonathan Corbet
On Thu, 23 May 2019 07:38:30 -0300 Mauro Carvalho Chehab wrote: > It seems that this message is there since 1.8: > > https://www.sphinx-doc.org/en/1.8/_modules/sphinx/application.html ...which is strange, since I didn't see it until I built with 2.0. It was annoying to see a new warning,

Applied "spi: dt-bindings: Convert spi-gpio binding to json-schema" to the spi tree

2019-05-23 Thread Mark Brown
The patch spi: dt-bindings: Convert spi-gpio binding to json-schema has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 ho

Applied "regulator: Convert regulator binding to json-schema" to the regulator tree

2019-05-23 Thread Mark Brown
The patch regulator: Convert regulator binding to json-schema has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Applied "regulator: Convert max8660 binding to json-schema" to the regulator tree

2019-05-23 Thread Mark Brown
The patch regulator: Convert max8660 binding to json-schema has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 2

Applied "regulator: Convert gpio-regulator to json-schema" to the regulator tree

2019-05-23 Thread Mark Brown
The patch regulator: Convert gpio-regulator to json-schema has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "regulator: max77650: Move max77651_SBB1_desc's declaration down" to the regulator tree

2019-05-23 Thread Mark Brown
The patch regulator: max77650: Move max77651_SBB1_desc's declaration down has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime

Applied "spi: spi-fsl-spi: call spi_finalize_current_message() at the end" to the spi tree

2019-05-23 Thread Mark Brown
The patch spi: spi-fsl-spi: call spi_finalize_current_message() at the end has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.2 All being well this means that it will be integrated into the linux-next tree (usually sometime in the nex

Applied "spi: Allow SPI devices to request the pumping thread be realtime" to the spi tree

2019-05-23 Thread Mark Brown
The patch spi: Allow SPI devices to request the pumping thread be realtime has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the nex

Applied "spi: dt-bindings: Convert Arm pl022 to json-schema" to the spi tree

2019-05-23 Thread Mark Brown
The patch spi: dt-bindings: Convert Arm pl022 to json-schema has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) an

Applied "spi: tegra114: set master cleanup and also invoke it on probe error" to the spi tree

2019-05-23 Thread Mark Brown
The patch spi: tegra114: set master cleanup and also invoke it on probe error has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Re: [RESEND PATCH v4 1/6] regulator: lm363x: Make the gpio register enable flexible

2019-05-23 Thread Dan Murphy
Mark On 5/23/19 8:03 AM, Mark Brown wrote: > On Wed, May 22, 2019 at 02:27:28PM -0500, Dan Murphy wrote: >> The use of and enablement of the GPIO can be used across devices. >> Use the enable_reg in the regulator descriptor for the register to >> write. > >> @@ -263,8 +263,8 @@ static int lm363x_

Re: [RFC PATCH] rcu: Make 'rcu_assign_pointer(p, v)' of type 'typeof(p)'

2019-05-23 Thread Paul E. McKenney
On Thu, May 23, 2019 at 03:32:20PM +0200, Andrea Parri wrote: > The expression > > rcu_assign_pointer(p, typeof(p) v) > > is reported to be of type 'typeof(p)' in the documentation (c.f., e.g., > Documentation/RCU/whatisRCU.txt) but this is not the case: for example, > the following snippet >

[PATCH] sdio: Fix a memory leaking bug in wl1271_probe()

2019-05-23 Thread Gen Zhang
In wl1271_probe(), 'glue->core' is allocated by platform_device_alloc(), when this allocation fails, ENOMEM is returned. However, 'pdev_data' and 'glue' are allocated by devm_kzalloc() before 'glue->core'. When platform_device_alloc() returns NULL, we should also free 'pdev_data' and 'glue' before

Re: [PATCH v7 3/3] i2c-ocores: sifive: add polling mode workaround for FU540-C000 SoC.

2019-05-23 Thread Wolfram Sang
> Ok, Great. Do we need to write to him about this patchset? Nope. Hint: You can dig in the mail archives studying older patches to see how things work. I do this as well because things may work differently per subsystem. signature.asc Description: PGP signature

Re: ICM20602 buffer issues with the inv_mpu6050 driver

2019-05-23 Thread Andreea Lutac
Hi Jean-Baptiste, Thank you for the prompt response. Your explanation makes sense and I know how to at least work around this issue for now. For my current purposes, it is still useful to have the temperature data as well, so I'll stick to reading all 14 bytes for now and then see if there's a

Re: [v4 PATCH 2/2] mm: vmscan: correct some vmscan counters for THP swapout

2019-05-23 Thread Yang Shi
On 5/23/19 8:52 PM, Huang, Ying wrote: Yang Shi writes: Since commit bd4c82c22c36 ("mm, THP, swap: delay splitting THP after swapped out"), THP can be swapped out in a whole. But, nr_reclaimed and some other vm counters still get inc'ed by one even though a whole THP (512 pages) gets swapp

Re: [RFC PATCH] usb: host: xhci: allow __GFP_FS in dma allocation

2019-05-23 Thread Alan Stern
On Wed, 22 May 2019, Oliver Neukum wrote: > On Mi, 2019-05-22 at 10:56 -0400, Alan Stern wrote: > > On Wed, 22 May 2019, Oliver Neukum wrote: > > > > > I agree with the problem, but I fail to see why this issue would be > > > specific to USB. Shouldn't this be done in the device core layer? > >

Re: [PATCH v4 3/5] dt-bindings: watchdog: add Allwinner H6 r_watchdog

2019-05-23 Thread Clément Péron
On Thu, 23 May 2019 at 14:57, Maxime Ripard wrote: > > On Wed, May 22, 2019 at 06:15:26PM +0200, Clément Péron wrote: > > Hi Maxime, > > > > On Wed, 22 May 2019 at 12:32, Maxime Ripard > > wrote: > > > > > > On Tue, May 21, 2019 at 06:03:28PM +0200, Clément Péron wrote: > > > > Allwinner H6 has

RE: mainline/master boot bisection: v5.2-rc1-165-g54dee406374c on rk3288-veyron-jaq

2019-05-23 Thread Zhang, Rui
> -Original Message- > From: Enric Balletbo i Serra [mailto:enric.balle...@collabora.com] > Sent: Thursday, May 23, 2019 9:19 PM > To: Mark Brown ; Eduardo Valentin > ; Elaine Zhang > Cc: tomeu.viz...@collabora.com; guillaume.tuc...@collabora.com; > mga...@collabora.com; matthew.h...@li

Re: Linux Testing Microconference at LPC

2019-05-23 Thread Paul E. McKenney
On Wed, May 22, 2019 at 05:52:17PM +0200, Dmitry Vyukov wrote: > On Sun, May 12, 2019 at 2:40 AM Andrea Parri > wrote: > > > > On Tue, Apr 23, 2019 at 11:22:50AM +0100, Mark Rutland wrote: > > > On Thu, Apr 11, 2019 at 10:37:51AM -0700, Dhaval Giani wrote: > > > > Hi Folks, > > > > > > > > This is

RE: [PATCH v4] clk: qoriq: add support for lx2160a

2019-05-23 Thread Vabhav Sharma
> -Original Message- > From: Vabhav Sharma > Sent: Tuesday, May 21, 2019 11:14 AM > To: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; > sb...@kernel.org > Cc: mturque...@baylibre.com; Andy Tang ; Yogesh > Narayan Gaur > Subject: RE: [PATCH v4] clk: qoriq: add support for lx2160a

linux-next: Signed-off-by missing for commits in the v4l-dvb tree

2019-05-23 Thread Stephen Rothwell
Hi all, Commits eeabf6320e2f ("media: Revert "[media] marvell-ccic: reset ccic phy when stop streaming for stability"") bbf83ed40252c ("media: ov8856: modify register to fix test pattern") are missing a Signed-off-by from their authors. -- Cheers, Stephen Rothwell pgpcsbIeTjoxq.pgp Desc

drivers/gpio/gpio-adp5588.c:282:24: error: 'struct gpio_chip' has no member named 'irq'

2019-05-23 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 54dee406374ce8adb352c48e175176247cb8db7c commit: 9f22af1167815ce10909529412de33122be44758 gpio: adp5588: Add device tree support date: 3 months ago config: i386-randconfig-n0-05232030 (attached as .config)

Re: [PATCH] pinctrl: stmfx: Fix compile issue when CONFIG_OF_GPIO is not defined

2019-05-23 Thread Amelie DELAUNAY
On 5/22/19 11:48 PM, Linus Walleij wrote: > On Wed, May 22, 2019 at 11:21 AM Amelie DELAUNAY > wrote: > >> ../drivers/pinctrl/pinctrl-stmfx.c:409:20: error: >> ‘pinconf_generic_dt_node_to_map_pin’ undeclared here (not in a function) >> .dt_node_to_map = pinconf_generic_dt_node_to_map_pin, >>

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

2019-05-23 Thread Sakari Ailus
Hi Stephen, Mauro, On Fri, May 24, 2019 at 12:05:00AM +1000, Stephen Rothwell wrote: > Hi all, > > Commits > > eeabf6320e2f ("media: Revert "[media] marvell-ccic: reset ccic phy when > stop streaming for stability"") > bbf83ed40252c ("media: ov8856: modify register to fix test pattern") >

Hello My Beloved One, i need your assistance

2019-05-23 Thread Aisha Gaddafi
Dear Assalamu Alaikum, I came across your contact during my private search Mrs Aisha Al-Qaddafi is my name, the only daughter of late Libyan president, I have funds the sum of $27.5 million USD for investment, I am interested in you for investment project assistance in your country, i shall compens

Re: SGX vs LSM (Re: [PATCH v20 00/28] Intel SGX1 support)

2019-05-23 Thread Sean Christopherson
On Thu, May 23, 2019 at 01:26:28PM +0300, Jarkko Sakkinen wrote: > On Wed, May 22, 2019 at 07:35:17PM -0700, Sean Christopherson wrote: > > But actually, there's no need to disallow mmap() after ECREATE since the > > LSM checks also apply to mmap(), e.g. FILE__EXECUTE would be needed to > > mmap()

Re: [RFC PATCH] rcu: Make 'rcu_assign_pointer(p, v)' of type 'typeof(p)'

2019-05-23 Thread Mark Rutland
On Thu, May 23, 2019 at 06:50:13AM -0700, Paul E. McKenney wrote: > On Thu, May 23, 2019 at 03:32:20PM +0200, Andrea Parri wrote: > > The expression > > > > rcu_assign_pointer(p, typeof(p) v) > > > > is reported to be of type 'typeof(p)' in the documentation (c.f., e.g., > > Documentation/RCU/w

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

2019-05-23 Thread Mauro Carvalho Chehab
Em Thu, 23 May 2019 17:10:05 +0300 Sakari Ailus escreveu: > Hi Stephen, Mauro, > > On Fri, May 24, 2019 at 12:05:00AM +1000, Stephen Rothwell wrote: > > Hi all, > > > > Commits > > > > eeabf6320e2f ("media: Revert "[media] marvell-ccic: reset ccic phy when > > stop streaming for stability""

[PATCH] x86: Remove unused TASK_TI_flags from asm-offsets.c

2019-05-23 Thread Steven Rostedt
From: Steven Rostedt (VMware) Since commit 21d375b6b34ff5 ("x86/entry/64: Remove the SYSCALL64 fast path"), there is no user of TASK_TI_flags in assembly. There's no need to keep it around in asm-offsets.c Signed-off-by: Steven Rostedt (VMware) --- diff --git a/arch/x86/kernel/asm-offsets.c b

[PATCH] spi: Fix a memory leaking bug in wl1271_probe()

2019-05-23 Thread Gen Zhang
In wl1271_probe(), 'glue->core' is allocated by platform_device_alloc(), when this allocation fails, ENOMEM is returned. However, 'pdev_data' and 'glue' are allocated by devm_kzalloc() before 'glue->core'. When platform_device_alloc() returns NULL, we should also free 'pdev_data' and 'glue' before

Re: [PATCH v2] signal: Adjust error codes according to restore_user_sigmask()

2019-05-23 Thread Oleg Nesterov
On 05/22, Deepa Dinamani wrote: > > > > > --- a/include/linux/sched/signal.h > > > > +++ b/include/linux/sched/signal.h > > > > @@ -416,7 +416,6 @@ void task_join_group_stop(struct task_struct *task); > > > > static inline void set_restore_sigmask(void) > > > > { > > > >set_thread_flag(TIF_REST

Re: [PATCH v4 00/30] coresight: Support for ACPI bindings

2019-05-23 Thread Leo Yan
Hi Suzuki, On Wed, May 22, 2019 at 11:34:33AM +0100, Suzuki K Poulose wrote: [...] > Changes since v2: > - Drop the patches exposing device links via sysfs, to be posted as separate >series. Thanks for sharing the git tree linkage in another email. Just want to confirm, since patch set v3

Re: [PATCH net-next v2] net: phy: lxt: Add suspend/resume support to LXT971 and LXT973.

2019-05-23 Thread Florian Fainelli
On 5/23/2019 1:55 AM, Christophe Leroy wrote: > All LXT PHYs implement the standard "power down" bit 11 of > BMCR, so this patch adds support using the generic > genphy_{suspend,resume} functions added by > commit 0f0ca340e57b ("phy: power management support"). > > LXT970 is left aside because

Re: [PATCH] soc: qcom: apr: Don't use reg for domain id

2019-05-23 Thread Srinivas Kandagatla
On 22/05/2019 02:53, Bjorn Andersson wrote: The reg property represents the address and size on the bus that a device lives, but for APR the parent is a rpmsg bus, which does not have numerical addresses. Simply defining #address/#size-cells to 1 and 0, respectively, to silence the compiler is

[PATCH] usbip: usbip_host_common: Use struct_size() in realloc()

2019-05-23 Thread Gustavo A. R. Silva
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 foo { int stuff; struct boo entry[]; }; size = sizeof(struct foo) + cou

Re: [PATCH] fanotify: remove redundant capable(CAP_SYS_ADMIN)s

2019-05-23 Thread Jan Kara
On Thu 23-05-19 15:35:18, Christian Brauner wrote: > So let's say the user tells me: > - When the "/A/B/C/target" file appears on the host filesystem, > please give me access to "target" in the container at a path I tell > you. > What I do right now is listen for the creation of the "target" fi

Re: [PATCH] fanotify: remove redundant capable(CAP_SYS_ADMIN)s

2019-05-23 Thread Christian Brauner
On Thu, May 23, 2019 at 04:40:50PM +0200, Jan Kara wrote: > On Thu 23-05-19 15:35:18, Christian Brauner wrote: > > So let's say the user tells me: > > - When the "/A/B/C/target" file appears on the host filesystem, > > please give me access to "target" in the container at a path I tell > > you.

[PATCH v2] sdio: Fix a memory leaking bug in wl1271_probe()

2019-05-23 Thread Gen Zhang
In wl1271_probe(), 'glue->core' is allocated by platform_device_alloc(), when this allocation fails, ENOMEM is returned. However, 'pdev_data' and 'glue' are allocated by devm_kzalloc() before 'glue->core'. When platform_device_alloc() returns NULL, we should also free 'pdev_data' and 'glue' before

Re: [PATCH] soc: qcom: apr: Don't use reg for domain id

2019-05-23 Thread Bjorn Andersson
On Thu 23 May 07:38 PDT 2019, Srinivas Kandagatla wrote: > > > On 22/05/2019 02:53, Bjorn Andersson wrote: > > The reg property represents the address and size on the bus that a > > device lives, but for APR the parent is a rpmsg bus, which does not have > > numerical addresses. Simply defining

Re: [PATCH] scsi: smartpqi: properly set both the DMA mask and the coherent DMA mask in pqi_pci_init()

2019-05-23 Thread Lendacky, Thomas
On 5/23/19 12:52 AM, Lianbo Jiang wrote: > When SME is enabled, the smartpqi driver won't work on the HP DL385 > G10 machine, which causes the failure of kernel boot because it fails > to allocate pqi error buffer. Please refer to the kernel log: > > [9.431749] usbcore: registered new inte

Re: [PATCH] virtio/virtio_ring: do some comment fixes

2019-05-23 Thread Stefan Hajnoczi
On Sun, May 19, 2019 at 5:17 PM Jiang Biao wrote: > > There are lots of mismatches between comments and codes, this > patch do these comment fixes. > > Signed-off-by: Jiang Biao > --- > drivers/virtio/virtio_ring.c | 27 ++- > 1 file changed, 14 insertions(+), 13 deletion

Re: Getting empty callchain from perf_callchain_kernel()

2019-05-23 Thread Kairui Song
On Thu, May 23, 2019 at 9:32 PM Josh Poimboeuf wrote: > > On Thu, May 23, 2019 at 02:48:11PM +0800, Kairui Song wrote: > > On Thu, May 23, 2019 at 7:46 AM Josh Poimboeuf wrote: > > > > > > On Wed, May 22, 2019 at 12:45:17PM -0500, Josh Poimboeuf wrote: > > > > On Wed, May 22, 2019 at 02:49:07PM +

Re: 5.1.0-next-20190520 -- emacs segfaults on 32-bit machine Re: 5.2-rc0.8: emacs segfaults?! x220, with 32-bit userland

2019-05-23 Thread Sebastian Andrzej Siewior
On 2019-05-23 10:37:24 [+0200], Pavel Machek wrote: > Hi! Hi, > > I did not notice any new crashes. > > New crash now; different machine, way -next kernel... and I even have > a backtrace. could you please send me (offlist) your .config? Also, what kind of userland do you run? Something like Deb

Re: [PATCH] usbip: usbip_host_common: Use struct_size() in realloc()

2019-05-23 Thread Gustavo A. R. Silva
Hi all, Sorry, please, drop this patch. Thanks -- Gustavo On 5/23/19 9:40 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

Re: [PATCH] Revert "Bluetooth: Align minimum encryption key size for LE and BR/EDR connections"

2019-05-23 Thread Vasily Khoruzhick
On Wed, May 22, 2019 at 12:08 AM Marcel Holtmann wrote: > > Hi Vasily, > > >> This reverts commit d5bb334a8e171b262e48f378bd2096c0ea458265. > >> > >> This commit breaks some HID devices, see [1] for details > >> > >> https://bugzilla.kernel.org/show_bug.cgi?id=203643 > >> > >> Signed-off-by: Vasil

Re: [REVIEW][PATCH 03/26] signal/arm64: Use force_sig not force_sig_fault for SIGKILL

2019-05-23 Thread Eric W. Biederman
Dave Martin writes: > On Thu, May 23, 2019 at 01:38:53AM +0100, Eric W. Biederman wrote: >> It really only matters to debuggers but the SIGKILL does not have any >> si_codes that use the fault member of the siginfo union. Correct this >> the simple way and call force_sig instead of force_sig_fau

Re: [RFC PATCH] rcu: Make 'rcu_assign_pointer(p, v)' of type 'typeof(p)'

2019-05-23 Thread Andrea Parri
> > TBH, I'm not sure this is 'the right patch' (hence the RFC...): in > > fact, I'm currently missing the motivations for allowing assignments > > such as the "r0 = ..." assignment above in generic code. (BTW, it's > > not currently possible to use such assignments in litmus tests...) > > Given

Re: [PATCH 2/2] net: macb: Add support for SiFive FU540-C000

2019-05-23 Thread Andrew Lunn
> +static int fu540_macb_tx_set_rate(struct clk_hw *hw, unsigned long rate, > + unsigned long parent_rate) > +{ > + rate = fu540_macb_tx_round_rate(hw, rate, &parent_rate); > + iowrite32(rate != 12500, mgmt->reg); That looks odd. Writing the result of a co

Re: [RFC PATCH] rcu: Make 'rcu_assign_pointer(p, v)' of type 'typeof(p)'

2019-05-23 Thread Andrea Parri
> > > TBH, I'm not sure this is 'the right patch' (hence the RFC...): in > > > fact, I'm currently missing the motivations for allowing assignments > > > such as the "r0 = ..." assignment above in generic code. (BTW, it's > > > not currently possible to use such assignments in litmus tests...) > >

Re: [PATCH] locking/lock_events: Use this_cpu_add() when necessary

2019-05-23 Thread Will Deacon
On Wed, May 22, 2019 at 12:54:13PM -0700, Linus Torvalds wrote: > On Wed, May 22, 2019 at 8:40 AM Waiman Long wrote: > > > > +#if defined(CONFIG_PREEMPT) && \ > > + (defined(CONFIG_DEBUG_PREEMPT) || !defined(CONFIG_X86)) > > +#define lockevent_percpu_inc(x)this_cpu_inc(x) > > +#d

Re: [REVIEW][PATCH 03/26] signal/arm64: Use force_sig not force_sig_fault for SIGKILL

2019-05-23 Thread Eric W. Biederman
Will Deacon writes: > On Wed, May 22, 2019 at 07:38:53PM -0500, Eric W. Biederman wrote: >> It really only matters to debuggers but the SIGKILL does not have any >> si_codes that use the fault member of the siginfo union. Correct this >> the simple way and call force_sig instead of force_sig_fau

Re: [PATCH v2] signal: Adjust error codes according to restore_user_sigmask()

2019-05-23 Thread Oleg Nesterov
On 05/23, David Laight wrote: > > I'm confused... Me too. To clarify, the current code is obviously buggy, pselect/whatever shouldn't return 0 (or anything else) if it was interrupted and we are going to deliver the signal. But it seems that Deepa has other concerns which I do not understand at a

[PATCH] mmc: meson-gx: fix irq ack

2019-05-23 Thread Jerome Brunet
While cleaning the ISR of the meson-gx and acking only raised irqs, the ack of the irq was moved at the very last stage of the function. This was stable during the initial tests but it triggered issues with hs200, under specific loads (like booting android). Acking the irqs after calling the mmc_r

[PATCH v2] checkpatch.pl: Update DT vendor prefix check

2019-05-23 Thread Rob Herring
In commit 8122de54602e ("dt-bindings: Convert vendor prefixes to json-schema"), vendor-prefixes.txt has been converted to a DT schema. Update the checkpatch.pl DT check to extract vendor prefixes from the new vendor-prefixes.yaml file. Fixes: 8122de54602e ("dt-bindings: Convert vendor prefixes to

Re: [PATCH v2] sdio: Fix a memory leaking bug in wl1271_probe()

2019-05-23 Thread Kalle Valo
+ linux-wireless Gen Zhang writes: > In wl1271_probe(), 'glue->core' is allocated by platform_device_alloc(), > when this allocation fails, ENOMEM is returned. However, 'pdev_data' > and 'glue' are allocated by devm_kzalloc() before 'glue->core'. When > platform_device_alloc() returns NULL, we s

[PATCH v2] soc: qcom: apr: Don't use reg for domain id

2019-05-23 Thread Bjorn Andersson
The reg property represents the address and size on the bus that a device lives, but for APR the parent is a rpmsg bus, which does not have numerical addresses. Simply defining #address/#size-cells to 1 and 0, respectively, to silence the compiler is not an appropriate solution. Replace the use of

Re: [PATCH AUTOSEL 5.1 004/375] NFS: make nfs_match_client killable

2019-05-23 Thread Benjamin Coddington
Hi Sasha, if you take this one, you'll need the fix for it: c260121a97a3 ("NFS: Fix a double unlock from nfs_match,get_client") I didn't see this fix go through my inbox for your stable tree, so apologies if maybe I missed it. Looks like you are also applying this one to 4.19 and 4.14, -- I'

[PATCH v3 0/4] Devmap cleanups + arm64 support

2019-05-23 Thread Robin Murphy
Hi all, Here's a refresh of my devmap stuff, now including the end goal as well. Patches #1 to #3 are just a rebase of v2, and I hope are ready to be picked up in the mm tree (#1 is currently doing double-duty in Dan's subsection series as well). Patch #4 could either go via mm if Will and Catalin

[PATCH v3 4/4] arm64: mm: Implement pte_devmap support

2019-05-23 Thread Robin Murphy
In order for things like get_user_pages() to work on ZONE_DEVICE memory, we need a software PTE bit to identify device-backed PFNs. Hook this up along with the relevant helpers to join in with ARCH_HAS_PTE_DEVMAP. Signed-off-by: Robin Murphy --- arch/arm64/Kconfig| 1 + arch

[PATCH v3 2/4] mm: clean up is_device_*_page() definitions

2019-05-23 Thread Robin Murphy
Refactor is_device_{public,private}_page() with is_pci_p2pdma_page() to make them all consistent in depending on their respective config options even when CONFIG_DEV_PAGEMAP_OPS is enabled for other reasons. This allows a little more compile-time optimisation as well as the conceptual and cosmetic

[PATCH v3 3/4] mm: introduce ARCH_HAS_PTE_DEVMAP

2019-05-23 Thread Robin Murphy
ARCH_HAS_ZONE_DEVICE is somewhat meaningless in itself, and combined with the long-out-of-date comment can lead to the impression than an architecture may just enable it (since __add_pages() now "comprehends device memory" for itself) and expect things to work. In practice, however, ZONE_DEVICE us

[PATCH v3 1/4] mm/memremap: Rename and consolidate SECTION_SIZE

2019-05-23 Thread Robin Murphy
Trying to activate ZONE_DEVICE for arm64 reveals that memremap's internal helpers for sparsemem sections conflict with and arm64's definitions for hugepages, which inherit the name of "sections" from earlier versions of the ARM architecture. Disambiguate memremap (and now HMM too) by propagating s

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