On Wed, Sep 09, 2020 at 01:06:39PM -0700, Joe Perches wrote:
> fallthrough to a separate case/default label break; isn't very readable.
>
> Convert pseudo-keyword fallthrough; statements to a simple break; when
> the next label is case or default and the only statement in the next
> label block is
;
> Change the #ifdef to an equivalent IS_ENABLED().
>
> Fixes: 6580c8a78424 ("iommu/renesas: Convert to probe/release_device()
> call-backs")
> Signed-off-by: Arnd Bergmann
Reviewed-by: Simon Horman
> ---
> drivers/iommu/ipmmu-vmsa.c | 7 ++-
> 1 file chan
n3
> only.
>
> Fixes: c295f504fb5a38ab ("iommu/ipmmu-vmsa: Allow two bit SL0")
> Signed-off-by: Geert Uytterhoeven
Reviewed-by: Simon Horman
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
e, this patch removes setting these fields in the IMTTBCR register,
> since it will have no effect, and adds comments to the register bit
> definitions, to make it clear they apply to R-Car Gen2 only.
>
> Signed-off-by: Hai Nguyen Pham
> [geert: Reword, add comments]
> Signed-off-by:
On Tue, Jul 23, 2019 at 02:26:47PM +0900, Yoshihiro Shimoda wrote:
> This patch adds a helper function whether a queue can merge
> the segments by the DMA MAP layer (e.g. via IOMMU).
>
> Signed-off-by: Yoshihiro Shimoda
> Reviewed-by: Christoph Hellwig
Reviewed-b
.
> >
> > Signed-off-by: Yoshihiro Shimoda
Sergei's comment notwithstanding,
Reviewed-by: Simon Horman
> > ---
> > drivers/iommu/dma-iommu.c | 11 +++
> > 1 file changed, 11 insertions(+)
> >
> > diff --git a/drivers/iommu/dma-iommu.c b/driver
yer by using blk_queue_can_use_dma_map_merging().
>
> Signed-off-by: Yoshihiro Shimoda
> Reviewed-by: Christoph Hellwig
> Reviewed-by: Ulf Hansson
Reviewed-by: Simon Horman
___
iommu mailing list
iommu@lists.linux-foundation.org
https://l
On Tue, Jul 23, 2019 at 02:26:46PM +0900, Yoshihiro Shimoda wrote:
> This patch sorts the headers in alphabetic order to ease
> the maintenance for this part.
>
> Signed-off-by: Yoshihiro Shimoda
> Reviewed-by: Wolfram Sang
Reviewed-b
ointer.
>
> Signed-off-by: Yoshihiro Shimoda
> Reviewed-by: Christoph Hellwig
Reviewed-by: Simon Horman
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
On Wed, Apr 03, 2019 at 08:21:48PM +0200, Geert Uytterhoeven wrote:
> During PSCI system suspend, R-Car Gen3 SoCs are powered down, and all
> IPMMU state is lost. Hence after s2ram, devices wired behind an IPMMU,
> and configured to use it, will see their DMA operations hang.
>
> To fix this, res
On Thu, Apr 11, 2019 at 10:32:40AM +0200, Simon Horman wrote:
> On Wed, Apr 03, 2019 at 08:21:46PM +0200, Geert Uytterhoeven wrote:
> > The maximum number of micro-TLBs per IPMMU instance is not fixed, but
> > depends on the SoC type. Hence move it from struct ipmmu_vmsa_devic
w subroutine
> ipmmu_domain_setup_context(), to prepare for later reuse.
>
> Signed-off-by: Geert Uytterhoeven
Reviewed-by: Simon Horman
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
On Wed, Apr 03, 2019 at 08:21:46PM +0200, Geert Uytterhoeven wrote:
> The maximum number of micro-TLBs per IPMMU instance is not fixed, but
> depends on the SoC type. Hence move it from struct ipmmu_vmsa_device to
> struct ipmmu_features, and set up the correct value for both R-Car Gen2
> and Gen3
ven
> Reviewed-by: Laurent Pinchart
Reviewed-by: Simon Horman
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
rt Uytterhoeven
> ---
> Apart from this, the driver doesn't support 40-bit IOVA addresses yet.
None the less this seems like progress.
Reviewed-by: Simon Horman
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfound
On Wed, Apr 03, 2019 at 08:21:43PM +0200, Geert Uytterhoeven wrote:
> As of commit 7af9a5fdb9e0ca33 ("iommu/ipmmu-vmsa: Use
> iommu_device_sysfs_add()/remove()"), IOMMU devices show up under
> /sys/class/iommus/, but their "devices" subdirectories are empty.
Hi Geert,
Should the path be /sys/clas
On Thu, Apr 11, 2019 at 10:10:28AM +0200, Simon Horman wrote:
> On Wed, Apr 03, 2019 at 08:21:43PM +0200, Geert Uytterhoeven wrote:
> > As of commit 7af9a5fdb9e0ca33 ("iommu/ipmmu-vmsa: Use
> > iommu_device_sysfs_add()/remove()"), IOMMU devices show up under
> >
On Thu, Dec 13, 2018 at 08:19:28PM +, Fabrizio Castro wrote:
> Document RZ/G2E (R8A774C0) SoC bindings.
>
> Signed-off-by: Fabrizio Castro
Reviewed-by: Simon Horman
___
iommu mailing list
iommu@lists.linux-foundation.
On Thu, Dec 13, 2018 at 08:22:44PM +, Fabrizio Castro wrote:
> Support RZ/G2E (a.k.a. R8A774C0) IPMMU.
>
> Signed-off-by: Fabrizio Castro
Reviewed-by: Simon Horman
___
iommu mailing list
iommu@lists.linux-foundation.
ro Shimoda
> Reviewed-by: Geert Uytterhoeven
Reviewed-by: Simon Horman
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
shihiro Shimoda
> Reviewed-by: Geert Uytterhoeven
Reviewed-by: Simon Horman
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
On Thu, Nov 08, 2018 at 11:23:58AM +, Fabrizio Castro wrote:
> Dear All,
>
> Who is the best person to take this patch?
I believe this one is also for Joerg.
> Thanks,
> Fab
>
> > From: Fabrizio Castro
> > Sent: 17 August 2018 15:31
> > Subject: [PATCH 2/2] dt-bindings: iommu: ipmmu-vmsa:
On Fri, Aug 17, 2018 at 03:31:05PM +0100, Fabrizio Castro wrote:
> Document RZ/G2M (R8A774A1) SoC bindings.
>
> Signed-off-by: Fabrizio Castro
> Reviewed-by: Biju Das
> ---
> This patch applies on top of next-20180817
Reviewe
On Thu, Aug 23, 2018 at 04:33:04PM +0100, Fabrizio Castro wrote:
> Add support for RZ/G2M (R8A774A1) SoC IPMMUs.
>
> Signed-off-by: Fabrizio Castro
> Reviewed-by: Biju Das
Reviewed-by: Simon Horman
> ---
> v1-v2:
> * taken out IOMMU_OF_DECLARE
>
> drivers/iommu
Hi Fabrizio,
I believe this one is for Joerg.
On Thu, Nov 08, 2018 at 11:22:55AM +, Fabrizio Castro wrote:
> Dear All,
>
> Who is the best person to take this patch?
>
> Thanks,
> Fab
>
> > From: Fabrizio Castro
> > Sent: 23 August 2018 16:33
> > Subject: [PATCH v2 1/2] iommu/ipmmu-vmsa:
On Mon, Oct 15, 2018 at 01:56:18PM +0300, Sergei Shtylyov wrote:
> Hello!
>
> On 10/15/2018 12:55 PM, Simon Horman wrote:
>
> > From: Hai Nguyen Pham
> >
> > Support the r8a77990 IPMMU and update IPMMU_OF_DECLARE to hook up
>
>That macro is gone
From: Hai Nguyen Pham
Support the R-Car E3 (r8a77990) IPMMU.
Signed-off-by: Hai Nguyen Pham
Signed-off-by: Kazuya Mizuguchi
[simon: rebased; dropped no longer required IOMMU_OF_DECLARE hunk]
Signed-off-by: Simon Horman
---
v2 [Simon Horman]
* Update changelog
---
drivers/iommu/ipmmu-vmsa.c
From: Hai Nguyen Pham
Support the r8a77990 IPMMU and update IPMMU_OF_DECLARE to hook up
the updated compat string.
Signed-off-by: Hai Nguyen Pham
Signed-off-by: Kazuya Mizuguchi
[simon: rebased; dropped no longer required IOMMU_OF_DECLARE hunk]
Signed-off-by: Simon Horman
---
drivers/iommu
On Thu, Oct 04, 2018 at 05:25:47PM +0100, Biju Das wrote:
> Document RZ/G1N (R8A7744) SoC bindings.
>
> Signed-off-by: Biju Das
> Reviewed-by: Chris Paterson
Reviewed-by: Simon Horman
___
iommu mailing list
iommu@lists.linux-foundati
tending the list of IOMMU types on ARM platforms, replace
> the list by "ARM || ARM64", like other architectures do. The feature is
> still restricted to ARM/ARM64 platforms with an IOMMU by the dependency
> on IOMMU_API.
>
> Signed-off-
On Thu, Aug 23, 2018 at 04:33:04PM +0100, Fabrizio Castro wrote:
> Add support for RZ/G2M (R8A774A1) SoC IPMMUs.
>
> Signed-off-by: Fabrizio Castro
> Reviewed-by: Biju Das
> ---
> v1-v2:
> * taken out IOMMU_OF_DECLARE
Revi
On Fri, Aug 17, 2018 at 03:31:04PM +0100, Fabrizio Castro wrote:
> Add support for RZ/G2M (R8A774A1) SoC IPMMUs.
>
> Signed-off-by: Fabrizio Castro
> Reviewed-by: Biju Das
There seems to be a typo in the subject: s/maching/matching/
That notwithstanding:
Reviewed-by:
On Fri, Aug 17, 2018 at 03:31:05PM +0100, Fabrizio Castro wrote:
> Document RZ/G2M (R8A774A1) SoC bindings.
>
> Signed-off-by: Fabrizio Castro
> Reviewed-by: Biju Das
Reviewed-by: Simon Horman
___
iommu mailing list
iommu@lists.linux-fo
On Thu, Aug 02, 2018 at 01:49:39AM +, Kuninori Morimoto wrote:
>
> From: Kuninori Morimoto
>
> Signed-off-by: Kuninori Morimoto
Reviewed-by: Simon Horman
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfo
r R-Car Gen2 and R-Car Gen3 SoCs.
> >
> > Drop a superfluous "Renesas" while at it.
> >
> > Signed-off-by: Geert Uytterhoeven
>
> Reviewed-by: Laurent Pinchart
Reviewed-by: Simon Horman
>
> > ---
> > drivers/iommu/Kconfig | 4 ++--
> - Adds support for M3-N, M3-W, V3-M and E3 to ipmmu-vmsa driver
> - Documents M3-N, V3H and E3 device tree bindings
>
> All patches have been acked/reviewed by, if nothing big happens they should
> be ready to be collected.
All patches:
Reviewed-by: Simon Horman
Joerg, Ale
On Mon, May 21, 2018 at 11:41:33PM +0900, Magnus Damm wrote:
> From: Magnus Damm
>
> Update the IPMMU DT binding documentation to include the compat strings
> for the IPMMU devices included in the R-Car V3H and E3 SoCs.
>
> Signed-off-by: Magnus Damm
Reviewe
On Wed, Mar 14, 2018 at 10:08:34AM +0100, Joerg Roedel wrote:
> On Wed, Mar 07, 2018 at 09:09:21AM +0100, Simon Horman wrote:
> > [CC Alex Williamson]
> >
> > It looks like the last patch to this file was taken by Alex.
> > Perhaps he would be willing to tak
know who is supposed to take this patch?
>
> Thanks,
> Fab
>
> > -Original Message-
> > From: Biju Das [mailto:biju@bp.renesas.com]
> > Sent: 24 January 2018 15:42
> > To: Joerg Roedel ; Laurent Pinchart
> > ; Geert Uytterhoeven
> >
On Tue, Feb 27, 2018 at 09:28:38AM +0100, jacopo mondi wrote:
> Hi Geert,
>
> On Mon, Feb 26, 2018 at 07:28:47PM +0100, Geert Uytterhoeven wrote:
> > Hi Jacopo,
> >
> > On Mon, Feb 26, 2018 at 6:57 PM, Jacopo Mondi
> > wrote:
> > > as discussed with you Sergei and Geert, in order to enable Eth
On Wed, Jan 24, 2018 at 03:42:02PM +, Biju Das wrote:
> Add the six IPMMU instances found in the r8a7745 to DT with a disabled
> status.
>
> Signed-off-by: Biju Das
> Reviewed-by: Chris Paterson
Thanks, I have applied this after moving the nodes
so they are after the irqc node to take into
On Wed, Jan 24, 2018 at 03:42:01PM +, Biju Das wrote:
> Add the six IPMMU instances found in the r8a7743 to DT with a disabled
> status.
>
> Signed-off-by: Biju Das
> Reviewed-by: Chris Paterson
> ---
> arch/arm/boot/dts/r8a7743.dtsi | 58
> ++
> 1 f
On Wed, Jan 24, 2018 at 03:42:00PM +, Biju Das wrote:
> Document r8a774[35] specific compatible strings. The Renesas RZ/G1[ME]
> (r8a774[35]) IPMMU are identical to the R-Car Gen2 family.
>
> Signed-off-by: Biju Das
> Reviewed-by: Chris Paterson
Reviewed-b
On Wed, Dec 20, 2017 at 12:02:44PM -0700, Alex Williamson wrote:
> On Fri, 24 Nov 2017 10:58:02 +
> Simon Horman wrote:
>
> > Update the IPMMU DT binding documentation to include r8a7796 (R-Car M3-W),
> > r8a77970 (R-Car V3M) and r8a77995 (R-Car D3) compat strings.
>
Hi Alex,
On Fri, Nov 24, 2017 at 10:58:02AM +, Simon Horman wrote:
> Update the IPMMU DT binding documentation to include r8a7796 (R-Car M3-W),
> r8a77970 (R-Car V3M) and r8a77995 (R-Car D3) compat strings.
>
> This patch-set is comprised of patches previously included in
>
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
Reviewed-by: Geert Uytterhoeven
---
v2
* Correct typo: R8A7770 -> R8A77970
---
Documentation/devicet
From: Magnus Damm
Update the IPMMU DT binding documentation to include the r8a7796 compat
string for R-Car M3-W.
Signed-off-by: Magnus Damm
Acked-by: Laurent Pinchart
Acked-by: Rob Herring
Acked-by: Simon Horman
Acked-by: Geert Uytterhoeven
---
Documentation/devicetree/bindings/iommu
970
Magnus Damm (1):
iommu/ipmmu-vmsa: Add r8a7796 DT binding
Simon Horman (1):
iommu/ipmmu-vmsa: Add r8a779(70|95) DT bindings
Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt | 3 +++
1 file changed, 3 insertions(+)
--
2.11.0
___
io
From: Magnus Damm
Support the r8a7796 IPMMU by sharing feature flags between
r8a7795 and r8a7796. Also update IOMMU_OF_DECLARE to hook
up the updated compat string.
Signed-off-by: Magnus Damm
Reviewed-by: Geert Uytterhoeven
---
drivers/iommu/ipmmu-vmsa.c | 14 ++
1 file changed, 1
a: Hook up r8a7796 DT matching code
Simon Horman (1):
iommu/ipmmu-vmsa: Hook up r8a779(70|95) DT matching code
drivers/iommu/ipmmu-vmsa.c | 36 +---
1 file changed, 29 insertions(+), 7 deletions(-)
--
2.11.0
___
iommu ma
From: Magnus Damm
Bump up the maximum numbers of micro-TLBS to 48.
Each IPMMU device instance get micro-TLB assignment via
the "iommus" property in DT. Older SoCs tend to use a
maximum number of 32 micro-TLBs per IPMMU instance however
newer SoCs such as r8a7796 make use of up to 48 micro-TLBs.
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
Reviewed-by: Geert
From: Magnus Damm
Update the IPMMU DT binding documentation to include the r8a7796 compat
string for R-Car M3-W.
Signed-off-by: Magnus Damm
Acked-by: Laurent Pinchart
Acked-by: Rob Herring
Acked-by: Geert Uytterhoeven
Signed-off-by: Simon Horman
---
Documentation/devicetree/bindings/iommu
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
Reviewed-by: Geert Uytterhoeven
---
Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt | 2
) support
Those series also include driver updates to implement the bindings,
however, it while it is felt that the bindings themselves are ready
to be merged we feel that the driver updates are not at that stage yet.
Magnus Damm (1):
iommu/ipmmu-vmsa: Add r8a7796 DT binding
Simon Horman (1
On Mon, Nov 06, 2017 at 12:22:01PM -0700, Alex Williamson wrote:
> On Wed, 1 Nov 2017 11:34:21 +0100
> Simon Horman wrote:
>
> > Update Update the IPMMU DT binding documentation and driver implementation
> > to support the r8a77970 (R-Car V3M) and r8a77995 (R-Car D3).
>
-vmsa: r8a7796 support V4
(fuzz when applying 3/3)
Simon Horman (2):
iommu/ipmmu-vmsa: Add r8a779(70|95) DT bindings
iommu/ipmmu-vmsa: Hook up r8a779(70|95) DT matching code
.../devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt | 2 ++
drivers/iommu/ipmmu-vmsa.c
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
---
drivers/iommu
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 file changed, 2 insertions
On Wed, Oct 04, 2017 at 02:33:08PM +0200, Geert Uytterhoeven wrote:
> Use the preferred generic node name in the example.
>
> Signed-off-by: Geert Uytterhoeven
Reviewed-by: Simon Horman
___
iommu mailing list
iommu@lists.linux-foundation.
Make use of ARCH_RENESAS in place of ARCH_SHMOBILE.
This is part of an ongoing process to migrate from ARCH_SHMOBILE to
ARCH_RENESAS the motivation for which being that RENESAS seems to be a more
appropriate name than SHMOBILE for the majority of Renesas ARM based SoCs.
Signed-off-by: Simon
are ok for you?
> >
> No strong opinions one way or the other, patches 2-4 don't really do
> anything of significance.
>
> Acked-by: Paul Mundt
Likewise. shmobile patches:
Acked-by: Simon Horman
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
62 matches
Mail list logo