[PATCH 1/8] usb: ohci-da8xx: add a new line after local variables

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This improves the coding style. Signed-off-by: Bartosz Golaszewski --- drivers/usb/host/ohci-da8xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/ohci-da8xx.c b/drivers/usb/host/ohci-da8xx.c index a55cbba40a5a..c492c7e6f746 100644 ---

[PATCH 7/8] ARM: davinci: da830-evm: remove legacy usb helpers

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The logic implemented by these routines now lives in the da8xx-ohci driver. Remove dead code. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-da830-evm.c | 67 - 1 file changed, 67 deletions(-) diff --git

[PATCH 4/8] ARM: davinci: da830-evm: use gpio lookup entries for usb gpios

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add lookup entries for vbus and overcurrent gpios for da830-evm. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-da830-evm.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/mach-davinci/board-da830-evm.c

[PATCH 3/8] ARM: davinci: omapl138-hawk: use gpio lookup entries for usb gpios

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add lookup entries for the vbus and overcurrent gpios for omapl138-hawk. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-omapl138-hawk.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/mach-davinci/board-omapl138-hawk.c

[PATCH 5/8] usb: ohci-da8xx: add vbus and overcurrent gpios

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There are two users upstream which register external callbacks for switching the port power on/off and overcurrent protection. Both users only use two GPIOs for that. Instead of having that functionality in the board files, move the logic into the OHCI driver -

[PATCH 0/8] ARM: davinci: move the da8xx-ohci GPIO logic into the driver

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski In order to drop the hard-coded GPIO base values from the davinci GPIO driver's platform data, we first need to get rid of all calls to the legacy GPIO functions. This series moves the GPIO logic related to da8xx-ohci out of the board files and into the driver code.

[PATCH 2/8] usb: ohci-da8xx: add a helper pointer to >dev

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This improves readability by removing all the >dev dereferencing. Signed-off-by: Bartosz Golaszewski --- drivers/usb/host/ohci-da8xx.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/usb/host/ohci-da8xx.c

[PATCH 8/8] usb: ohci-da8xx: remove unused callbacks from platform data

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There are no more users of these callbacks. Signed-off-by: Bartosz Golaszewski --- include/linux/platform_data/usb-davinci.h | 14 -- 1 file changed, 14 deletions(-) diff --git a/include/linux/platform_data/usb-davinci.h

[PATCH 6/8] ARM: davinci: omapl138-hawk: remove legacy usb helpers

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The logic implemented by these routines now lives in the da8xx-ohci driver. Remove dead code. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-omapl138-hawk.c | 75 + 1 file changed, 1 insertion(+), 74 deletions(-) diff --git

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

2019-02-05 Thread Jonathan Cameron
On Tue, 5 Feb 2019 14:22:17 +1100 Stephen Rothwell wrote: > Hi Greg, > > After merging the staging tree, today's linux-next build (x86_64 > allmodconfig) produced these warnings: > > drivers/iio/chemical/sps30.c: In function 'sps30_read_raw': > drivers/iio/chemical/sps30.c:289:4: warning: this

Re: [PATCH 2/2] Input: add Apple SPI keyboard and trackpad driver.

2019-02-05 Thread Dan Carpenter
Hi Ronald, Thank you for the patch! Perhaps something to improve: url: https://github.com/0day-ci/linux/commits/Ronald-Tschal-r/drm-bridge-sil_sii8620-depend-on-INPUT-instead-of-selecting-it/20190205-003319 base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next smatch

Re: [PATCH 4.14 00/46] 4.14.98-stable review

2019-02-05 Thread Jon Hunter
On 04/02/2019 10:36, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.98 release. > There are 46 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 2/2] Input: st1232 - switch to gpiod API

2019-02-05 Thread Martin Kepplinger
 Martin Kepplinger | Entwicklung Software  GINZINGER ELECTRONIC SYSTEMS GMBH Tel.: +43 7723 5422 157 Mail: martin.kepplin...@ginzinger.com Web: www.ginzinger.com On 29.01.19 11:23, Martin Kepplinger wrote: From: Martin Kepplinger Use devm_gpiod_get_optional() and

Re: [PATCH 4.4 00/65] 4.4.173-stable review

2019-02-05 Thread Jon Hunter
On 04/02/2019 10:35, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.173 release. > There are 65 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH v3] selftests: add TPM 2.0 tests

2019-02-05 Thread Jarkko Sakkinen
On Tue, Feb 05, 2019 at 12:13:22PM +0200, Jarkko Sakkinen wrote: > On Tue, Feb 05, 2019 at 01:29:10AM +0200, Jarkko Sakkinen wrote: > > On Mon, Feb 04, 2019 at 03:16:40PM +0200, Jarkko Sakkinen wrote: > > > Added the tests that I've been using for testing TPM 2.0 functionality > > > for a long

Re: [PATCH v3] selftests: add TPM 2.0 tests

2019-02-05 Thread Jarkko Sakkinen
On Tue, Feb 05, 2019 at 01:29:10AM +0200, Jarkko Sakkinen wrote: > On Mon, Feb 04, 2019 at 03:16:40PM +0200, Jarkko Sakkinen wrote: > > Added the tests that I've been using for testing TPM 2.0 functionality > > for a long time but have been out-of-tree so far, residing in > > > >

Re: [PATCH 1/5] perf/arm-cci: Fix CPU hotplug race avoidance

2019-02-05 Thread Corentin Labbe
On Mon, Feb 04, 2019 at 05:09:04PM +, Robin Murphy wrote: > The arm-cci probe logic faces a cyclic dependency wherein it has to pick > a valid CPU to associate with before registering the PMU device, has to > have the PMU state initialised before handling hotplug events in case it > must be

Re: [PATCH 01/22] x86/fpu: Remove fpu->initialized usage in __fpu__restore_sig()

2019-02-05 Thread Sebastian Andrzej Siewior
On 2019-01-14 17:24:00 [+0100], Borislav Petkov wrote: > > @@ -315,40 +313,33 @@ static int __fpu__restore_sig(void __user *buf, void > > __user *buf_fx, int size) … > > - sanitize_restored_xstate(tsk, , xfeatures, fx_only); > > +

Re: [PATCH v7 12/15] KVM: s390: kvm_s390_gisa_clear() now clears the IPM only

2019-02-05 Thread Pierre Morel
On 31/01/2019 09:52, Michael Mueller wrote: Function kvm_s390_gisa_clear() now clears the Interruption Pending Mask of the GISA asap. If the GISA is in the alert list at this time it stays in the list but is removed by process_gib_alert_list(). Signed-off-by: Michael Mueller I would have

Re: [PATCH v2] powerpc: drop page_is_ram() and walk_system_ram_range()

2019-02-05 Thread Michael Ellerman
Christophe Leroy writes: > Le 04/02/2019 à 11:24, Michael Ellerman a écrit : >> Christophe Leroy writes: >> >>> Since commit c40dd2f76644 ("powerpc: Add System RAM to /proc/iomem") >>> it is possible to use the generic walk_system_ram_range() and >>> the generic page_is_ram(). >>> >>> To enable

Re: [PATCH v9 6/6] tpm: pass an array of tpm_extend_digest structures to tpm_pcr_extend()

2019-02-05 Thread Roberto Sassu
On 2/1/2019 8:15 PM, Mimi Zohar wrote: Hi Roberto, Sorry for the delayed review.  A few comments inline below, minor suggestions. diff --git a/security/integrity/ima/ima.h b/security/integrity/ima/ima.h index cc12f3449a72..e6b2dcb0846a 100644 --- a/security/integrity/ima/ima.h +++

Re: [PATCH] mtd: spi-nor: cadence-quadspi: write upto 8-bytes data in STIG mode

2019-02-05 Thread Vignesh R
On 05/02/19 12:30 PM, Mandal, Purna Chandra wrote: > > > On 04-Feb-19 7:07 PM, Vignesh R wrote: >> Hi, >> >> On 03/02/19 5:50 PM, tudor.amba...@microchip.com wrote: >>> + Vignesh >>> >> >> Thanks for looping in. >> >>> On 01/28/2019 07:02 AM, Purna Chandra Mandal wrote: cadence-quadspi

Re: [PATCH] xfs: allow disabling xfs tracepoints via Kconfig

2019-02-05 Thread Rasmus Villemoes
On 05/02/2019 00.13, Dave Chinner wrote: > On Mon, Feb 04, 2019 at 11:12:57PM +0100, Rasmus Villemoes wrote: >> On 04/02/2019 22.53, Dave Chinner wrote: >>> On Mon, Feb 04, 2019 at 10:20:35PM +0100, Rasmus Villemoes wrote: linux/tracepoints.h allows individual subsystems to disable their

Re: [PATCH v2 06/20] x86/alternative: use temporary mm for text poking

2019-02-05 Thread Borislav Petkov
On Mon, Jan 28, 2019 at 04:34:08PM -0800, Rick Edgecombe wrote: > From: Nadav Amit > > text_poke() can potentially compromise the security as it sets temporary s/the // > PTEs in the fixmap. These PTEs might be used to rewrite the kernel code > from other cores accidentally or maliciously, if

Re: [RFC PATCH] clk: sunxi-ng: sun4i: Use CLK_SET_RATE_PARENT for mmc2 clock

2019-02-05 Thread Maxime Ripard
On Sat, Feb 02, 2019 at 05:52:09PM +0200, Priit Laes wrote: > Recent patch of improving MP clock rate calculations by taking > into account whether adjusting parent rate is allowed, have > unfortunately broken eMMC support on A20 Olinuxino-Lime2-eMMC > boards which fail with following error: > >

Re: [REGRESSION 4.20-rc1] 45975c7d21a1 ("rcu: Define RCU-sched API in terms of RCU for Tree RCU PREEMPT builds")

2019-02-05 Thread Aaro Koskinen
Hi, On Tue, Feb 05, 2019 at 01:07:00PM +0800, Tom Li wrote: > On Tue, Nov 13, 2018 at 03:54:53PM +0200, Ville Syrjälä wrote: > > Hi Paul, > > After 4.20-rc1 some of my 32bit UP machines no longer reboot/shutdown. > > I bisected this down to commit 45975c7d21a1 ("rcu: Define RCU-sched > > API in

Re: [PATCH] MAINTAINERS: Add James Morse to the list of APEI reviewers

2019-02-05 Thread James Morse
Hi guys, On 05/02/2019 08:38, Borislav Petkov wrote: > From: Borislav Petkov > > Add James to the list of reviewers of the firmware-assisted RAS glue. Fine by me, Acked-by: James Morse Thanks, James

Re: [PATCH] build_bug.h: add wrapper for _Static_assert

2019-02-05 Thread Rasmus Villemoes
On 05/02/2019 00.12, Andrew Morton wrote: >> >> It would be (very) nice to actually use this macro in a few places so >> it gets its build testing while in -next. > > ie, just about every BUILD_BUG_ON in mm/ could use this. Let's switch > a few? > Perhaps, but some make sense where they are,

Re: compile error at sun6i_video

2019-02-05 Thread Sakari Ailus
Hi Morimoto-san, On Tue, Feb 05, 2019 at 03:38:29PM +0900, Kuninori Morimoto wrote: > > Hi MultiMedia ML > > I got below compile error at SH. > > ... > CC drivers/tty/tty_io.o > /opt/RB02197/home/morimoto/save/WORK/linux/drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c: > In

Re: [PATCH v6 4/5] sched/core: Prevent race condition between cpuset and __sched_setscheduler()

2019-02-05 Thread Juri Lelli
On 04/02/19 13:10, Peter Zijlstra wrote: > On Thu, Jan 17, 2019 at 09:47:38AM +0100, Juri Lelli wrote: > > No synchronisation mechanism exists between the cpuset subsystem and calls > > to function __sched_setscheduler(). As such, it is possible that new root > > domains are created on the cpuset

Re: [PATCH 2/3] mmc: sunxi: Filter out unsupported modes declared in the device tree

2019-02-05 Thread Maxime Ripard
On Tue, Feb 05, 2019 at 04:42:53PM +0800, Chen-Yu Tsai wrote: > On Mon, Feb 4, 2019 at 9:41 PM Maxime Ripard > wrote: > > > > On Mon, Feb 04, 2019 at 06:16:24PM +0800, Chen-Yu Tsai wrote: > > > On Mon, Feb 4, 2019 at 5:34 PM Maxime Ripard > > > wrote: > > > > > > > > On Sun, Feb 03, 2019 at

[PATCH] ARM: davinci: da850-evm: use GPIO hogs instead of the legacy API

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski In order to drop the hard-coded GPIO base values from the davinci GPIO driver's platform data, we first need to get rid of all calls to the legacy GPIO functions. Convert the mdio configuration to hogging the relevant GPIO line in the da850-evm board file.

[PATCH v16 3/3] pps: pps-gpio pps-echo implementation

2019-02-05 Thread Tom Burkart
This patch implements the pps echo functionality for pps-gpio, that sysfs claims is available already. Configuration is done via device tree bindings. This patch was originally written by Lukas Senger as part of a masters thesis project and modified for inclusion into the linux kernel by Tom

[PATCH v16 2/3] dt-bindings: pps: pps-gpio PPS ECHO implementation

2019-02-05 Thread Tom Burkart
This patch implements the device tree binding changes required for the pps echo functionality for pps-gpio, that sysfs claims is available already. This patch is provided separated from the rest of the patch per Documentation/devicetree/bindings/submitting-patches.txt. This patch was originally

[PATCH v16 0/3] PPS: pps-gpio PPS ECHO implementation

2019-02-05 Thread Tom Burkart
Hi Andrew, would you please add this patch set to the kernel tree at the next opportunity? It has been Acked by Rodolfo Giometti, the PPS maintainer. Tom Burkart Tom Burkart (3): pps: descriptor-based gpio dt-bindings: pps: pps-gpio PPS ECHO implementation pps: pps-gpio pps-echo

[PATCH v16 1/3] pps: descriptor-based gpio

2019-02-05 Thread Tom Burkart
This patch changes the GPIO access for the pps-gpio driver from the integer based API to the descriptor based API. Acked-by: Rodolfo Giometti Reviewed-by: Philipp Zabel Signed-off-by: Tom Burkart --- drivers/pps/clients/pps-gpio.c | 67 +++---

Re: [PATCH v2 01/14] dt-bindings: remoteproc: Add TI PRUSS bindings

2019-02-05 Thread Roger Quadros
Hi Tony & Suman, On 04/02/19 18:33, Tony Lindgren wrote: > Hi, > > * Roger Quadros [190204 14:23]: >> From: Suman Anna > ... >> +Example: >> + >> +1. /* AM33xx PRU-ICSS */ >> + >> +pruss: pruss@0 { >> +compatible = "ti,am3356-pruss"; >> +reg = <0x0 0x2000>,

Re: [RFC PATCH 1/1] PM / Domains: Add multi PM domains support for attach_dev

2019-02-05 Thread Ulf Hansson
[...] > > > Then attach_dev() can parse the correct "resource id" (e.g. > > > IMX_SC_R_SDHC_1) from device tree And store it in per-device struct > > generic_pm_domain_data for later start()/stop() using. > > > > I see, thanks for clarifying. > > > > Seem like, we have two options to make this

Re: [PATCH] build_bug.h: add wrapper for _Static_assert

2019-02-05 Thread Rasmus Villemoes
On 05/02/2019 09.05, Masahiro Yamada wrote: > On Mon, Feb 4, 2019 at 4:24 AM Rasmus Villemoes > wrote: >> >> BUILD_BUG_ON() is a little annoying, since it cannot be used outside >> function scope. So one cannot put assertions about the sizeof() a >> struct next to the struct definition, but has

Re: [PATCH v2 04/15] crypto: x86/morus - fix handling chunked inputs and MAY_SLEEP

2019-02-05 Thread Ondrej Mosnacek
On Fri, Feb 1, 2019 at 8:52 AM Eric Biggers wrote: > From: Eric Biggers > > The x86 MORUS implementations all fail the improved AEAD tests because > they produce the wrong result with some data layouts. The issue is that > they assume that if the skcipher_walk API gives 'nbytes' not aligned to

Re: [PATCH v2 03/15] crypto: x86/aegis - fix handling chunked inputs and MAY_SLEEP

2019-02-05 Thread Ondrej Mosnacek
On Fri, Feb 1, 2019 at 8:52 AM Eric Biggers wrote: > From: Eric Biggers > > The x86 AEGIS implementations all fail the improved AEAD tests because > they produce the wrong result with some data layouts. The issue is that > they assume that if the skcipher_walk API gives 'nbytes' not aligned to

Re: [PATCH v2 01/15] crypto: aegis - fix handling chunked inputs

2019-02-05 Thread Ondrej Mosnacek
On Fri, Feb 1, 2019 at 8:52 AM Eric Biggers wrote: > From: Eric Biggers > > The generic AEGIS implementations all fail the improved AEAD tests > because they produce the wrong result with some data layouts. The issue > is that they assume that if the skcipher_walk API gives 'nbytes' not >

Re: [PATCH v2 02/15] crypto: morus - fix handling chunked inputs

2019-02-05 Thread Ondrej Mosnacek
On Fri, Feb 1, 2019 at 8:52 AM Eric Biggers wrote: > From: Eric Biggers > > The generic MORUS implementations all fail the improved AEAD tests > because they produce the wrong result with some data layouts. The issue > is that they assume that if the skcipher_walk API gives 'nbytes' not >

Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-02-05 Thread Tomasz Figa
On Tue, Feb 5, 2019 at 6:00 PM Hans Verkuil wrote: > > On 2/5/19 7:26 AM, Tomasz Figa wrote: > > On Fri, Feb 1, 2019 at 12:18 AM Nicolas Dufresne > > wrote: > >> > >> Le jeudi 31 janvier 2019 à 22:34 +0900, Tomasz Figa a écrit : > >>> On Thu, Jan 31, 2019 at 9:42 PM Philipp Zabel > >>> wrote:

Re: [PATCH -next] efi/arm64: return zero from ptdump_init()

2019-02-05 Thread Catalin Marinas
On Mon, Feb 04, 2019 at 04:01:01PM -0500, Qian Cai wrote: > The commit e2a2e56e4082 ("arm64: dump: no need to check return value of > debugfs_create functions") converted ptdump_debugfs_register() from > void, but forgot to fix the efi version of ptdump_init(). > >

Re: [PATCH v3 2/3] Input: add new vibrator driver for various MSM SOCs

2019-02-05 Thread Brian Masney
Hi Dmitry, On Wed, Oct 24, 2018 at 09:29:36PM -0400, Brian Masney wrote: > This patch adds a new vibrator driver that supports various Qualcomm > MSM SOCs. Driver was tested on a LG Nexus 5 (hammerhead) phone. > > Signed-off-by: Brian Masney Any chance that I can get a review of this patch

Re: [PATCH 0/5] Fix Arm system PMU hotplug issues

2019-02-05 Thread Mark Rutland
On Mon, Feb 04, 2019 at 05:09:03PM +, Robin Murphy wrote: > Hi all, > > Following the report of a preemption-related bug in arm-cci, it turns > out there's a fair bit of cleaning up to do in this area. I've started > here with the Arm drivers that I'm fairly familiar with - I suspect the >

Re: [PATCH 3/3] locking/qspinlock: Introduce starvation avoidance into CNA

2019-02-05 Thread Peter Zijlstra
On Mon, Feb 04, 2019 at 10:35:09PM -0500, Alex Kogan wrote: > > > On Jan 31, 2019, at 5:00 AM, Peter Zijlstra wrote: > > > > On Wed, Jan 30, 2019 at 10:01:35PM -0500, Alex Kogan wrote: > >> Choose the next lock holder among spinning threads running on the same > >> socket with high probability

Re: [PATCH v2 05/20] x86/alternative: initializing temporary mm for patching

2019-02-05 Thread Borislav Petkov
Just nitpicks: Subject: [PATCH v2 05/20] x86/alternative: initializing temporary mm for patching s/initailizing/Initialize/ On Mon, Jan 28, 2019 at 04:34:07PM -0800, Rick Edgecombe wrote: > From: Nadav Amit > > To prevent improper use of the PTEs that are used for text patching, we > want to

Kernel panics with recent 4.9 Kernels

2019-02-05 Thread Michael Brunnbauer
hi all, with Kernel 4.9.150, I sometimes have "kernel panic - not syncing: Fatal exception in interrupt" on two different servers. Dunno how to reproduce but may be connected to high network traffic. Find screenshots, config.txt and boot.msg here: https://www.netestate.de/kernel_panic/ cu,

Re: [PATCH v6 0/5] sched/deadline: fix cpusets bandwidth accounting

2019-02-05 Thread Juri Lelli
On 04/02/19 13:45, Waiman Long wrote: > On 02/04/2019 07:18 AM, Peter Zijlstra wrote: > > On Mon, Feb 04, 2019 at 10:02:11AM +0100, Juri Lelli wrote: > >> On 18/01/19 17:46, Juri Lelli wrote: > >>> On 18/01/19 08:17, Tejun Heo wrote: > On Thu, Jan 17, 2019 at 09:47:34AM +0100, Juri Lelli

Re: [PATCH v6 3/5] cgroup/cpuset: make callback_lock raw

2019-02-05 Thread Juri Lelli
On 04/02/19 13:07, Peter Zijlstra wrote: > On Mon, Feb 04, 2019 at 01:02:36PM +0100, Peter Zijlstra wrote: > > On Thu, Jan 17, 2019 at 09:47:37AM +0100, Juri Lelli wrote: > > > @@ -3233,11 +3233,11 @@ void cpuset_cpus_allowed(struct task_struct *tsk, > > > struct cpumask *pmask) > > > { > > >

Re: [PATCH v6 3/5] cgroup/cpuset: make callback_lock raw

2019-02-05 Thread Juri Lelli
On 04/02/19 12:55, Peter Zijlstra wrote: > On Thu, Jan 17, 2019 at 09:47:37AM +0100, Juri Lelli wrote: > > @@ -2366,7 +2366,7 @@ static int cpuset_common_seq_show(struct seq_file > > *sf, void *v) > > cpuset_filetype_t type = seq_cft(sf)->private; > > int ret = 0; > > > > -

Re: [PATCH V2] lightnvm: pblk: fix race condition on GC

2019-02-05 Thread Matias Bjørling
On 2/1/19 3:38 AM, Heiner Litz wrote: This patch fixes a race condition where a write is mapped to the last sectors of a line. The write is synced to the device but the L2P is not updated yet. When the line is garbage collected before the L2P update is performed, the sectors are ignored by the

[PATCH v3] tpm: Fix some name collisions with drivers/char/tpm.h

2019-02-05 Thread Jarkko Sakkinen
* Rename TPM_BUFSIZE defined in drivers/char/tpm/st33zp24/st33zp24.h to ST33ZP24_BUFSIZE. * Rename TPM_BUFSIZE defined in drivers/char/tpm/tpm_i2c_infineon.c to TPM_I2C_INFINEON_BUFSIZE. * Rename TPM_RETRY in tpm_i2c_nuvoton to TPM_I2C_RETRIES. * Remove TPM_HEADER_SIZE from tpm_i2c_nuvoton.

[PATCH v4 05/10] mfd: max77650: new core mfd driver

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add the core mfd driver for max77650 PMIC. We define five sub-devices for which the drivers will be added in subsequent patches. Signed-off-by: Bartosz Golaszewski --- drivers/mfd/Kconfig | 11 ++ drivers/mfd/Makefile | 1 + drivers/mfd/max77650.c

[PATCH v4 03/10] dt-bindings: leds: add DT bindings for max77650

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add the DT binding document for the LEDs module of max77650. Signed-off-by: Bartosz Golaszewski --- .../bindings/leds/leds-max77650.txt | 57 +++ 1 file changed, 57 insertions(+) create mode 100644

[PATCH v4 02/10] dt-bindings: power: supply: add DT bindings for max77650

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add the DT binding document for the battery charger module of max77650. Signed-off-by: Bartosz Golaszewski --- .../power/supply/max77650-charger.txt | 27 +++ 1 file changed, 27 insertions(+) create mode 100644

[PATCH v4 00/10] mfd: add support for max77650 PMIC

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This series adds support for max77650 ultra low-power PMIC. It provides the core mfd driver and a set of five sub-drivers for the regulator, power supply, gpio, leds and input subsystems. Patches 1-4 add the DT binding documents. Patches 5-9 add all drivers. Last patch

[PATCH v4 04/10] dt-bindings: input: add DT bindings for max77650

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add the DT binding document for the onkey module of max77650. Signed-off-by: Bartosz Golaszewski --- .../bindings/input/max77650-onkey.txt | 26 +++ 1 file changed, 26 insertions(+) create mode 100644

[PATCH v4 08/10] leds: max77650: add LEDs support

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This adds basic support for LEDs for the max77650 PMIC. The device has three current sinks for driving LEDs. Signed-off-by: Bartosz Golaszewski Acked-by: Jacek Anaszewski --- drivers/leds/Kconfig | 6 ++ drivers/leds/Makefile| 1 +

[PATCH v4 07/10] gpio: max77650: add GPIO support

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add GPIO support for max77650 mfd device. This PMIC exposes a single GPIO line. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/Kconfig | 7 ++ drivers/gpio/Makefile| 1 + drivers/gpio/gpio-max77650.c | 190 +++

[PATCH v4 09/10] input: max77650: add onkey support

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add support for the push- and slide-button events for max77650. Signed-off-by: Bartosz Golaszewski Acked-by: Dmitry Torokhov --- drivers/input/misc/Kconfig | 9 ++ drivers/input/misc/Makefile | 1 + drivers/input/misc/max77650-onkey.c | 127

[PATCH v4 06/10] power: supply: max77650: add support for battery charger

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add basic support for the battery charger for max77650 PMIC. Signed-off-by: Bartosz Golaszewski --- drivers/power/supply/Kconfig| 7 + drivers/power/supply/Makefile | 1 + drivers/power/supply/max77650-charger.c | 355

[PATCH v4 10/10] MAINTAINERS: add an entry for max77650 mfd driver

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski I plan on extending this set of drivers so add myself as maintainer. Signed-off-by: Bartosz Golaszewski --- MAINTAINERS | 14 ++ 1 file changed, 14 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8c68de3cfd80..70106d30272b 100644 ---

[PATCH v4 01/10] dt-bindings: mfd: add DT bindings for max77650

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add a DT binding document for max77650 ultra-low power PMIC. This describes the core mfd device and the GPIO module. Signed-off-by: Bartosz Golaszewski --- .../devicetree/bindings/mfd/max77650.txt | 47 +++ 1 file changed, 47 insertions(+)

Re: [PATCH V3] lightnvm: pblk: prevent stall due to wb threshold

2019-02-05 Thread Matias Bjørling
On 2/5/19 7:50 AM, Javier González wrote: In order to respect mw_cuinits, pblk's write buffer maintains a backpointer to protect data not yet persisted; when writing to the write buffer, this backpointer defines a threshold that pblk's rate-limiter enforces. On small PU configurations, the

Re: [PATCH v2 0/2] Add STM32MP157 discovery boards support

2019-02-05 Thread Alexandre Torgue
Typo in title, it's a v1 not a v2. On 2/5/19 10:07 AM, Alexandre Torgue wrote: This patch series add support of two new discovery boards based on STM32MP157 MPU: stm32mp157a-dk1 and stm32mp157c-dk2. stm32mp157a-dk1 board embeds a STM32MP157a SOC with AC package (TFBGA361, 148 ios) and 512MB of

[PATCH v6 10/10] watchdog: bd70528: Initial support for ROHM BD70528 watchdog block

2019-02-05 Thread Matti Vaittinen
Initial support for watchdog block included in ROHM BD70528 power management IC. Configurations for low power states are still to be checked. Signed-off-by: Matti Vaittinen Acked-by: Guenter Roeck --- Please note that I translated following comment: "Otherwise I am ok with the patch." from

[PATCH 2/2] ARM: dts: stm32: add initial support of stm32mp157c-dk2 board

2019-02-05 Thread Alexandre Torgue
Add support of stm32mp157c discovery2 board (part number: STM32MP157C-DK2). This board is a "super-set" of stm32mp157a-dk1. It embeds a STM32MP157c SOC with AC package (TFBGA361, 148 ios) and 512MB of DDR3. Same connections than stm32mp157a-dk1 board are available. Display panel (otm8009a) and

[PATCH v6 09/10] power: supply: Initial support for ROHM BD70528 PMIC charger block

2019-02-05 Thread Matti Vaittinen
ROHM BD70528 PMIC includes battery charger block. Support charger staus queries and doing few basic settings like input current limit and charging current. Signed-off-by: Matti Vaittinen --- drivers/power/supply/Kconfig | 9 + drivers/power/supply/Makefile | 1 +

[PATCH v2 0/2] Add STM32MP157 discovery boards support

2019-02-05 Thread Alexandre Torgue
This patch series add support of two new discovery boards based on STM32MP157 MPU: stm32mp157a-dk1 and stm32mp157c-dk2. stm32mp157a-dk1 board embeds a STM32MP157a SOC with AC package (TFBGA361, 148 ios) and 512MB of DDR3. Several connections are available on this boards: 4*USB2.0, 1*USB2.0 typeC,

[PATCH 1/2] ARM: dts: stm32: add initial support of stm32mp157a-dk1 board

2019-02-05 Thread Alexandre Torgue
Add support of stm32mp157a discovery1 board (part number: STM32MP157A-DK1). This board embeds a STM32MP157a SOC with AC package (TFBGA361, 148 ios) and 512MB of DDR3. Several connections are available on this boards: 4*USB2.0, 1*USB2.0 typeC, SDcard, RJ45, HDMI, Arduino connector, ... This patch

[PATCH v6 08/10] rtc: bd70528: Initial support for ROHM bd70528 RTC

2019-02-05 Thread Matti Vaittinen
Support RTC block in ROHM bd70528 power management IC. Support getting and setting the time and date as well as arming an alarm which can also be used to wake the PMIC from standby state. HW supports wake interrupt only for the next 24 hours (sec, minute and hour information only) so we limit

[PATCH v6 07/10] gpio: Initial support for ROHM bd70528 GPIO block

2019-02-05 Thread Matti Vaittinen
ROHM BD70528 PMIC has 4 GPIO pins. Allow them to be controlled by GPIO framework. IRQs are handled by regmap-irq and GPIO driver is not aware of the irq usage. Signed-off-by: Matti Vaittinen Reviewed-by: Linus Walleij --- drivers/gpio/Kconfig| 11 +++ drivers/gpio/Makefile |

[PATCH v6 06/10] devicetree: bindings: Document first ROHM BD70528 bindings

2019-02-05 Thread Matti Vaittinen
Document bindings for regulators (3 bucks, 3 LDOs and 2 LED drivers) and 4 GPIO pins which can be configured for I/O or as interrupt sources withe configurable trigger levels. Signed-off-by: Matti Vaittinen Reviewed-by: Rob Herring Acked-by: Linus Walleij ---

[PATCH v6 03/10] clk: bd718x7: use chip specific and generic data structs

2019-02-05 Thread Matti Vaittinen
Header rohm-bd718x7.h was split to generic and component specific parts. This changed the struct bd718x7. Adapt the clk driver to these changes. Signed-off-by: Matti Vaittinen --- drivers/clk/clk-bd718x7.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v6 05/10] clk: bd718x7: Support ROHM BD70528 clk block

2019-02-05 Thread Matti Vaittinen
ROHM BD70528 is an ultra low power PMIC with similar 32K clk as bd718x7. Only difference (from clk perspective) is register address. Add support for controlling BD70528 clk using bd718x7 driver. Signed-off-by: Matti Vaittinen --- drivers/clk/Kconfig | 6 +++--- drivers/clk/clk-bd718x7.c

[PATCH v6 04/10] mfd: bd70528: Support ROHM bd70528 PMIC - core

2019-02-05 Thread Matti Vaittinen
ROHM BD70528MWV is an ultra-low quiescent current general purpose single-chip power management IC for battery-powered portable devices. Add MFD core which enables chip access for following subdevices: - regulators/LED drivers - battery-charger - gpios - 32.768kHz

[PATCH v6 01/10] mfd: bd718x7.h split to ROHM common and bd718x7 specific parts

2019-02-05 Thread Matti Vaittinen
Split the bd718x7.h to ROHM common and bd718x7 specific parts so that we do not need to add same things in every new ROHM PMIC header. Please note that this change requires changes also in bd718x7 sub-device drivers for regulators and clk. Signed-off-by: Matti Vaittinen ---

[PATCH v6 02/10] regulator: bd718x7 use chip specific and generic data structs

2019-02-05 Thread Matti Vaittinen
Header rohm-bd718x7.h was split to generic and component specific parts. This changed the struct bd718x7. Adapt the regulator driver to these changes. Signed-off-by: Matti Vaittinen Acked-by: Mark Brown --- drivers/regulator/bd718x7-regulator.c | 22 +++--- 1 file changed, 11

[PATCH v6 00/10] support ROHM BD70528 PMIC

2019-02-05 Thread Matti Vaittinen
Patch series introducing support for ROHM BD70528 PMIC Please note that patch 1 breaks compilation without patches 2 and 3 Knowing the bd718x7 driver is already in upstream, it might be good if this change went through single tree, right? ROHM BD70528 is a programmable Power Management IC for

Re: [PATCH v2 04/20] fork: provide a function for copying init_mm

2019-02-05 Thread Nadav Amit
> On Feb 5, 2019, at 12:53 AM, Borislav Petkov wrote: > > On Mon, Jan 28, 2019 at 04:34:06PM -0800, Rick Edgecombe wrote: >> From: Nadav Amit >> >> - * Allocate a new mm structure and copy contents from the >> - * mm structure of the passed in task structure. >> +/** >> + * dup_mm() -

Re: [PATCH 0/8] fbdev: sm712fb: implement 2D acceleration w/ cleanups.

2019-02-05 Thread Daniel Vetter
On Tue, Feb 05, 2019 at 06:06:50AM +0800, Tom Li wrote: > > Since you care about this driver, considered converting it to a drm > > display driver? You can still have all the acceleration and stuff, the > > fbdev compat mode in drm is rather flexible. > > -Daniel > > Yes, I know fbdev is now in

Re: [PATCH] drm/bochs: fix bochs_gem_prime_mmap

2019-02-05 Thread Daniel Vetter
On Mon, Feb 04, 2019 at 07:38:58PM +0100, Gerd Hoffmann wrote: > ttm_fbdev_mmap() just doesn't work. It appears to work fine, mmap() > returns success, but any attempt to actually access the mapping causes a > SIGBUS. > > We can just use drm_gem_prime_mmap() instead. Almost. We have to copy >

Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-02-05 Thread Hans Verkuil
On 2/5/19 7:26 AM, Tomasz Figa wrote: > On Fri, Feb 1, 2019 at 12:18 AM Nicolas Dufresne wrote: >> >> Le jeudi 31 janvier 2019 à 22:34 +0900, Tomasz Figa a écrit : >>> On Thu, Jan 31, 2019 at 9:42 PM Philipp Zabel >>> wrote: Hi Nicolas, On Wed, 2019-01-30 at 10:32 -0500, Nicolas

Re: [PATCH] drm/cirrus: add plane setup

2019-02-05 Thread Daniel Vetter
On Mon, Feb 04, 2019 at 12:01:31PM +0100, Gerd Hoffmann wrote: > Commit "f4bd542bca drm/fb-helper: Scale back depth to supported maximum" > uncovered a bug in the cirrus driver. It must create its own primary > plane, using the correct format list, depending on the bpp module > parameter, so it

Re: [PATCH v7 15/15] KVM: s390: fix possible null pointer dereference in pending_irqs()

2019-02-05 Thread Christian Borntraeger
On 31.01.2019 18:47, Cornelia Huck wrote: > On Thu, 31 Jan 2019 09:52:46 +0100 > Michael Mueller wrote: > >> Assure a GISA is in use before accessing the IPM to avoid a >> null pointer dereference issue. > > This series can hopefully make it into the next merge window; > otherwise, queuing a

Re: [PATCH v3 08/10] x86/setcpuid: Add kernel option setcpuid

2019-02-05 Thread Peter Zijlstra
On Mon, Feb 04, 2019 at 03:24:23PM -0800, Dave Hansen wrote: > Actually, there's one part of all this that I forgot. Will split lock > detection be enumerated _widely_? IOW, will my laptop in 5 years > enumerate support for it? I would bloody hope so. Just for giggles, create an little program

[PATCH V11 1/5] i2c: tegra: sort all the include headers alphabetically

2019-02-05 Thread Sowjanya Komatineni
This patch sorts all the include headers alphabetically for the I2C Tegra driver. Acked-by: Thierry Reding Reviewed-by: Dmitry Osipenko Signed-off-by: Sowjanya Komatineni --- [V9/V10/V11] : Rebased to 5.0-rc4 [V3/V4/V5/V7/V8] : Removed unsued headers in tegra I2C [V2] : Added this in V2 to

[PATCH V11 4/5] i2c: tegra: update transfer timeout

2019-02-05 Thread Sowjanya Komatineni
Tegra194 allows max of 64K bytes and Tegra186 and prior allows max of 4K bytes of transfer per packet. one sec timeout is not enough for transfers more than 10K bytes at STD bus rate. This patch updates I2C transfer timeout based on the transfer size and I2C bus rate to allow enough time during

[PATCH V11 3/5] i2c: tegra: Add DMA support

2019-02-05 Thread Sowjanya Komatineni
This patch adds DMA support for Tegra I2C. Tegra I2C TX and RX FIFO depth is 8 words. PIO mode is used for transfer size of the max FIFO depth and DMA mode is used for transfer size higher than max FIFO depth to save CPU overhead. PIO mode needs full intervention of CPU to fill or empty FIFO's

[PATCH V11 2/5] i2c: tegra: add bus clear Master Support

2019-02-05 Thread Sowjanya Komatineni
Bus clear feature of Tegra I2C controller helps to recover from bus hang when I2C master loses the bus arbitration due to the slave device holding SDA LOW continuously for some unknown reasons. Per I2C specification, the device that held the bus LOW should release it within 9 clock pulses.

[PATCH V11 5/5] i2c: tegra: add i2c interface timing support

2019-02-05 Thread Sowjanya Komatineni
This patch adds I2C interface timing registers support for proper bus rate configuration along with meeting the i2c spec setup and hold times based on the tuning performed on Tegra210, Tegra186 and Tegra194 platforms. I2C_INTERFACE_TIMING_0 register contains TLOW and THIGH field and Tegra I2C

Re: [PATCH 6/6] media: ov5640: Consolidate JPEG compression mode setting

2019-02-05 Thread Sakari Ailus
Hi Chen-Yu, On Fri, Jan 18, 2019 at 04:52:06PM +0800, Chen-Yu Tsai wrote: > The register value lists for all the supported resolution settings all > include a register address/value pair for setting the JPEG compression > mode. With the exception of 1080p (which sets mode 2), all resolutions >

Re: [PATCH v2 04/20] fork: provide a function for copying init_mm

2019-02-05 Thread Borislav Petkov
On Mon, Jan 28, 2019 at 04:34:06PM -0800, Rick Edgecombe wrote: > From: Nadav Amit > > Provide a function for copying init_mm. This function will be later used > for setting a temporary mm. > > Cc: Andy Lutomirski > Cc: Kees Cook > Cc: Dave Hansen > Acked-by: Peter Zijlstra (Intel) >

Re: [PATCH v2 04/14] irqchip: pruss: Add a PRUSS irqchip driver for PRUSS interrupts

2019-02-05 Thread Roger Quadros
+Rob Andrew, On 04/02/19 17:33, Roger Quadros wrote: > On 04/02/19 17:11, Andrew F. Davis wrote: >> On 2/4/19 8:22 AM, Roger Quadros wrote: >>> From: "Andrew F. Davis" >>> >> >> [...] >> >>> +static const struct pruss_intc_match_data am437x_pruss_intc_data = { >>> + .no_host7_intr = true, >>

Re: [PATCH v3 08/10] x86/setcpuid: Add kernel option setcpuid

2019-02-05 Thread Peter Zijlstra
On Mon, Feb 04, 2019 at 01:09:12PM -0800, Fenghua Yu wrote: > Intel SDM published TODAY does have IA32_CORE_CAPABILITY MSR enumerateion > bit CPUID.0x7.0:EDX[30] now. Please check today's SDM for the bit: >

Re: [RFC PATCH v2 0/4] dynamic indirect call promotion

2019-02-05 Thread Nadav Amit
> On Feb 1, 2019, at 4:05 PM, Edward Cree wrote: > > This series introduces 'dynamic_calls', branch trees of static calls (updated > at runtime using text patching), to avoid making indirect calls to common > targets. The basic mechanism is >if (func == static_key_1.target) >

Re: [PATCH v3 08/10] x86/setcpuid: Add kernel option setcpuid

2019-02-05 Thread Peter Zijlstra
On Mon, Feb 04, 2019 at 12:46:30PM -0800, Dave Hansen wrote: > So, the compromise we reached in this case is that Intel will fully > document the future silicon architecture, and then write the kernel > implementation to _that_. Then, for the weirdo deployments where this > feature is not

<    4   5   6   7   8   9   10   >