Re: [PATCH] documentation: iommu: add description of ARM System MMU binding

2013-04-05 Thread Rob Herring
On 04/04/2013 11:50 AM, Will Deacon wrote: This patch adds a description of the device tree binding for the ARM System MMU architecture. Cc: Rob Herring robherri...@gmail.com Cc: Andreas Herrmann andreas.herrm...@calxeda.com Signed-off-by: Will Deacon will.dea...@arm.com --- Hello

Re: [PATCH v8 06/12] ARM: dts: Add description of System MMU of Exynos SoCs

2013-07-27 Thread Rob Herring
On Fri, Jul 26, 2013 at 6:28 AM, Cho KyongHo pullip@samsung.com wrote: Signed-off-by: Cho KyongHo pullip@samsung.com --- .../bindings/iommu/samsung,exynos4210-sysmmu.txt | 103 +++ arch/arm/boot/dts/exynos4.dtsi | 122

Re: [PATCH 6/6] iommu/arm-smmu: Support buggy implemenations where all config accesses are secure

2013-10-01 Thread Rob Herring
On 10/01/2013 07:39 AM, Andreas Herrmann wrote: In such a case we have to use secure aliases of some non-secure registers. This behaviour is controlled via a flag in smmu-bugs. It is set based on DT information when probing an SMMU device. Perhaps quirks would be a nicer word...

Re: [PATCH v8 06/12] ARM: dts: Add description of System MMU of Exynos SoCs

2013-10-07 Thread Rob Herring
On Fri, Jul 26, 2013 at 6:28 AM, Cho KyongHo pullip@samsung.com wrote: Signed-off-by: Cho KyongHo pullip@samsung.com --- .../bindings/iommu/samsung,exynos4210-sysmmu.txt | 103 +++ arch/arm/boot/dts/exynos4.dtsi | 122

Re: [PATCH 3/5] iommu/arm-smmu: Introduce stream ID masking

2013-10-08 Thread Rob Herring
On 10/08/2013 11:59 AM, Will Deacon wrote: On Tue, Oct 08, 2013 at 05:40:21PM +0100, Andreas Herrmann wrote: On Tue, Oct 08, 2013 at 05:20:08PM +0200, Andreas Herrmann wrote: To be more specific: For SATA I'd need to specify 10 StreamIds. This would (1) exceed MAX_MASTER_STREAMIDS (currently

Re: [PATCH 6/6] documentation/iommu: Update description of ARM System MMU binding

2013-10-31 Thread Rob Herring
. Cc: Rob Herring robherri...@gmail.com Cc: Grant Likely grant.lik...@linaro.org Cc: Will Deacon will.dea...@arm.com Signed-off-by: Andreas Herrmann andreas.herrm...@calxeda.com --- .../devicetree/bindings/iommu/arm,smmu.txt | 12 1 file changed, 12 insertions(+) diff

Re: Report from 2013 ARM kernel summit

2013-11-19 Thread Rob Herring
On 11/19/2013 11:35 AM, Will Deacon wrote: On Tue, Nov 19, 2013 at 09:40:54AM +, Hiroshi Doyu wrote: Grant Likely grant.lik...@secretlab.ca wrote @ Fri, 15 Nov 2013 08:06:27 +0100: On Mon, 11 Nov 2013 10:47:23 +0100, Hiroshi Doyu hd...@nvidia.com wrote: 1, When a device is populated, it

Re: Report from 2013 ARM kernel summit

2013-11-20 Thread Rob Herring
On Wed, Nov 20, 2013 at 7:53 AM, Thierry Reding thierry.red...@gmail.com wrote: On Wed, Nov 20, 2013 at 10:31:11AM +, Will Deacon wrote: On Tue, Nov 19, 2013 at 08:45:02PM +, Rob Herring wrote: On 11/19/2013 11:35 AM, Will Deacon wrote: Adding Andreas and Rob for input on potential

Re: Report from 2013 ARM kernel summit

2013-11-20 Thread Rob Herring
On Wed, Nov 20, 2013 at 12:39 AM, Hiroshi Doyu hd...@nvidia.com wrote: Hi Rob, Rob Herring robherri...@gmail.com wrote @ Tue, 19 Nov 2013 21:45:02 +0100: On 11/19/2013 11:35 AM, Will Deacon wrote: On Tue, Nov 19, 2013 at 09:40:54AM +, Hiroshi Doyu wrote: Grant Likely grant.lik

Re: Report from 2013 ARM kernel summit

2013-11-20 Thread Rob Herring
On Wed, Nov 20, 2013 at 4:31 AM, Will Deacon will.dea...@arm.com wrote: On Tue, Nov 19, 2013 at 08:45:02PM +, Rob Herring wrote: On 11/19/2013 11:35 AM, Will Deacon wrote: Adding Andreas and Rob for input on potential binding additions to the SMMU. The above proposal would

Re: [PATCHv5 1/9] of: introduce of_property_for_earch_phandle_with_args()

2013-11-21 Thread Rob Herring
On Thu, Nov 21, 2013 at 11:20 AM, Hiroshi Doyu hd...@nvidia.com wrote: Grant Likely grant.lik...@linaro.org wrote @ Thu, 21 Nov 2013 16:56:49 +0100: On Thu, 21 Nov 2013 15:12:18 +0200, Hiroshi Doyu hd...@nvidia.com wrote: On Thu, 21 Nov 2013 13:43:28 +0100 Grant Likely

Re: [PATCH 09/11] ARM: dts: Add nodes for SMMUs on Calxeda ECX-2000

2014-01-16 Thread Rob Herring
On Thu, Jan 16, 2014 at 6:44 AM, Andreas Herrmann andreas.herrm...@calxeda.com wrote: Cc: Rob Herring robh...@kernel.org Cc: Andreas Herrmann herrmann.der.u...@googlemail.com Signed-off-by: Andreas Herrmann andreas.herrm...@calxeda.com One minor comment, but otherwise: Acked-by: Rob Herring r

Re: [PATCH 08/11] of: Increase MAX_PHANDLE_ARGS

2014-01-16 Thread Rob Herring
. To support Calxeda ECX-2000 hardware arm-smmu driver requires a slightly higher value for MAX_PHANDLE_ARGS as this hardware has 10 stream IDs for one master device. Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring robh...@kernel.org Cc: devicet...@vger.kernel.org Cc: Andreas Herrmann

Re: [PATCH 06/11] documentation/iommu: Update description of ARM System MMU binding

2014-01-16 Thread Rob Herring
On Thu, Jan 16, 2014 at 6:44 AM, Andreas Herrmann andreas.herrm...@calxeda.com wrote: This patch adds descriptions fore new properties of device tree binding for the ARM SMMU architecture. These properties control arm-smmu driver options. Cc: Rob Herring robherri...@gmail.com Cc: Grant

Re: [PATCH v2] devicetree: Add generic IOMMU device tree bindings

2014-05-30 Thread Rob Herring
On Fri, May 23, 2014 at 3:33 PM, Thierry Reding thierry.red...@gmail.com wrote: From: Thierry Reding tred...@nvidia.com This commit introduces a generic device tree binding for IOMMU devices. Only a very minimal subset is described here, but it is enough to cover the requirements of both the

Re: [PATCH v2] devicetree: Add generic IOMMU device tree bindings

2014-05-30 Thread Rob Herring
On Fri, May 30, 2014 at 2:06 PM, Arnd Bergmann a...@arndb.de wrote: On Friday 30 May 2014 08:16:05 Rob Herring wrote: On Fri, May 23, 2014 at 3:33 PM, Thierry Reding thierry.red...@gmail.com wrote: From: Thierry Reding tred...@nvidia.com +IOMMU master node

Re: [PATCH v4] devicetree: Add generic IOMMU device tree bindings

2014-07-30 Thread Rob Herring
of you take a look at this please? I've been quiet on this round, but I think prior input I've had has been addressed. If we believe this will work for ARM SMMU and MSM IOMMU and some of the crazy chaining scenarios, then I'm fine with the binding. Acked-by: Rob Herring r...@kernel.org Rob P.S

Re: [PATCH v6 2/8] dma-mapping: replace set_arch_dma_coherent_ops with arch_setup_dma_ops

2014-12-01 Thread Rob Herring
robin.mur...@arm.com Signed-off-by: Will Deacon will.dea...@arm.com One comment below, but for the DT parts: Acked-by: Rob Herring r...@kernel.org --- arch/arm/include/asm/dma-mapping.h | 8 drivers/of/platform.c | 31 +-- include/linux/dma

Re: [PATCH v6 6/8] dma-mapping: detect and configure IOMMU in of_dma_configure

2014-12-01 Thread Rob Herring
...@samsung.com Tested-by: Robin Murphy robin.mur...@arm.com Signed-off-by: Will Deacon will.dea...@arm.com Acked-by: Rob Herring r...@kernel.org --- arch/arm/include/asm/dma-mapping.h | 4 +++- drivers/of/platform.c | 21 ++--- include/linux/dma-mapping.h| 8

Re: [PATCH v6 1/8] iommu: provide early initialisation hook for IOMMU drivers

2014-12-01 Thread Rob Herring
Adding Grant and Pantelis... On Mon, Dec 1, 2014 at 10:57 AM, Will Deacon will.dea...@arm.com wrote: IOMMU drivers must be initialised before any of their upstream devices, otherwise the relevant iommu_ops won't be configured for the bus in question. To solve this, a number of IOMMU drivers

Re: [PATCH v3 2/4] of: move of_dma_configure() to device, c to help re-use

2015-01-23 Thread Rob Herring
On Fri, Jan 23, 2015 at 12:19 PM, Murali Karicheri m-kariche...@ti.com wrote: On 01/09/2015 10:34 AM, Rob Herring wrote: On Thu, Jan 8, 2015 at 4:24 PM, Arnd Bergmanna...@arndb.de wrote: On Thursday 08 January 2015 14:26:36 Murali Karicheri wrote: On 01/08/2015 03:40 AM, Arnd Bergmann

Re: [PATCH v5 3/8] of: fix size when dma-range is not used

2015-01-27 Thread Rob Herring
: Joerg Roedel j...@8bytes.org Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring robh...@kernel.org Cc: Bjorn Helgaas bhelg...@google.com Cc: Will Deacon will.dea...@arm.com Cc: Russell King li...@arm.linux.org.uk Cc: Arnd Bergmann a...@arndb.de Cc: Suravee Suthikulpanit

Re: [PATCH v5 1/8] of: iommu: add ptr to OF node arg to of_iommu_configure()

2015-01-27 Thread Rob Herring
-range is used for PCI and iommu is not supported. So return error if the device is PCI. Cc: Joerg Roedel j...@8bytes.org Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring robh...@kernel.org Acked-by: Rob Herring r...@kernel.org Cc: Will Deacon will.dea...@arm.com Cc: Russell King li

Re: [PATCH v5 5/8] of/pci: add of_pci_dma_configure() update dma configuration

2015-01-27 Thread Rob Herring
() for implementing this. Cc: Joerg Roedel j...@8bytes.org Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring robh...@kernel.org Acked-by: Rob Herring r...@kernel.org Cc: Will Deacon will.dea...@arm.com Cc: Russell King li...@arm.linux.org.uk Cc: Arnd Bergmann a...@arndb.de Cc: Suravee

Re: [PATCH v4 3/6] of: fix size when dma-range is not used

2015-01-28 Thread Rob Herring
Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring robh...@kernel.org Cc: Bjorn Helgaas bhelg...@google.com Cc: Will Deacon will.dea...@arm.com Cc: Russell King li...@arm.linux.org.uk Cc: Arnd Bergmann a...@arndb.de Cc: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Signed

Re: [PATCH v3 2/4] of: move of_dma_configure() to device, c to help re-use

2015-01-09 Thread Rob Herring
On Thu, Jan 8, 2015 at 4:24 PM, Arnd Bergmann a...@arndb.de wrote: On Thursday 08 January 2015 14:26:36 Murali Karicheri wrote: On 01/08/2015 03:40 AM, Arnd Bergmann wrote: On Wednesday 07 January 2015 17:37:56 Rob Herring wrote: On Wed, Jan 7, 2015 at 12:49 PM, Murali Karicherim-kariche

Re: [PATCH] iommu/arm-smmu: don't touch the secure STLBIALL register

2015-01-06 Thread Rob Herring
On Tue, Jan 6, 2015 at 2:16 PM, Mitchel Humpherys mitch...@codeaurora.org wrote: On Tue, Jan 06 2015 at 06:15:07 AM, Will Deacon will.dea...@arm.com wrote: /* Invalidate the TLB, just in case */ -writel_relaxed(0, gr0_base + ARM_SMMU_GR0_STLBIALL); writel_relaxed(0, gr0_base +

Re: [PATCH v3 1/4] of: iommu: add ptr to OF node arg to of_iommu_configure()

2015-01-07 Thread Rob Herring
On Wed, Jan 7, 2015 at 12:49 PM, Murali Karicheri m-kariche...@ti.com wrote: Function of_iommu_configure() is called from of_dma_configure() to setup iommu ops using DT property. This API is currently used for platform devices for which DMA configuration (including iommu ops) may come from

Re: [PATCH v3 2/4] of: move of_dma_configure() to device, c to help re-use

2015-01-07 Thread Rob Herring
On Wed, Jan 7, 2015 at 12:49 PM, Murali Karicheri m-kariche...@ti.com wrote: Move of_dma_configure() to device.c so that same function can be re-used for PCI devices to obtain DMA configuration from DT. Also add a second argument so that for PCI, DT node of root bus host bridge can be used to

Re: [PATCH] iommu/arm-smmu: don't touch the secure STLBIALL register

2015-01-08 Thread Rob Herring
+Andreas On Wed, Jan 7, 2015 at 12:53 PM, Will Deacon will.dea...@arm.com wrote: On Wed, Jan 07, 2015 at 06:35:41PM +, Mitchel Humpherys wrote: On Wed, Jan 07 2015 at 10:04:20 AM, Will Deacon will.dea...@arm.com wrote: On Wed, Jan 07, 2015 at 05:52:46PM +, Mitchel Humpherys wrote:

Re: [RFC/PATCH 4/9] of: dma: Make of_dma_deconfigure() public

2015-05-29 Thread Rob Herring
the of_dma_configure() function is. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com One minor fix below, but otherwise: Acked-by: Rob Herring r...@kernel.org --- drivers/of/device.c | 12 drivers/of/platform.c | 5 - include/linux

Re: [RFC/PATCH 3/9] of: dma: Move range size workaround to of_dma_get_range()

2015-05-27 Thread Rob Herring
. Anyway, looks fine to me: Acked-by: Rob Herring r...@kernel.org Rob 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/drivers/of/address.c b/drivers/of/address.c index 78a7dcbec7d8..75eebd19ebfa 100644 --- a/drivers/of/address.c +++ b/drivers/of/address.c @@ -924,8 +924,8

Re: [RFC/PATCH 5/9] of: dma: Split of_configure_dma() into mask and ops configuration

2015-05-29 Thread Rob Herring
On Thu, May 14, 2015 at 6:00 PM, Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com wrote: The of_configure_dma() function configures both the DMA masks and ops. Moving DMA ops configuration to probe time would thus also delay configuration of the DMA masks, which might not be safe. To

Re: [PATCH 1/3] Docs: dt: add generic MSI bindings

2015-08-24 Thread Rob Herring
On Mon, Aug 24, 2015 at 5:17 AM, Mark Rutland mark.rutl...@arm.com wrote: On Wed, Aug 05, 2015 at 05:51:20PM +0100, Mark Rutland wrote: Rob, Do you have any objections to this, or are you happy to take this patch? There's a user of this binding (the GICv3 ITS) queued for v4.3 already in the

Re: [PATCH 1/2] of: base: Allow more args than MAX_PHANDLE_ARGS if required

2015-07-24 Thread Rob Herring
On Thu, Jul 16, 2015 at 6:09 AM, Joerg Roedel jroe...@suse.de wrote: Hi Will, On Thu, Jul 16, 2015 at 11:23:26AM +0100, Will Deacon wrote: On Thu, Jul 16, 2015 at 09:30:43AM +0100, Joerg Roedel wrote: +struct of_phandle_args *of_alloc_phandle_args(int size) +{ + struct of_phandle_args

Re: [PATCH 1/3] docs: iommu: Documentation for iommu in hi6220 SoC

2015-11-17 Thread Rob Herring
On Tue, Nov 17, 2015 at 5:57 AM, Chen Feng wrote: > Documentation for hi6220 iommu driver. Please use get_maintainers.pl and re-send to correct lists (devicet...@vger.kernel.org). > > Signed-off-by: Chen Feng > --- >

Re: [PATCH 2/7] doc:bindings:Document for mtcmos regulator on hi6220 SoC

2015-11-05 Thread Rob Herring
On Thu, Nov 05, 2015 at 09:34:43PM +0800, Chen Feng wrote: > Add Document for mtcmos driver on hi6220 SoC > > Signed-off-by: Chen Feng > Signed-off-by: Fei Wang > --- > .../bindings/regulator/hisilicon,hi6220-mtcmos.txt | 32 > ++ >

Re: [PATCH v2] iommu/ipmmu-vmsa: Include SoC part number in DT binding docs

2015-11-17 Thread Rob Herring
compatible string may be used as fallback. > > Signed-off-by: Magnus Damm <damm+rene...@opensource.se> Acked-by: Rob Herring <r...@kernel.org> > --- > > Changes since V1: > - Updated compat string section to the following: >"Must contain SoC-specif

Re: [PATCH v6 2/5] dt-bindings: mediatek: Add smi dts binding

2015-12-08 Thread Rob Herring
On Tue, Dec 08, 2015 at 05:49:10PM +0800, Yong Wu wrote: > This patch add smi binding document. > > Signed-off-by: Yong Wu <yong...@mediatek.com> Acked-by: Rob Herring <r...@kernel.org> > --- > .../memory-controllers/mediatek,smi-common.txt | 24

Re: [PATCH v6 1/5] dt-bindings: iommu: Add binding for mediatek IOMMU

2015-12-08 Thread Rob Herring
On Tue, Dec 08, 2015 at 05:49:09PM +0800, Yong Wu wrote: > This patch add mediatek iommu dts binding document. > > Signed-off-by: Yong Wu > --- > .../devicetree/bindings/iommu/mediatek,iommu.txt | 68 + > include/dt-bindings/memory/mt8173-larb-port.h |

Re: [PATCH v7 1/5] dt-bindings: iommu: Add binding for mediatek IOMMU

2015-12-18 Thread Rob Herring
On Fri, Dec 18, 2015 at 04:09:39PM +0800, Yong Wu wrote: > This patch add mediatek iommu dts binding document. > > Signed-off-by: Yong Wu <yong...@mediatek.com> Acked-by: Rob Herring <r...@kernel.org> ___ iommu mailing l

Re: [PATCH V5 RESEND 1/3] docs: iommu: Documentation for iommu in hi6220 SoC

2015-11-20 Thread Rob Herring
On Fri, Nov 20, 2015 at 10:25:07AM +0800, Chen Feng wrote: > Documentation for hi6220 iommu driver. > > Signed-off-by: Chen Feng <puck.c...@hisilicon.com> Acked-by: Rob Herring <r...@kernel.org> > --- > .../bindings/iommu/hisi,hi6220-iommu.txt | 32 > ++

Re: [PATCH v2 3/7] of/irq: Break out msi-map lookup (again)

2016-06-14 Thread Rob Herring
property. Drag the > core parsing routine up yet another layer into the general OF-PCI code, > and further generalise it for either kind of lookup in either flavour > of map property. > > CC: Rob Herring <robh...@kernel.org> > CC: Frank Rowand <frowand.l...@gmail.com> > CC:

Re: [PATCH v8 2/5] dt-bindings: mediatek: Add smi dts binding

2016-01-26 Thread Rob Herring
te mode 100644 > Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.txt > create mode 100644 include/dt-bindings/memory/mt8173-larb-port.h Acked-by: Rob Herring <r...@kernel.org> ___ iommu mailing list iommu@lists.linux-fo

Re: [PATCH 1/2] of: Implement iterator for phandles

2016-03-18 Thread Rob Herring
On Wed, Mar 16, 2016 at 11:42 AM, Joerg Roedel wrote: > From: Joerg Roedel > > Getting the arguments of phandles is somewhat limited at the > moement, because the number of arguments supported by core > code is limited to MAX_PHANDLE_ARGS, which is set to 16 >

Re: [v6, 5/5] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0

2016-03-19 Thread Rob Herring
-...@vger.kernel.org; > >> ulf.hans...@linaro.org; Zhao Qiang; Russell King; Bhupesh Sharma; Joerg > >> Roedel; Santosh Shilimkar; Scott Wood; Rob Herring; Claudiu Manoil; Kumar > >> Gala; Yang-Leo Li; Xiaobo Xie > >> Subject: Re: [v6, 5/5] mmc: sdhci-of-

Re: [PATCH V2 1/5] iommu/msm: Add DT adaptation

2016-04-11 Thread Rob Herring
On Wed, Apr 06, 2016 at 07:59:31PM +0530, Sricharan R wrote: > The driver currently works based on platform data. Remove this > and add support for DT. A single master can have multiple ports > connected to more than one iommu. > > master > | >

Re: [v6, 3/5] dt: move guts devicetree doc out of powerpc directory

2016-03-19 Thread Rob Herring
On Thu, Mar 17, 2016 at 12:11 PM, Arnd Bergmann <a...@arndb.de> wrote: > On Thursday 17 March 2016 12:06:40 Rob Herring wrote: >> > diff --git a/Documentation/devicetree/bindings/powerpc/fsl/guts.txt >> > b/Documentation/devicetree/bindings/soc/fsl/guts.txt >> &

Re: [v6, 3/5] dt: move guts devicetree doc out of powerpc directory

2016-03-19 Thread Rob Herring
On Wed, Mar 09, 2016 at 06:08:49PM +0800, Yangbo Lu wrote: > Move guts devicetree doc to Documentation/devicetree/bindings/soc/fsl/ > since it's used by not only PowerPC but also ARM. And add a specification > for 'little-endian' property. > > Signed-off-by: Yangbo Lu > --- >

Re: [PATCH 6/6] iommu/arm-smmu: Make use of phandle iterators in device-tree parsing

2016-03-22 Thread Rob Herring
On Tue, Mar 22, 2016 at 12:58 PM, Joerg Roedel wrote: > From: Joerg Roedel > > Remove the usage of of_parse_phandle_with_args() and replace > it by the phandle-iterator implementation so that we can > parse out all of the potentially present 128 stream-ids. > >

Re: [PATCH 0/6] of: Implement iterator for phandles

2016-03-22 Thread Rob Herring
On Tue, Mar 22, 2016 at 12:58 PM, Joerg Roedel <j...@8bytes.org> wrote: > Hi, > > here is an implementation of the iterator over phandles > concept which Rob Herring suggested to me some time ago. My > approach is a little bit different from what the diff showed > ba

Re: [PATCH 0/6] of: Implement iterator for phandles

2016-03-23 Thread Rob Herring
On Wed, Mar 23, 2016 at 6:54 AM, Joerg Roedel <j...@8bytes.org> wrote: > Hi Rob, > > On Tue, Mar 22, 2016 at 01:45:41PM -0500, Rob Herring wrote: >> On Tue, Mar 22, 2016 at 12:58 PM, Joerg Roedel <j...@8bytes.org> wrote: >> > Please review. Patches are ba

Re: [PATCH 10/12] Docs: dt: document ARM SMMU generic binding usage

2016-03-03 Thread Rob Herring
--- > .../devicetree/bindings/iommu/arm,smmu.txt | 40 > ++ > 1 file changed, 25 insertions(+), 15 deletions(-) Acked-by: Rob Herring <r...@kernel.org> ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu

Re: [PATCH 01/12] Docs: dt: add PCI IOMMU map bindings

2016-03-03 Thread Rob Herring
1 > + > 1 file changed, 171 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pci/pci-iommu.txt Acked-by: Rob Herring <r...@kernel.org> ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu

Re: [v7, 3/5] dt: move guts devicetree doc out of powerpc directory

2016-04-03 Thread Rob Herring
> - None > --- > Documentation/devicetree/bindings/{powerpc => soc}/fsl/guts.txt | 3 +++ > 1 file changed, 3 insertions(+) > rename Documentation/devicetree/bindings/{powerpc => soc}/fsl/guts.txt (91%) Acked-by: Rob Herring <r...@kernel.org> _

Re: [PATCH v2 1/5] dt-bindings: mediatek: add descriptions for mediatek mt2701 iommu and smi

2016-05-23 Thread Rob Herring
-bindings/memory/mt2701-larb-port.h | 85 > ++ > 4 files changed, 115 insertions(+), 8 deletions(-) > create mode 100644 include/dt-bindings/memory/mt2701-larb-port.h Acked-by: Rob Herring <r...@kernel.org> _

Re: [PATCH V5 2/7] documentation: iommu: Add bindings for msm,iommu-v0 ip

2016-05-23 Thread Rob Herring
devicetree/bindings/iommu/msm,iommu-v0.txt Acked-by: Rob Herring <r...@kernel.org> ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu

Re: [v10, 1/7] Documentation: DT: update Freescale DCFG compatible

2016-05-05 Thread Rob Herring
ges for v8: > - Added this patch > Changes for v9: > - Added a list for the possible compatibles > Changes for v10: > - None > --- > Documentation/devicetree/bindings/arm/fsl.txt | 6 +- > 1 file changed, 5 insertions(+), 1

Re: [PATCH 0/6 v2] of: Implement iterator for phandles

2016-04-19 Thread Rob Herring
On Mon, Apr 4, 2016 at 10:49 AM, Joerg Roedel <j...@8bytes.org> wrote: > Hi, > > here is a new version of the implementation of the iterator > over phandles concept which Rob Herring suggested to me some > time ago. My approach is a little bit different from what &

Re: [PATCH 1/5] dt-bindings: mediatek: add descriptions for mediatek mt2701 iommu and smi

2016-05-09 Thread Rob Herring
On Mon, May 09, 2016 at 04:00:12PM +0800, honghui.zh...@mediatek.com wrote: > From: Honghui Zhang > > This patch defines the local arbitor port IDs for mediatek SoC MT2701 and > add descriptions of binding for mediatek generation one iommu and smi. > > Signed-off-by:

Re: [PATCH v4 3/8] of/irq: Break out msi-map lookup (again)

2016-07-18 Thread Rob Herring
property. Drag the > core parsing routine up yet another layer into the general OF-PCI code, > and further generalise it for either kind of lookup in either flavour > of map property. > > CC: Rob Herring <robh...@kernel.org> > CC: Frank Rowand <frowand.l...@gmail.com> &

Re: [PATCH] iommu/ipmmu-vmsa: Add r8a7795 DT binding

2017-02-08 Thread Rob Herring
On Fri, Feb 03, 2017 at 04:10:30PM +0200, Laurent Pinchart wrote: > Hi Rob, > > On Monday 29 Feb 2016 23:33:09 Magnus Damm wrote: > > From: Magnus Damm > > > > Update the IPMMU DT binding documentation to include the r8a7795 compat > > string as well as the

Re: [PATCH v7 05/22] Docs: dt: document ARM SMMUv3 generic binding usage

2016-09-20 Thread Rob Herring
On Mon, Sep 12, 2016 at 05:13:43PM +0100, Robin Murphy wrote: > We're about to ratify our use of the generic binding, so document it. > > CC: Rob Herring <robh...@kernel.org> > CC: Mark Rutland <mark.rutl...@arm.com> > Signed-off-by: Robin Murphy <robin.mur...@arm.

Re: [PATCH v5 16/19] Docs: dt: document ARM SMMU generic binding usage

2016-08-29 Thread Rob Herring
On Tue, Aug 23, 2016 at 08:05:27PM +0100, Robin Murphy wrote: > Document how the generic "iommus" binding should be used to describe ARM > SMMU stream IDs instead of the old "mmu-masters" binding. > > CC: Rob Herring <robh...@kernel.org> > CC: Mark Ru

Re: [PATCH v2] iommu/ipmmu-vmsa: Add r8a7796 DT binding

2016-10-30 Thread Rob Herring
t; Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt |1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring <r...@kernel.org> ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu

Re: [RFC PATCH] iommu/arm-smmu: Add global SMR masking property

2016-12-20 Thread Rob Herring
On Fri, Dec 16, 2016 at 01:19:29PM +, Robin Murphy wrote: > The current SMR masking support using a 2-cell iommu-specifier is > primarily intended to handle individual masters with large and/or > complex Stream ID assignments; it quickly gets a bit clunky in other SMR > use-cases where we just

Re: [PATCH] Docs: dt: Be explicit and consistent in reference to IOMMU specifiers

2016-12-19 Thread Rob Herring
On Thu, Dec 15, 2016 at 06:16:13PM -0600, Stuart Yoder wrote: > The generic IOMMU binding says that the meaning of an 'IOMMU specifier' > is defined by the binding of a specific SMMU. The ARM SMMU binding > never explicitly uses the term 'specifier' at all. Update implicit > references to use

Re: [PATCH 3/9] Docs: dt: document qcom iommu bindings

2017-03-23 Thread Rob Herring
On Tue, Mar 14, 2017 at 11:18:05AM -0400, Rob Clark wrote: > Cc: devicet...@vger.kernel.org > Signed-off-by: Rob Clark > --- > .../devicetree/bindings/iommu/qcom,iommu.txt | 113 > + > 1 file changed, 113 insertions(+) > create mode 100644

Re: [RFC PATCH 1/3] of/pci: dma-ranges to account highest possible host bridge dma_mask

2017-03-28 Thread Rob Herring
On Tue, Mar 28, 2017 at 12:27 AM, Oza Oza <oza@broadcom.com> wrote: > On Mon, Mar 27, 2017 at 8:16 PM, Rob Herring <r...@kernel.org> wrote: >> On Sat, Mar 25, 2017 at 12:31 AM, Oza Pawandeep <oza@broadcom.com> wrote: >>> it is possible that PCI d

Re: [V9, 07/11] iommu: of: Handle IOMMU lookup failure with deferred probing or error

2017-03-28 Thread Rob Herring
On Fri, Mar 10, 2017 at 12:30:57AM +0530, Sricharan R wrote: > From: Laurent Pinchart > > Failures to look up an IOMMU when parsing the DT iommus property need to > be handled separately from the .of_xlate() failures to support deferred > probing. > >

Re: [PATCH 3/9] Docs: dt: document qcom iommu bindings

2017-03-27 Thread Rob Herring
On Thu, Mar 23, 2017 at 9:45 PM, Rob Clark <robdcl...@gmail.com> wrote: > On Thu, Mar 23, 2017 at 6:21 PM, Rob Herring <r...@kernel.org> wrote: >> On Tue, Mar 14, 2017 at 11:18:05AM -0400, Rob Clark wrote: >>> Cc: devicet...@vger.kernel.org >>> Signed

Re: [RFC PATCH 1/3] of/pci: dma-ranges to account highest possible host bridge dma_mask

2017-03-27 Thread Rob Herring
On Sat, Mar 25, 2017 at 12:31 AM, Oza Pawandeep wrote: > it is possible that PCI device supports 64-bit DMA addressing, > and thus it's driver sets device's dma_mask to DMA_BIT_MASK(64), > however PCI host bridge may have limitations on the inbound > transaction addressing.

Re: [RFC PATCH 3/3] of: fix node traversing in of_dma_get_range

2017-03-27 Thread Rob Herring
On Sat, Mar 25, 2017 at 12:31 AM, Oza Pawandeep wrote: > it jumps to the parent node without examining the child node. > also with that, it throws "no dma-ranges found for node" > for pci dma-ranges. > > this patch fixes device node traversing for dma-ranges. What's the DT

Re: [PATCH V3 2/5] iommu/arm-smmu: Add support for MMU40x/500 clocks

2017-03-16 Thread Rob Herring
On Thu, Mar 09, 2017 at 09:05:45PM +0530, Sricharan R wrote: > The MMU400x/500 is the implementation of the SMMUv2 > arch specification. It is split in to two blocks > TBU, TCU. TBU caches the page table, instantiated > for each master locally, clocked by the TBUn_clk. > TCU manages the address

Re: [PATCH V3 3/5] drivers: arm-smmu: Add clock support for QCOM_SMMUV2

2017-03-16 Thread Rob Herring
On Thu, Mar 09, 2017 at 09:05:46PM +0530, Sricharan R wrote: > The QCOM_SMMUV2 is an implementation of the arm,smmu-v2 architecture. > The qcom,smmu is instantiated for each of the multimedia cores (for eg) > Venus (video encoder/decoder), mdp (display) etc, and they are connected > to the

Re: [PATCH V10 00/12] IOMMU probe deferral support

2017-04-04 Thread Rob Herring
llback just before the probe of the > bus/driver is called. Similarly dma_deconfigure is called during > device/driver_detach path. For patches 3, 4, 6, 7, 8: Acked-by: Rob Herring <r...@kernel.org> ___ iommu mailing list iommu@li

Re: [PATCH V10 06/12] of: device: Fix overflow of coherent_dma_mask

2017-04-06 Thread Rob Herring
On Thu, Apr 6, 2017 at 5:24 AM, Robin Murphy wrote: > On 06/04/17 08:01, Frank Rowand wrote: >> On 04/04/17 03:18, Sricharan R wrote: >>> Size of the dma-range is calculated as coherent_dma_mask + 1 >>> and passed to arch_setup_dma_ops further. It overflows when >>> the

Re: [PATCH 3/9] Docs: dt: document qcom iommu bindings

2017-03-02 Thread Rob Herring
On Wed, Mar 01, 2017 at 12:42:52PM -0500, Rob Clark wrote: Nit: use "dt-bindings: iommu: ..." for subject. And a commit message would be nice. > Cc: devicet...@vger.kernel.org > Signed-off-by: Rob Clark > --- > .../devicetree/bindings/iommu/qcom,iommu.txt | 106 >

Re: [PATCH V4 6/6] iommu/arm-smmu: Add support for qcom,msm8996-smmu-v2 clocks

2017-07-09 Thread Rob Herring
On Thu, Jul 06, 2017 at 03:07:05PM +0530, Vivek Gautam wrote: > qcom,msm8996-smmu-v2 is an arm,smmu-v2 implementation with > specific clock and power requirements. This smmu core is used > with multiple masters on msm8996, viz. mdss, video, etc. > Add bindings for the same. > > Signed-off-by:

Re: [PATCH V4 5/6] iommu/arm-smmu: Add support for MMU40x/500 clocks

2017-07-09 Thread Rob Herring
On Thu, Jul 06, 2017 at 03:07:04PM +0530, Vivek Gautam wrote: > From: Sricharan R > > The MMU400x/500 is the implementation of the SMMUv2 > arch specification. It is split in to two blocks > TBU, TCU. TBU caches the page table, instantiated > for each master locally,

[PATCH] iommu: Convert to using %pOF instead of full_name

2017-07-18 Thread Rob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring <r...@kernel.org> Cc: Joerg Roedel <j...@8bytes.org> Cc: Heiko Stuebner <he..

Re: [RFC PATH] of/pci/dma: fix DMA configruation for PCI masters

2017-04-24 Thread Rob Herring
On Sat, Apr 22, 2017 at 3:08 AM, Oza Pawandeep wrote: > current device frmework and of framework integration assumes dma-ranges > in a way where memory-mapped devices define their dma-ranges. > dma-ranges: (child-bus-address, parent-bus-address, length). > > but iproc based

Re: [PATCH 1/8] dt-bindings: mediatek: Add binding for mt2712 IOMMU and SMI

2017-08-17 Thread Rob Herring
++ > 4 files changed, 102 insertions(+), 6 deletions(-) > create mode 100644 include/dt-bindings/memory/mt2712-larb-port.h Acked-by: Rob Herring <r...@kernel.org> ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu

Re: [PATCH 1/3] of/pci/dma: fix DMA configuration for PCI masters

2017-05-03 Thread Rob Herring
On Tue, May 2, 2017 at 11:46 PM, Oza Pawandeep wrote: > current device framework and of framework integration assumes > dma-ranges in a way where memory-mapped devices define their > dma-ranges. (child-bus-address, parent-bus-address, length). > > of_dma_configure is

Re: [PATCH 3/3] PCI/of fix of_dma_get_range; get PCI specific dma-ranges

2017-05-03 Thread Rob Herring
On Tue, May 2, 2017 at 11:46 PM, Oza Pawandeep wrote: > current device framework and of framework integration assumes > dma-ranges in a way where memory-mapped devices define their > dma-ranges. (child-bus-address, parent-bus-address, length). > > of_dma_configure is

Re: [v6 2/3] iommu/arm-smmu-v3: Add workaround for Cavium ThunderX2 erratum #74

2017-05-15 Thread Rob Herring
DT changes should go to DT list. On Fri, May 12, 2017 at 7:41 AM, Geetha sowjanya wrote: > From: Linu Cherian > > Cavium ThunderX2 SMMU implementation doesn't support page 1 register space > and PAGE0_REGS_ONLY option is enabled as an errata

Re: [RFC v1 3/7] iommu/arm-smmu-v3: Replace the device tree binding for hisilicon broken prefetch cmd with erratum id

2017-05-15 Thread Rob Herring
On Sat, May 13, 2017 at 4:47 AM, shameer wrote: > Signed-off-by: shameer > --- > Documentation/devicetree/bindings/iommu/arm,smmu-v3.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH 2/7] dt-bindings: PCI: Describe ATS property for root complex nodes

2017-05-31 Thread Rob Herring
On Wed, May 24, 2017 at 07:01:38PM +0100, Jean-Philippe Brucker wrote: > Address Translation Service (ATS) is an extension to PCIe allowing > endpoints to manage their own IOTLB, called Address Translation Cache > (ATC). Instead of having every memory transaction processed by the IOMMU, > the

Re: [PATCH 2/7] dt-bindings: PCI: Describe ATS property for root complex nodes

2017-06-05 Thread Rob Herring
On Thu, Jun 01, 2017 at 01:28:01PM +0100, Jean-Philippe Brucker wrote: > On 31/05/17 18:23, Rob Herring wrote: > > On Wed, May 24, 2017 at 07:01:38PM +0100, Jean-Philippe Brucker wrote: > >> Address Translation Service (ATS) is an extension to PCIe allowing > >> endpoint

Re: [PATCH] iommu: add qcom_iommu

2017-05-05 Thread Rob Herring
On Fri, May 5, 2017 at 1:21 PM, Rob Clark wrote: > An iommu driver for Qualcomm "B" family devices which do not completely > implement the ARM SMMU spec. These devices have context-bank register > layout that is similar to ARM SMMU, but no global register space (or at >

Re: [PATCH] iommu: add qcom_iommu

2017-05-05 Thread Rob Herring
On Fri, May 5, 2017 at 2:37 PM, Rob Clark <robdcl...@gmail.com> wrote: > On Fri, May 5, 2017 at 3:04 PM, Rob Herring <r...@kernel.org> wrote: >> On Fri, May 5, 2017 at 1:21 PM, Rob Clark <robdcl...@gmail.com> wrote: >>> An iommu driver for Qualcomm "

Re: [PATCH 3/4] iommu: add qcom_iommu

2017-05-04 Thread Rob Herring
On Thu, May 4, 2017 at 8:34 AM, Rob Clark wrote: > An iommu driver for Qualcomm "B" family devices which do not completely > implement the ARM SMMU spec. These devices have context-bank register > layout that is similar to ARM SMMU, but no global register space (or at >

Re: [PATCH 2/7] dt-bindings: PCI: Describe ATS property for root complex nodes

2017-05-31 Thread Rob Herring
On Tue, May 30, 2017 at 11:58:50AM +0100, Jean-Philippe Brucker wrote: > On 30/05/17 11:01, Joerg Roedel wrote: > > On Wed, May 24, 2017 at 07:01:38PM +0100, Jean-Philippe Brucker wrote: > >> +- ats-supported: if present, the root complex supports the Address > >> + Translation Service (ATS). It

Re: [RFC PATCH 1/1] iommu/arm-smmu: Add support for multiple TBU child devices

2017-09-19 Thread Rob Herring
On Tue, Sep 12, 2017 at 05:31:07PM +0530, Vivek Gautam wrote: > ARM MMU-500 implements a TBU (uTLB) for each connected master > besides a single TCU which controls and manages the address > translations. Each of these TBUs can either be in the same > power domain as the master, or they can have a

Re: [PATCH v7 1/5] Doc: iommu/arm-smmu-v3: Add workaround for HiSilicon erratum 161010801

2017-09-19 Thread Rob Herring
On Thu, Sep 14, 2017 at 01:57:52PM +0100, Shameer Kolothum wrote: > From: John Garry > > The HiSilicon erratum 161010801 describes the limitation of HiSilicon > platforms > hip06/hip07 to support the SMMU mappings for MSI transactions. > > On these platforms, GICv3 ITS

Re: [PATCH 3/3] iommu/ipmmu-vmsa: Document R-Car D3 IPMMU DT bindings

2017-10-03 Thread Rob Herring
: Magnus Damm <damm+rene...@opensource.se> > --- > > Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt |1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring <r...@kernel.org> ___ iommu mai

Re: [PATCH 2/3] iommu/ipmmu-vmsa: Document R-Car V3M IPMMU DT bindings

2017-10-03 Thread Rob Herring
: Magnus Damm <damm+rene...@opensource.se> > --- > > Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt |1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring <r...@kernel.org> ___ iommu mai

Re: [PATCH v8 1/5] Doc: iommu/arm-smmu-v3: Add workaround for HiSilicon erratum 161010801

2017-10-05 Thread Rob Herring
mentation/devicetree/bindings/iommu/arm,smmu-v3.txt | 9 - > 2 files changed, 9 insertions(+), 1 deletion(-) Acked-by: Rob Herring <r...@kernel.org> ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu

Re: [PATCH] dt-bindings: iommu: ipmmu-vmsa: Use generic node name

2017-10-13 Thread Rob Herring
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 > --- > Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt | 2 +- > 1 file changed, 1

Re: [RFCv2 PATCH 12/36] dt-bindings: document stall and PASID properties for IOMMU masters

2017-10-13 Thread Rob Herring
On Fri, Oct 06, 2017 at 02:31:39PM +0100, Jean-Philippe Brucker wrote: > On ARM systems, some platform devices behind an IOMMU may support stall > and PASID features. Stall is the ability to recover from page faults and > PASID offers multiple process address spaces to the device. Together they >

  1   2   3   >