Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache)

2016-06-22 Thread Paul E. McKenney
On Wed, Jun 22, 2016 at 07:47:42PM -0700, Paul E. McKenney wrote: > On Thu, Jun 23, 2016 at 11:37:56AM +0900, Joonsoo Kim wrote: > > On Wed, Jun 22, 2016 at 05:49:35PM -0700, Paul E. McKenney wrote: > > > On Wed, Jun 22, 2016 at 12:08:59PM -0700, Paul E. McKenney wrote: > > > > On Wed, Jun 22, 2016

Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache)

2016-06-22 Thread Paul E. McKenney
On Thu, Jun 23, 2016 at 11:37:56AM +0900, Joonsoo Kim wrote: > On Wed, Jun 22, 2016 at 05:49:35PM -0700, Paul E. McKenney wrote: > > On Wed, Jun 22, 2016 at 12:08:59PM -0700, Paul E. McKenney wrote: > > > On Wed, Jun 22, 2016 at 05:01:35PM +0200, Geert Uytterhoeven wrote: > > > > On Wed, Jun 22, 20

Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache)

2016-06-22 Thread Joonsoo Kim
On Wed, Jun 22, 2016 at 05:49:35PM -0700, Paul E. McKenney wrote: > On Wed, Jun 22, 2016 at 12:08:59PM -0700, Paul E. McKenney wrote: > > On Wed, Jun 22, 2016 at 05:01:35PM +0200, Geert Uytterhoeven wrote: > > > On Wed, Jun 22, 2016 at 2:52 AM, Joonsoo Kim > > > wrote: > > > > Could you try below

Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache)

2016-06-22 Thread Paul E. McKenney
On Wed, Jun 22, 2016 at 12:08:59PM -0700, Paul E. McKenney wrote: > On Wed, Jun 22, 2016 at 05:01:35PM +0200, Geert Uytterhoeven wrote: > > On Wed, Jun 22, 2016 at 2:52 AM, Joonsoo Kim wrote: > > > Could you try below patch to check who causes the hang? > > > > > > And, if sysalt-t works when hang

Re: [PATCH] thermal: rcar-thermal: enable hwmon when thermal_zone

2016-06-22 Thread Kuninori Morimoto
Hi Zhang > From: Kuninori Morimoto > > rcar-thermal is supporting both thermal_zone_of_sensor_register() and > thermal_zone_device_register(). But thermal_zone_of_sensor_register() > doesn't enable hwmon as default. > This patch enables it to keep compatibility > > Signed-off-by: Kuninori Mori

Re: [PATCH 01/13] ARM: shmobile: r8a7792: add clock index macros

2016-06-22 Thread Simon Horman
On Wed, Jun 22, 2016 at 10:52:04PM +0300, Sergei Shtylyov wrote: > On 06/01/2016 03:52 AM, Simon Horman wrote: > > >>Add macros usable by the device tree sources to reference the R8A7792 > >>clocks by index. > >> > >>Signed-off-by: Sergei Shtylyov > >> > >>--- > >> include/dt-bindings/clock/r8a7

Re: [PATCH v2] pwm: improve args checking in pwm_apply_state()

2016-06-22 Thread Brian Norris
On Wed, Jun 22, 2016 at 10:41:14PM +0200, Boris Brezillon wrote: > On Wed, 22 Jun 2016 12:16:59 -0700 > Brian Norris wrote: > > Notably, you're dropping the 'if (!pwm) { }' safety checks that are part > > of pwm_disable() and pwm_set_polarity(). But I don't think there should > > be any users rely

Re: [PATCH v2] pwm: improve args checking in pwm_apply_state()

2016-06-22 Thread Boris Brezillon
On Wed, 22 Jun 2016 12:16:59 -0700 Brian Norris wrote: > On Wed, Jun 22, 2016 at 10:04:22AM +0200, Boris Brezillon wrote: > > From 0610f7e24976e176054bce20445ff42d8aea9513 Mon Sep 17 00:00:00 2001 > > From: Boris Brezillon > > Date: Wed, 22 Jun 2016 09:25:14 +0200 > > Subject: [PATCH] pwm: Fix p

Re: [PATCH v2 0/2] can: rcar_canfd: Add Classical CAN & lower state transition support

2016-06-22 Thread Marc Kleine-Budde
On 06/22/2016 02:31 PM, Ramesh Shanmugasundaram wrote: > This patch is based on latest can-next(tag:linux-can-next-for-4.8-20160617). > > Changes since v1: > - property named changed from "can-nofd" to "no-can-fd" (Rob H) > - added new patch(0002) that support lower state transitions (Wolfgang G

Re: [PATCH 01/13] ARM: shmobile: r8a7792: add clock index macros

2016-06-22 Thread Sergei Shtylyov
On 06/01/2016 03:52 AM, Simon Horman wrote: Add macros usable by the device tree sources to reference the R8A7792 clocks by index. Signed-off-by: Sergei Shtylyov --- include/dt-bindings/clock/r8a7792-clock.h | 104 ++ 1 file changed, 104 insertions(+) Index: re

Re: [PATCH v2] pwm: improve args checking in pwm_apply_state()

2016-06-22 Thread Brian Norris
On Wed, Jun 22, 2016 at 10:04:22AM +0200, Boris Brezillon wrote: > From 0610f7e24976e176054bce20445ff42d8aea9513 Mon Sep 17 00:00:00 2001 > From: Boris Brezillon > Date: Wed, 22 Jun 2016 09:25:14 +0200 > Subject: [PATCH] pwm: Fix pwm_apply_args() > > Commit 5ec803edcb70 ("pwm: Add core infrastruc

Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache)

2016-06-22 Thread Paul E. McKenney
On Wed, Jun 22, 2016 at 05:01:35PM +0200, Geert Uytterhoeven wrote: > On Wed, Jun 22, 2016 at 2:52 AM, Joonsoo Kim wrote: > > Could you try below patch to check who causes the hang? > > > > And, if sysalt-t works when hang, could you get sysalt-t output? I haven't > > used it before but Paul could

Re: [PATCH 1/2] [media] v4l: vsp1: Split pad operations between rpf and wpf

2016-06-22 Thread Laurent Pinchart
Hi Niklas, Thank you for the patch. On Wednesday 22 Jun 2016 02:19:24 Niklas Söderlund wrote: > This is done in preparation to move s_stream from v4l2_subdev_video_ops > to v4l2_subdev_pad_ops. Only wpf implements s_stream so it will no > longer be possible to share the v4l2_subdev_pad_ops once s

Re: [PATCH/RFC v2 1/4] v4l: Add metadata buffer type and format

2016-06-22 Thread Laurent Pinchart
Hello, On Tuesday 24 May 2016 19:26:32 Sakari Ailus wrote: > On Tue, May 24, 2016 at 05:36:42PM +0200, Hans Verkuil wrote: > > On 05/24/2016 05:28 PM, Sakari Ailus wrote: > > > Hi Hans, > > > > > >> Should it be mentioned here that changing the video format might change > > >> the buffersize? In

Re: [PATCH/RFC v2 1/4] v4l: Add metadata buffer type and format

2016-06-22 Thread Laurent Pinchart
Hi Hans, Thank you for the review. On Monday 23 May 2016 12:09:16 Hans Verkuil wrote: > On 05/12/2016 02:18 AM, Laurent Pinchart wrote: > > The metadata buffer type is used to transfer metadata between userspace > > and kernelspace through a V4L2 buffers queue. It comes with a new > > metadata ca

Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache)

2016-06-22 Thread Geert Uytterhoeven
On Wed, Jun 22, 2016 at 2:52 AM, Joonsoo Kim wrote: > Could you try below patch to check who causes the hang? > > And, if sysalt-t works when hang, could you get sysalt-t output? I haven't > used it before but Paul could find some culprit on it. :) > > Thanks. > > > ->8- > diff --git a/mm/

Re: [PATCH v2] pwm: improve args checking in pwm_apply_state()

2016-06-22 Thread Geert Uytterhoeven
Hi Boris, On Wed, Jun 22, 2016 at 10:04 AM, Boris Brezillon wrote: > On Tue, 21 Jun 2016 11:37:31 -0700 > Brian Norris wrote: >> On Tue, Jun 21, 2016 at 04:42:04PM +0200, Geert Uytterhoeven wrote: >> > On Fri, May 27, 2016 at 6:45 PM, Brian Norris >> > wrote: >> > > It seems like in the proces

Re: [PATCH/RFC 3/4] mmc: renesas_sdhi: rename DMA source file as renesas_sdhi_dma.c

2016-06-22 Thread Wolfram Sang
On Wed, Jun 15, 2016 at 01:01:56PM +0900, Simon Horman wrote: > Rename the source file for DMA for Renesas SDHI as a follow-up to attaching > DMA code to the renesas_sdhi driver rather than the tmio_core driver. > > Signed-off-by: Simon Horman > --- > drivers/mmc/host/Makefile

Re: [PATCH/RFC 2/4] mmc: renesas_sdhi, tmio: make dma more modular

2016-06-22 Thread Wolfram Sang
> +#if IS_ENABLED(CONFIG_MMC_SDHI_DMA) > +int tmio_mmc_init_dma(void); > +#else > +static int tmio_mmc_init_dma(void) > +{ > + return -EINVAL; > +} > +#endif Can't we make this another tmio_mmc_dma_ops to save the ifdeffery? signature.asc Description: PGP signature

Re: [PATCH/RFC 1/4] mmc: renesas_sdhi: rename sh_mobile_sdhi as renesas_sdhi

2016-06-22 Thread Wolfram Sang
On Wed, Jun 15, 2016 at 01:01:54PM +0900, Simon Horman wrote: > The SDHI driver is applicable to a wider range of SoCs than SH-Mobile, > Renesas seems to be a more appropriate name. > > Signed-off-by: Simon Horman It feels strange to rename the file and leaving all the naming inside the file sti

Re: [PATCH] pinctrl: sh-pfc: r8a7795: Add DRIF support

2016-06-22 Thread Geert Uytterhoeven
Hi Ramesh, On Wed, Jun 22, 2016 at 3:51 PM, Ramesh Shanmugasundaram wrote: >> CC linux-gpio, LinusW, Laurent >> >> On Fri, Jun 17, 2016 at 4:16 PM, Ramesh Shanmugasundaram >> wrote: >> >> > drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 121 >> >> > +++ >> >> > 1 file ch

RE: [PATCH] pinctrl: sh-pfc: r8a7795: Add DRIF support

2016-06-22 Thread Ramesh Shanmugasundaram
Hi Geert, > CC linux-gpio, LinusW, Laurent > > On Fri, Jun 17, 2016 at 4:16 PM, Ramesh Shanmugasundaram > wrote: > >> > drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 121 > >> > +++ > >> > 1 file changed, 121 insertions(+) > >> > > >> > diff --git a/drivers/pinctrl/sh-p

[PATCH/RFC 6/6] spi: spidev: Allow direct references in DT from SPI slave controllers

2016-06-22 Thread Geert Uytterhoeven
SPI slave protocols are typically handled in userspace through spidev, hence suppress the warning when the SPI controller is running in slave mode. Signed-off-by: Geert Uytterhoeven --- drivers/spi/spidev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spidev.

[PATCH/RFC 3/6] spi: sh-msiof: Add slave mode support

2016-06-22 Thread Geert Uytterhoeven
From: Hisashi Nakamura Add slave mode support to the MSIOF driver. For now this only supports the transmission of messages with a size that is known in advance. Signed-off-by: Hisashi Nakamura Signed-off-by: Hiromitsu Yamasaki [geert: Timeout handling cleanup, spi core integration, rewording]

[PATCH/RFC 1/6] spi: Document DT bindings for SPI controllers in slave mode

2016-06-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- Documentation/devicetree/bindings/spi/spi-bus.txt | 31 ++- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/spi-bus.txt b/Documentation/devicetree/bindings/spi/spi-bus.txt index 178228

[PATCH/RFC 2/6] spi: core: Add support for registering SPI slave controllers

2016-06-22 Thread Geert Uytterhoeven
Add support for registering SPI slave controllers using the existing SPI master framework: - SPI slave controllers must set the SPI_MASTER_IS_SLAVE flag in spi_master.flags, - The "cs-gpios" property is ignored, - The bus is described in DT as having a single slave node, "reg" and "sp

[PATCH/RFC 5/6] spi: slave: Add SPI slave handler controlling system state

2016-06-22 Thread Geert Uytterhoeven
Add an SPI slave handler to allow remote control of system reboot, power off, halt, and suspend. Signed-off-by: Geert Uytterhoeven --- FIXME kthread_stop() hangs, as spi_write() is blocked on a completion --- drivers/spi/Kconfig| 6 ++ drivers/spi/Makefile

[PATCH/RFC 0/6] spi: Add slave mode support

2016-06-22 Thread Geert Uytterhoeven
ansfer. -> This may need hardware support in the SPI slave controller, or dynamic GPIO vs. CS pinmuxing. This patch series applies to both v4.7-rc1 and next-20160622, with the following 2 patches applied: 1. [PATCH] spi: Improve DT binding documentation, 2. [PATCH] spi:

[PATCH/RFC 4/6] spi: slave: Add SPI slave handler reporting boot up time

2016-06-22 Thread Geert Uytterhoeven
Add an SPI slave handler responding with the time of reception of the last SPI message. This can be used by an external microcontroller as a dead man's switch. Signed-off-by: Geert Uytterhoeven --- FIXME kthread_stop() hangs, as spi_write() is blocked on a completion --- drivers/spi/Kconfig

[PATCH v2 0/2] can: rcar_canfd: Add Classical CAN & lower state transition support

2016-06-22 Thread Ramesh Shanmugasundaram
This patch is based on latest can-next(tag:linux-can-next-for-4.8-20160617). Changes since v1: - property named changed from "can-nofd" to "no-can-fd" (Rob H) - added new patch(0002) that support lower state transitions (Wolfgang G) (http://marc.info/?l=linux-can&m=146650325116971&w=2) Rames

[PATCH v2 2/2] can: rcar_canfd: Add back-to-error-active support

2016-06-22 Thread Ramesh Shanmugasundaram
As per Wolfgang G, all new drivers should support decreasing state transition(back-to-error-active). This patch adds this support. This driver configures the controller to halt on bus-off entry. Hence, when in error states less than bus off state, the TEC/REC counters are checked for lower state t

[PATCH v2 1/2] can: rcar_canfd: Add Classical CAN only mode support

2016-06-22 Thread Ramesh Shanmugasundaram
The controller can operate in one of the two global modes - CAN FD only mode (default) - Classical CAN (CAN2.0) only mode This patch adds support for Classical CAN only mode. It can be enabled by defining the optional device tree property "renesas,no-can-fd" of this node. Note: R-Car Gen3 h/w m

Re: [PATCH v2] pwm: improve args checking in pwm_apply_state()

2016-06-22 Thread Thierry Reding
On Wed, Jun 22, 2016 at 10:04:22AM +0200, Boris Brezillon wrote: > On Tue, 21 Jun 2016 11:37:31 -0700 > Brian Norris wrote: > > > Hi Geert, > > > > On Tue, Jun 21, 2016 at 04:42:04PM +0200, Geert Uytterhoeven wrote: > > > On Fri, May 27, 2016 at 6:45 PM, Brian Norris > > > wrote: > > > > It

Re: [PATCH] ARM: dts: r8a7794: add SMP support

2016-06-22 Thread Geert Uytterhoeven
Hi Sergei, On Wed, Jun 22, 2016 at 12:08 PM, Sergei Shtylyov wrote: > On 6/22/2016 10:20 AM, Geert Uytterhoeven wrote: > >>> Add the device tree node for the Advanced Power Management Unit (APMU). >>> Use the "enable-method" prop to point out that the APMU should be used >>> for the SMP support.

Re: [PATCH] ARM: dts: r8a7794: add SMP support

2016-06-22 Thread Sergei Shtylyov
On 6/22/2016 10:20 AM, Geert Uytterhoeven wrote: Add the device tree node for the Advanced Power Management Unit (APMU). Use the "enable-method" prop to point out that the APMU should be used for the SMP support. Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven SMP/PM basic

Re: [PATCH] usb: renesas_usbhs: make usbhs_write32() static

2016-06-22 Thread Felipe Balbi
Hi, Mathieu Malaterre writes: > On Tue, Jun 21, 2016 at 7:52 PM, Ben Dooks wrote: >> The usbhs_write32 function is not used outside of the rcar3.c >> file, so fix the following sparse warning by making it static: >> >> drivers/usb/renesas_usbhs/rcar3.c:26:6: warning: symbol 'usbhs_write32' was

Re: [PATCH v2] pwm: improve args checking in pwm_apply_state()

2016-06-22 Thread Boris Brezillon
On Tue, 21 Jun 2016 11:37:31 -0700 Brian Norris wrote: > Hi Geert, > > On Tue, Jun 21, 2016 at 04:42:04PM +0200, Geert Uytterhoeven wrote: > > On Fri, May 27, 2016 at 6:45 PM, Brian Norris > > wrote: > > > It seems like in the process of refactoring pwm_config() to utilize the > > > newly-in

Re: [PATCH] usb: renesas_usbhs: make usbhs_write32() static

2016-06-22 Thread Mathieu Malaterre
On Tue, Jun 21, 2016 at 7:52 PM, Ben Dooks wrote: > The usbhs_write32 function is not used outside of the rcar3.c > file, so fix the following sparse warning by making it static: > > drivers/usb/renesas_usbhs/rcar3.c:26:6: warning: symbol 'usbhs_write32' was > not declared. Should it be static? >

Re: [PATCH v3 04/13] ARM: dts: lager: use demuxer for IIC3/I2C3

2016-06-22 Thread Geert Uytterhoeven
On Wed, Jun 22, 2016 at 5:43 AM, Simon Horman wrote: > Create a separate bus for dla98063 PMIC and da9210 regulator da9063. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with techni

Re: [PATCH] ARM: dts: r8a7794: add SMP support

2016-06-22 Thread Geert Uytterhoeven
Hi Sergei, On Wed, Jun 22, 2016 at 12:03 AM, Sergei Shtylyov wrote: > Add the device tree node for the Advanced Power Management Unit (APMU). > Use the "enable-method" prop to point out that the APMU should be used > for the SMP support. > > Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uy