[PATCH] pinctrl: sh-pfc: r8a7795: use PINMUX_SINGLE() for I2C

2016-06-20 Thread Kuninori Morimoto
From: Kuninori Morimoto Now we have PINMUX_SINGLE(). Let's use it instead of PINMUX_IPSR_NOGP() Signed-off-by: Kuninori Morimoto --- drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 8 +++- 1 file changed, 3 insertions(+), 5

Re: [PATCH v3] arm64: dts: r8a7795: Add CAN FD support

2016-06-20 Thread Simon Horman
On Fri, Jun 17, 2016 at 01:35:43PM +0100, Ramesh Shanmugasundaram wrote: > Adds CAN FD controller node for r8a7795. > > Note: CAN FD controller register base address specified in R-Car Gen3 > Hardware User Manual v0.5E is incorrect. The correct address is: > > CAN FD - 0xe66c > >

Re: [git pull] clk: renesas: Add support for R-Car M3-W

2016-06-20 Thread Stephen Boyd
On 06/06, Geert Uytterhoeven wrote: > Hi Mike, Stephen, > > The following changes since commit 1a695a905c18548062509178b98bc91e67510864: > > Linux 4.7-rc1 (2016-05-29 09:29:24 -0700) > > are available in the git repository at: > >

[PATCH] ARM: dts: r8a7792: add SMP support

2016-06-20 Thread Sergei Shtylyov
patch is against the 'renesas-devel-20160620-v4.7-rc4' tag of Simon Horman's 'renesas.git' repo. It depends on Magnus'/Geert's SMP patchset... arch/arm/boot/dts/r8a7792.dtsi | 16 1 file changed, 16 insertions(+) Index: renesas/arch/arm/boot/

Re: [PATCH v4 13/13] ARM: dts: r8a7793: Add APMU node and second CPU core

2016-06-20 Thread Sergei Shtylyov
On 06/16/2016 01:27 PM, Geert Uytterhoeven wrote: From: Magnus Damm Add DT nodes for the Advanced Power Management Unit (APMU) and the second CPU core. Use the enable-method to point out that the APMU should be used for SMP support. Signed-off-by: Magnus Damm

[PATCH 01/24] v4l: Add metadata buffer type and format

2016-06-20 Thread Laurent Pinchart
The metadata buffer type is used to transfer metadata between userspace and kernelspace through a V4L2 buffers queue. It comes with a new metadata capture capability and format description. Signed-off-by: Laurent Pinchart ---

[PATCH 00/24] R-Car VSP1: Histogram, look-up table and flip support

2016-06-20 Thread Laurent Pinchart
Hello, Here's my current set of pending VSP1 patches, based on top of the "[PATCH v2 00/13] R-Car VSP improvements for v4.7 - Round 2" series. For convenience I've pushed the patches and their dependencies to git://linuxtv.org/pinchartl/media.git vsp1/flip The series contains new

[PATCH 24/24] v4l: vsp1: Stop the pipeline upon the first STREAMOFF

2016-06-20 Thread Laurent Pinchart
The device is stopped when STREAMOFF is called on the last video node in the pipeline. This results in possible memory corruption and/or crashes, as userspace could free buffers while the hardware is still writing to them, and the frame completion interrupt handler could try to access buffers that

[PATCH 08/24] v4l: vsp1: Don't register media device when userspace API is disabled

2016-06-20 Thread Laurent Pinchart
The media device doesn't need to be exposed to userspace when the VSP is fully controlled by the DU driver. Don't register it in that case. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_drv.c | 16 +--- 1 file

[PATCH 23/24] v4l: vsp1: Constify operation structures

2016-06-20 Thread Laurent Pinchart
The structures are never modified, make them const. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_bru.c | 4 ++-- drivers/media/platform/vsp1/vsp1_clu.c | 4 ++-- drivers/media/platform/vsp1/vsp1_hgo.c | 4 ++--

[PATCH 16/24] v4l: vsp1: sru: Fix intensity control ID

2016-06-20 Thread Laurent Pinchart
The intensity control reused the V4L2_CID_CONTRAST control ID by mistake. Fix it by using an ID from the device-specific IDs range. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_sru.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 15/24] v4l: vsp1: Add Cubic Look Up Table (CLU) support

2016-06-20 Thread Laurent Pinchart
The CLU processing block is a 2D/3D lookup table that converts the input three color component data into desired three color components using a lookup table. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/Makefile | 2 +-

[PATCH 14/24] v4l: vsp1: lut: Expose configuration through a control

2016-06-20 Thread Laurent Pinchart
Replace the custom ioctl with a V4L2 control in order to standardize the API. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_lut.c | 76 +++--- drivers/media/platform/vsp1/vsp1_lut.h | 6 +--

[PATCH 03/24] v4l: vsp1: Add HGO support

2016-06-20 Thread Laurent Pinchart
The HGO is a Histogram Generator One-Dimension. It computes per-channel histograms over a configurable region of the image with optional subsampling. Signed-off-by: Laurent Pinchart --- drivers/media/platform/Kconfig| 1 +

[PATCH 02/24] v4l: Define a pixel format for the R-Car VSP1 1-D histogram engine

2016-06-20 Thread Laurent Pinchart
The format is used on the R-Car VSP1 video queues that carry 1-D histogram statistics data. Signed-off-by: Laurent Pinchart Acked-by: Sakari Ailus --- .../DocBook/media/v4l/pixfmt-meta-vsp1-hgo.xml | 307

[PATCH 09/24] v4l: vsp1: Don't create LIF entity when the userspace API is enabled

2016-06-20 Thread Laurent Pinchart
The LIF is only used when feeding the VSP output to the DU. The only way to do so is by controlling the VSP directly from the DU driver and disabling the VSP userspace API. There is thus no need to create a LIF entity when the userspace API is enabled, as it can't be used in that case.

[PATCH 12/24] v4l: vsp1: dl: Don't free fragments with interrupts disabled

2016-06-20 Thread Laurent Pinchart
Freeing a fragment requires freeing DMA coherent memory, which can be performed with interrupts disabled as per the DMA mapping API contract. The fragments can't thus be freed synchronously when a display list is recycled. Instead, move the fragments to a garbage list and use a work queue to run

[PATCH 10/24] v4l: vsp1: Set entities functions

2016-06-20 Thread Laurent Pinchart
Initialize the function field of all subdev entities instantiated by the driver. This gets rids of multiple warnings printed by the media controller core. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_bru.c| 3 ++-

[PATCH 04/24] v4l: vsp1: Don't create HGO entity when the userspace API is disabled

2016-06-20 Thread Laurent Pinchart
The HGO is never used in the DRM pipeline, there is thus no need to create an HGO entity when the userspace API is disabled. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_drv.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH v1 15/25] PCI: generic: Free resource list close to where it's allocated

2016-06-20 Thread Lorenzo Pieralisi
bot has reported[0] new qemu-aarch64 > (arm64-defconfig) boot failures[1][2] in next-20160620. I've > bisected[3] this boot failure down to this patch, and confirmed > reverting it on top of next-20160620 resolves the boot issue. > > I have not investigated further, but you can easi

Re: [PATCH v1 15/25] PCI: generic: Free resource list close to where it's allocated

2016-06-20 Thread Tyler Baker
ke care of error path cleanup in > gen_pci_parse_request_of_pci_ranges() instead. > > Signed-off-by: Bjorn Helgaas <bhelg...@google.com> The kernelci.org bot has reported[0] new qemu-aarch64 (arm64-defconfig) boot failures[1][2] in next-20160620. I've bisected[3] this boot failu

[PATCH] can: rcar_canfd: Add Classical CAN only mode support

2016-06-20 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,can-nofd" of this node. Note: R-Car Gen3 h/w

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

2016-06-20 Thread Paul E. McKenney
On Mon, Jun 20, 2016 at 03:39:43PM +0900, Joonsoo Kim wrote: > CCing Paul to ask some question. > > On Wed, Jun 15, 2016 at 10:39:47AM +0200, Geert Uytterhoeven wrote: > > Hi Joonsoo, > > > > On Wed, Jun 15, 2016 at 4:23 AM, Joonsoo Kim wrote: > > > On Tue, Jun 14, 2016

Re: [PATCH 0/2] ARM: defconfig: Enable r8a7792

2016-06-20 Thread Simon Horman
On Thu, Jun 16, 2016 at 02:23:56PM +0900, Simon Horman wrote: > Enable r8a7792 SoC in shmobile and multi_v7 defconfigs. > > Based on renesas-devel-20160616-v4.7-rc3 > > Simon Horman (2): > ARM: shmobile: defconfig: Enable r8a7792 SoC > ARM: multi_v7_defconfig: defconfig: Enable r8a7792 SoC >

Re: [PATCH 0/2] Add R8A7792 JPEG codec support

2016-06-20 Thread Simon Horman
On Fri, Jun 17, 2016 at 01:00:36AM +0300, Sergei Shtylyov wrote: > Hello. > >Here's the set of 2 patches against Simon Horman's 'renesas.git' repo, > 'renesas-devel-20160616-v4.7-rc3' tag. We add the device tree support for > the R8A7792 JPEG Processing Unit (JPU). > > [1/2] ARM: dts:

Re: [PATCH] ARM: dts: silk: add DU pins

2016-06-20 Thread Simon Horman
On Fri, Jun 17, 2016 at 11:53:21PM +0300, Sergei Shtylyov wrote: > Hello. > > On 04/13/2016 10:36 PM, Sergei Shtylyov wrote: > > >Add the (previously omitted) DU pin data to the SILK board's device tree. > > > >Signed-off-by: Sergei Shtylyov > > > >--- >

[RFC] pinctrl: sh-pfc: propagate errors on group config

2016-06-20 Thread Wolfram Sang
From: Wolfram Sang On group configuration, bail out if setting one of the individual pins fails. We don't need to roll-back, the pinctrl core will do this for us. Signed-off-by: Wolfram Sang --- Tested on a Lager and

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

2016-06-20 Thread Joonsoo Kim
CCing Paul to ask some question. On Wed, Jun 15, 2016 at 10:39:47AM +0200, Geert Uytterhoeven wrote: > Hi Joonsoo, > > On Wed, Jun 15, 2016 at 4:23 AM, Joonsoo Kim wrote: > > On Tue, Jun 14, 2016 at 12:45:14PM +0200, Geert Uytterhoeven wrote: > >> On Tue, Jun 14, 2016 at