Re: [git pull] clk: renesas: Updates for v4.15 (take two)

2017-11-01 Thread Stephen Boyd
On 10/20, Geert Uytterhoeven wrote: > Hi Mike, Stephen, > > The following changes since commit b4021bbe10017d994e5a96ebfd2677bbaf2b37e0: > > clk: renesas: rcar-gen2: Delete error message for failed memory allocation > (2017-09-28 17:57:34 +0200) > > are available in the git repository

Re: [git pull] clk: renesas: Updates for v4.15

2017-11-01 Thread Stephen Boyd
On 10/04, Geert Uytterhoeven wrote: > Hi Mike, Stephen, > > The following changes since commit 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e: > > Linux 4.14-rc1 (2017-09-16 15:47:51 -0700) > > are available in the git repository at: > >

RE: [PATCH 1/2] mmc: renesas_sdhi: fix swiotlb buffer is full

2017-11-01 Thread Yoshihiro Shimoda
Hi, > From: Konrad Rzeszutek, Sent: Wednesday, November 1, 2017 10:27 PM > > On Fri, Oct 20, 2017 at 03:18:55AM +, Yoshihiro Shimoda wrote: > > Hi again! > > > > > From: Yoshihiro Shimoda, Sent: Thursday, October 19, 2017 8:39 PM > > > > > > Hi Geert-san, Konrad-san, > > > > > > > From:

Re: [PATCH] PM / QoS: Fix default runtime_pm device resume latency

2017-11-01 Thread Rafael J. Wysocki
[cut] >> It seems the default values for pm_qos have changed with the patch, and that >> breaks genpd at least. I only fixed PM runtime initially, but you could try >> this diff to fix the genpd part also: >> >> diff --git a/include/linux/pm_qos.h b/include/linux/pm_qos.h >> index

Re: [PATCH 1/3] ARM: shmobile: Document Renesas M3-W-based Salvator-XS board DT bindings

2017-11-01 Thread Rob Herring
On Mon, Oct 30, 2017 at 06:29:57PM +0100, Geert Uytterhoeven wrote: > The Renesas Salvator-XS (Salvator-X 2nd version) development board can > be equipped with either an R-Car H3 ES2.0 or M3-W ES1.x SiP, which are > pin-compatible. > > Document board part number and compatible values for the

Re: [PATCH] dt-bindings: watchdog: renesas-wdt: Add support for the r8a77970 wdt

2017-11-01 Thread Rob Herring
On Mon, Oct 30, 2017 at 04:43:19PM +0100, Geert Uytterhoeven wrote: > Document support for the Watchdog Timer (WDT) Controller in the Renesas > R-Car V3M (r8a77970) SoC. Restore sort order while at it. > > No driver update is needed. > > Signed-off-by: Geert Uytterhoeven

[PATCH v2 13/26] media: rcar: fix a debug printk

2017-11-01 Thread Mauro Carvalho Chehab
Two orthogonal changesets caused a breakage at a printk inside rcar. Changeset 859969b38e2e ("[media] v4l: Switch from V4L2 OF not V4L2 fwnode API") made davinci to use struct fwnode_handle instead of struct device_node. Changeset 68d9c47b1679 ("media: Convert to using %pOF instead of full_name")

Re: [PATCH] PM / QoS: Fix default runtime_pm device resume latency

2017-11-01 Thread Rafael J. Wysocki
On Wed, Nov 1, 2017 at 11:28 AM, Tero Kristo wrote: > On 01/11/17 00:32, Rafael J. Wysocki wrote: >> >> On Tue, Oct 31, 2017 at 7:07 PM, Geert Uytterhoeven >> wrote: >>> >>> Hi Rafael, >>> >>> On Tue, Oct 31, 2017 at 6:22 PM, Rafael J. Wysocki

Re: [PATCH v6 00/10] rockchip: kevin: Enable edp display

2017-11-01 Thread Sean Paul
On Tue, Oct 31, 2017 at 12:37:43PM +0800, JeffyChen wrote: > Hi Heiko, > > On 10/31/2017 07:01 AM, Heiko Stuebner wrote: > > As I was just looking at the edp dts change in patch1 again, does this > > series also contain a fix for the issue below [0] ? > > > > I'm still seeing this on 4.14-rc6

[PATCH v2 2/2] drm/rcar-du: Adjust 14 checks for null pointers

2017-11-01 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 1 Nov 2017 16:00:46 +0100 The script "checkpatch.pl" pointed information out like the following. Comparison to NULL could be written !... Thus fix the affected source code places. Signed-off-by: Markus Elfring

[PATCH v2 1/2] drm/rcar-du: Use common error handling code in rcar_du_encoders_init()

2017-11-01 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 1 Nov 2017 15:57:31 +0100 * Add a jump target so that a bit of exception handling can be better reused at the end of this function. * Increase the scope for the variable "ret". This issue was detected by using the Coccinelle

[PATCH v2 0/2] R-Car Display Unit: Fine-tuning for some function implementations

2017-11-01 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 1 Nov 2017 16:23:45 +0100 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): drm/rcar-du: Use common error handling code in rcar_du_encoders_init() drm/rcar-du: Adjust 14 checks

Re: [PATCH 1/2] mmc: renesas_sdhi: fix swiotlb buffer is full

2017-11-01 Thread Konrad Rzeszutek Wilk
On Fri, Oct 20, 2017 at 03:18:55AM +, Yoshihiro Shimoda wrote: > Hi again! > > > From: Yoshihiro Shimoda, Sent: Thursday, October 19, 2017 8:39 PM > > > > Hi Geert-san, Konrad-san, > > > > > From: Geert Uytterhoeven, Sent: Thursday, October 19, 2017 5:34 PM > > > > > > Hi Konrad, > > > > >

[PATCH 0/2] iommu/ipmmu-vmsa: r8a779(70|95) support

2017-11-01 Thread Simon Horman
Update Update the IPMMU DT binding documentation and driver implementation to support the r8a77970 (R-Car V3M) and r8a77995 (R-Car D3). Based on work for r8a7796 by Magnus Damm. Patches based on: * iommu/next * [PATCH v5 00/09] iommu/ipmmu-vmsa: r8a7795 support V5 * [PATCH v4 0/3]

[PATCH v4 08/15] arm64: dts: renesas: r8a7795-es1: Point FDP1 via FCPF to IPMMU-VP0

2017-11-01 Thread Simon Horman
From: Magnus Damm Hook up the FCPF devices to allow use of FDP1 with IPMMU-VP0. Signed-off-by: Magnus Damm Signed-off-by: Simon Horman --- v4 [Simon Horman] * broke out of larger patch v1 - v3 [Magnus Damm]

[PATCH v4 06/15] arm64: dts: renesas: r8a7795-es1: Point DU/VSPD via FCPVD to IPMMU-VI0

2017-11-01 Thread Simon Horman
From: Magnus Damm Hook up the FCPVD devices to allow use of the VSP and DU together with IPMMU-VI0. Signed-off-by: Magnus Damm Signed-off-by: Simon Horman --- v4 [Simon Horman] * broke out of a larger patch

[PATCH 0/7] arm64: dts: renesas: r8a7795: IPMMU upstream integration

2017-11-01 Thread Simon Horman
support for all IPMMU instances on r8a7796 that are used by IPMMU devices listed above. The DT binding for r8a7796 have been acked (as part of the r8a7796 series noted above) but have not yet been merged. Based on work by Magnus Damm. Based on renesas-devel-20171101-v4.14-rc7 Magnus Damm (3

[PATCH 6/7] arm64: dts: renesas: r8a7796: Connect Ethernet-AVB to IPMMU-DS0

2017-11-01 Thread Simon Horman
Add IPMMU-DS0 to the Ethernet-AVB device node. Based on work by Magnus Damm for the r8a7795. Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi

[PATCH v4 07/15] arm64: dts: renesas: r8a7795: Point FDP1 via FCPF to IPMMU-VP0/1

2017-11-01 Thread Simon Horman
From: Magnus Damm Hook up the FCPF devices to allow use of FDP1 with IPMMU-VP. Signed-off-by: Magnus Damm Signed-off-by: Simon Horman --- v4 [Simon Horman] * Broke out of larger patch * Use IPMMU-VP1 for FCPF1

[PATCH 1/7] arm64: dts: renesas: r8a7796: Add IPMMU device nodes

2017-11-01 Thread Simon Horman
From: Magnus Damm Add r8a7796 IPMMU nodes and keep all disabled by default. Signed-off-by: Magnus Damm [simon: update names] Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 89

[PATCH v4 05/15] arm64: dts: renesas: r8a7795: Point DU/VSPD via FCPVD to IPMMU-VI0/1

2017-11-01 Thread Simon Horman
From: Magnus Damm Hook up the FCPVD devices to allow use of the VSP and DU together with IPMMU-VI1 and IPMMU-VI1. Signed-off-by: Magnus Damm Signed-off-by: Simon Horman --- v4 [Simon Horman] * Broke out of a

[PATCH v4 11/15] arm64: dts: renesas: r8a7795-es1: Point VSPI via FCPVI to IPMMU-VP

2017-11-01 Thread Simon Horman
From: Magnus Damm Hook up the FCPVI devices to allow use of VSPI with IPMMU-VP. Signed-off-by: Magnus Damm Signed-off-by: Simon Horman --- v4 [Simon Horman] * Broke out of larger patch v1 - v3 [Magnus Damm]

[PATCH v4 14/15] arm64: dts: renesas: r8a7795: Enable IPMMU-VI, VP, DS0, DS1 and MM

2017-11-01 Thread Simon Horman
From: Magnus Damm Enable the r8a7795 device nodes for IPMMU-VI, IPMMU-VP, IPMMU-DS0, IPMMU-DS1 and the shared IPMMU-MM device. Signed-off-by: Magnus Damm Signed-off-by: Simon Horman --- v4 [Simon Horman] *

[PATCH v4 12/15] arm64: dts: renesas: r8a7795: Connect Ethernet-AVB to IPMMU-DS0

2017-11-01 Thread Simon Horman
From: Magnus Damm Add IPMMU-DS0 to the Ethernet-AVB device node. Signed-off-by: Magnus Damm Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 1 + 1 file changed, 1 insertion(+) diff

[PATCH 4/4] arm64: dts: renesas: r8a77970: Enable IPMMU-DS1, RT and MM

2017-11-01 Thread Simon Horman
Enable the r8a77970 device nodes for IPMMU-DS1, IPMMU-RT and the shared IPMMU-MM device. Based on work for the r8a7796 by Magnus Damm. Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77970.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH v4 01/15] arm64: dts: renesas: r8a7795: Add IPMMU device nodes

2017-11-01 Thread Simon Horman
From: Magnus Damm Add r8a7795 IPMMU nodes and keep all disabled by default. This includes all IPMMU devices for r8a7795 ES2.0. Those not present in r8a7795 ES1.x are removed from the DT for those SoCs using delete-node. A follow-up patch will add IPMMU devices to

[PATCH 0/4] arm64: dts: renesas: r8a7796: IPMMU upstream integration

2017-11-01 Thread Simon Horman
instances on r8a77970 that are used by IPMMU devices listed above. The DT binding for r8a77970 are been submitted (as part of the r8a779(70|95) series noted above) in conjunction with this patchset. This is based on work by Magnus Damm. Based on renesas-devel-20171101-v4.14-rc7 Simon Horman (4

[PATCH 1/2] iommu/ipmmu-vmsa: Add r8a779(70|95) DT bindings

2017-11-01 Thread Simon Horman
Update the IPMMU DT binding documentation to include the r8a77970 (R-Car V3M) and r8a77995 (R-Car D3) compat strings. Based on work for r8a7796 by Magnus Damm. Signed-off-by: Simon Horman --- Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt | 2 ++ 1

[PATCH 2/2] arm64: dts: renesas: r8a77995: Connect Ethernet-AVB to IPMMU-RT

2017-11-01 Thread Simon Horman
Add IPMMU-RT to the Ethernet-AVB device node. Based on work by Magnus Damm for the r8a7795. Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77995.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi

[PATCH 2/2] iommu/ipmmu-vmsa: Hook up r8a779(70|95) DT matching code

2017-11-01 Thread Simon Horman
Support the r8a77970 (R-Car V3M) and r8a77995 (R-Car D3) IPMMUs by sharing feature flags with r8a7795 (R-Car H3) and r8a7796 (R-Car M3-W). Also update IOMMU_OF_DECLARE to hook up the compat strings. Based on work for the r8a7796 by Magnus Damm Signed-off-by: Simon Horman

[PATCH 4/7] arm64: dts: renesas: r8a7796: Point FDP1 via FCPF to IPMMU-VI0

2017-11-01 Thread Simon Horman
Hook up the FCPF devices to allow use of FDP1 with IPMMU-VI0. Based on work by Magnus Damm for the r8a7795. Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 3/4] arm64: dts: renesas: r8a77970: Connect Ethernet-AVB to IPMMU-RT

2017-11-01 Thread Simon Horman
Add IPMMU-RT to the Ethernet-AVB device node. Based on work by Magnus Damm for the r8a7795. Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77970.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77970.dtsi

[PATCH 1/4] arm64: dts: renesas: r8a77970: Add IPMMU device nodes

2017-11-01 Thread Simon Horman
Add r8a77970 IPMMU nodes and keep all disabled by default. Based on work for the r8a7796 by Magnus Damm Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77970.dtsi | 41 +++ 1 file changed, 41 insertions(+) diff --git

[PATCH v4 03/15] arm64: dts: renesas: r8a7795: Tie SYS-DMAC to IPMMU-DS0/1

2017-11-01 Thread Simon Horman
From: Magnus Damm Hook up r8a7795 SYS-DMAC nodes to the IPMMUs. In particular SYS-DMAC0 gets tied to IPMMU-DS0, and SYS-DMAC1 and SYS-DMAC2 get tied to IPMMU-DS1. Signed-off-by: Magnus Damm Reviewed-by: Laurent Pinchart

[PATCH 2/7] arm64: dts: renesas: r8a7796: Tie SYS-DMAC to IPMMU-DS0/1

2017-11-01 Thread Simon Horman
From: Magnus Damm Hook up r8a7796 DMAC nodes to the IPMMUs. In particular SYS-DMAC0 gets tied to IPMMU-DS0, and SYS-DMAC1 and SYS-DMAC2 get tied to IPMMU-DS1. Signed-off-by: Magnus Damm Signed-off-by: Simon Horman

[PATCH 1/2] arm64: dts: renesas: r8a77995: Add IPMMU device nodes

2017-11-01 Thread Simon Horman
Add r8a77995 IPMMU nodes and keep all disabled by default. Based on work for the r8a7795 and r8a7796 by Magnus Damm Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77995.dtsi | 82 +++ 1 file changed, 82 insertions(+) diff

[PATCH v4 13/15] arm64: dts: renesas: r8a7795: Connect SATA to IPMMU-HC

2017-11-01 Thread Simon Horman
From: Magnus Damm Add IPMMU-HC to the SATA device node. Signed-off-by: Magnus Damm Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 2/4] arm64: dts: renesas: r8a77970: Tie SYS-DMAC to IPMMU-DS1

2017-11-01 Thread Simon Horman
Hook up r8a77970 DMAC nodes to the IPMMU. In particular SYS-DMAC1 and SYS-DMAC2 get tied to IPMMU-DS1. Based on work for the r8a7796 by Magnus Damm. Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77970.dtsi | 8 1 file changed, 8

[PATCH 7/7] arm64: dts: renesas: r8a7796: Enable IPMMU-DS0, DS1, MP, VI0, VC0 and MM

2017-11-01 Thread Simon Horman
From: Magnus Damm Enable the r8a7795 device nodes for IPMMU-DS0, IPMMU-DS1, IPMMU-MP, IPMMU-VI0, IPMMU-VC0 and the shared IPMMU-MM device. Signed-off-by: Magnus Damm [simon: enable IPMMU-MP, VI0 and VC0] Signed-off-by: Simon Horman

[PATCH v4 10/15] arm64: dts: renesas: r8a7795: Point VSPI via FCPVI to IPMMU-VP0/1

2017-11-01 Thread Simon Horman
From: Magnus Damm Hook up the FCPVI devices to allow use of VSPI with IPMMU-VP0 and IPMMU-VP1. Signed-off-by: Magnus Damm Signed-off-by: Simon Horman --- v4 [Simon Horman] * broke out of larger patch * Use

[PATCH v4 09/15] arm64: dts: renesas: r8a7795: Point VSPBC/VSPBD via FCPVB to IPMMU-VP0/1

2017-11-01 Thread Simon Horman
From: Magnus Damm Hook up the FCPVB devices to allow use of VSPBC/VSPBD with IPMMU-VP0 and IPMMU-VP1. Signed-off-by: Magnus Damm Signed-off-by: Simon Horman --- v4 [Simon Horman] * Use IPMMU-VP1 for FCPVP1 on

[PATCH 5/7] arm64: dts: renesas: r8a7796: Point VSPI via FCPVI to IPMMU-VC0

2017-11-01 Thread Simon Horman
Hook up the FCPVI devices to allow use of VSPI with IPMMU-VC0. Based on work for the r8a7795 by Magnus Damm. Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v4 02/15] arm64: dts: renesas: r8a7795-es1: Add IPMMU device nodes

2017-11-01 Thread Simon Horman
From: Magnus Damm Add r8a7795 ES1.x IPMMU nodes and keep all disabled by default. This is a follow-up to a patch that adds IPMMU device nodes that are common to r8a7795 ES1.x and ES2.0 Signed-off-by: Magnus Damm Reviewed-by: Laurent

[PATCH 3/7] arm64: dts: renesas: r8a7796: Tie Audio-DMAC to IPMMU-MP

2017-11-01 Thread Simon Horman
Hook up r8a7796 Audio-DMAC nodes to the IPMMU-MP. Based on work for the r8a7795 by Magnus Damm. Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 16 1 file changed, 16 insertions(+) diff --git

[PATCH v4 15/15] arm64: dts: renesas: r8a7795-es1: Enable IPMMU-MP1

2017-11-01 Thread Simon Horman
From: Magnus Damm Enable the r8a7795 ES1.x device node for IPMMU-MP1. Signed-off-by: Magnus Damm Signed-off-by: Simon Horman --- v4 [Simon Horman] * Broke out of larger patch v1 - v3 [Magnus Damm] ---

[PATCH v4 04/15] arm64: dts: renesas: r8a7795: Tie Audio-DMAC to IPMMU-MP0/1

2017-11-01 Thread Simon Horman
From: Magnus Damm Hook up r8a7795 ES2.0 Audio-DMAC nodes to the IPMMU-MP0. Hook up r8a7795 ES1.x Audio-DMAC nodes to the IPMMU-MP1. Signed-off-by: Magnus Damm Reviewed-by: Laurent Pinchart

Re: [PATCH] PM / QoS: Fix default runtime_pm device resume latency

2017-11-01 Thread Tero Kristo
On 01/11/17 00:32, Rafael J. Wysocki wrote: On Tue, Oct 31, 2017 at 7:07 PM, Geert Uytterhoeven wrote: Hi Rafael, On Tue, Oct 31, 2017 at 6:22 PM, Rafael J. Wysocki wrote: On Tue, Oct 31, 2017 at 2:55 PM, Geert Uytterhoeven

Re: [PATCH v2 0/5] PM / Domains: Remove gpd_dev_ops.active_wakeup() callback

2017-11-01 Thread Ulf Hansson
On 31 October 2017 at 19:11, Geert Uytterhoeven wrote: > Hi Rafael, Ulf, Kevin, > > It is quite common for PM Domains to require slave devices to be kept > active during system suspend if they are to be used as wakeup sources. > To enable this, currently each PM

Re: [PATCH 9/9] ARM: multi_v7_defconfig: Enable DMA for Renesas serial ports

2017-11-01 Thread Rob Landley
On 07/11/2017 05:46 AM, Geert Uytterhoeven wrote: > Hi Rob, > > On Tue, Jul 11, 2017 at 12:37 PM, Rob Landley wrote: >> On 07/11/2017 03:59 AM, Geert Uytterhoeven wrote: >>> On Tue, Jul 11, 2017 at 10:42 AM, Arnd Bergmann wrote: On Tue, Jul 11, 2017 at

Re: PCI: rcar: Use common error handling code in rcar_pcie_enable_msi()

2017-11-01 Thread SF Markus Elfring
> This is fine by me Thanks for another bit of change acceptance. > except that the change in the name of the goto label seems spurious. I am curious if the popularity of a jump label like “err” will decrease (in the Linux source files) over time. > But if you really want to change it then

Re: [PATCH 2/3] soc: renesas: Identify R-Car M3-W ES1.1

2017-11-01 Thread Simon Horman
On Mon, Oct 30, 2017 at 06:29:58PM +0100, Geert Uytterhoeven wrote: > The Product Register of R-Car M3-W ES1.1 incorrectly identifies the SoC > revision as ES2.0. Add a workaround to fix this. > > Signed-off-by: Geert Uytterhoeven > --- > Is it already known how future

Re: [PATCH 0/2] arm64: dts: renesas: r8a77970: Add SMP Support

2017-11-01 Thread Simon Horman
On Mon, Oct 30, 2017 at 05:07:11PM +0100, Geert Uytterhoeven wrote: > Hi Simon, Magnus, > > This patch series enables SMP support on the R-Car V3M SoC, by adding > the second Cortex-A53 CPU core. It also adds the performance monitor > unit, and links it to both CPU cores. > > Note that

Re: [PATCH 0/3] arm64: dts: renesas: eagle: Add watchdog timer support

2017-11-01 Thread Simon Horman
On Mon, Oct 30, 2017 at 04:56:26PM +0100, Geert Uytterhoeven wrote: > Hi Simon, Magnus, > > This patch series adds support for the watchdog timer on R-Car V3M, and > enables it on the Eagle development board. > > This allows to use the watchdog timer to reset the board, until PSCI is >

Re: [PATCH] PCI: rcar: Use common error handling code in rcar_pcie_enable_msi()

2017-11-01 Thread Simon Horman
On Mon, Oct 30, 2017 at 08:35:30AM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 30 Oct 2017 08:28:06 +0100 > > Adjust a jump target so that a specific error message is stored only once > at the end of this function implementation. > Replace