RE: SMR masking and PCI

2016-10-28 Thread Stuart Yoder
> -Original Message- > From: Stuart Yoder > Sent: Friday, October 28, 2016 12:12 PM > To: 'Robin Murphy' ; Mark Rutland > Cc: linux-arm-ker...@lists.infradead.org; Will Deacon ; > Diana Madalina Craciun > ; Nipun Gupta ; > iommu@lists.linux-foundation.org > Subject: RE: SMR masking and

Re: SMR masking and PCI

2016-10-28 Thread Mark Rutland
Hi, On Fri, Oct 28, 2016 at 05:16:37PM +0100, Robin Murphy wrote: > On 27/10/16 18:10, Stuart Yoder wrote: > > A question about how the SMR masking defined in the arm,smmu binding > > relates to the PCI iommu-map. > > > > The #iommu-cells property defines the number of cells an "IOMMU specifier"

RE: SMR masking and PCI

2016-10-28 Thread Stuart Yoder
> -Original Message- > From: Robin Murphy [mailto:robin.mur...@arm.com] > Sent: Friday, October 28, 2016 11:17 AM > To: Stuart Yoder ; Mark Rutland > Cc: linux-arm-ker...@lists.infradead.org; Will Deacon ; > Diana Madalina Craciun > ; Nipun Gupta ; > iommu@lists.linux-foundation.org >

Re: SMR masking and PCI

2016-10-28 Thread Robin Murphy
Hi Stuart, On 27/10/16 18:10, Stuart Yoder wrote: > Hi Robin, > > A question about how the SMR masking defined in the arm,smmu binding > relates to the PCI iommu-map. > > The #iommu-cells property defines the number of cells an "IOMMU specifier" > takes and 2 is specified to be: > >SMMUs wi

[GIT PULL] iommu/arm-smmu: Fixes for 4.9

2016-10-28 Thread Will Deacon
Hi Joerg, Please pull the following pair of fixes from Robin for the ARM SMMU drivers. Thanks, Will --->8 The following changes since commit 1001354ca34179f3db924eb66672442a173147dc: Linux 4.9-rc1 (2016-10-15 12:17:50 -0700) are available in the git repository at: git://git.kernel.org/p

Re: [PATCH v6 09/16] drivers: acpi: iort: add support for ARM SMMU platform devices creation

2016-10-28 Thread Lorenzo Pieralisi
On Tue, Oct 18, 2016 at 05:04:07PM +0100, Lorenzo Pieralisi wrote: > In ARM ACPI systems, IOMMU components are specified through static > IORT table entries. In order to create platform devices for the > corresponding ARM SMMU components, IORT kernel code should be made > able to parse IORT table e

Crash/hang in iommu_flush_dev_iotlb

2016-10-28 Thread Brian Rak
We've been seeing a pretty frequent crash/hang that seems to be pointing at the Intel IOMMU code. This manifests in one of two ways: 1) Kernel reports a BUG, then the system hangs 2) Kernel reports a BUG, then the kernel notices something else terrible has occurred, and triggers a reboot. Ex

Re: [v15, 0/7] Fix eSDHC host version register bug

2016-10-28 Thread Arnd Bergmann
On Friday, October 28, 2016 2:50:11 PM CEST Yangbo Lu wrote: > This patchset is used to fix a host version register bug in the > T4240-R1.0-R2.0 > eSDHC controller. To match the SoC version and revision, 10 previous version > patchsets had tried many methods but all of them were rejected by review

Re: [v15, 3/7] powerpc/fsl: move mpc85xx.h to include/linux/fsl

2016-10-28 Thread Arnd Bergmann
On Friday, October 28, 2016 2:50:14 PM CEST Yangbo Lu wrote: > Move mpc85xx.h to include/linux/fsl and rename it to svr.h as a common > header file. This SVR numberspace is used on some ARM chips as well as > PPC, and even to check for a PPC SVR multi-arch drivers would otherwise > need to ifdef t

Re: [v15, 6/7] base: soc: introduce soc_device_match() interface

2016-10-28 Thread Arnd Bergmann
On Friday, October 28, 2016 2:50:17 PM CEST Yangbo Lu wrote: > + > +static int soc_device_match_one(struct device *dev, void *arg) > +{ > + struct soc_device *soc_dev = container_of(dev, struct soc_device, > dev); > + const struct soc_device_attribute *match = arg; > + > + if (ma

RE: [v13, 5/8] soc: fsl: add GUTS driver for QorIQ platforms

2016-10-28 Thread Y.B. Lu
> -Original Message- > From: Y.B. Lu > Sent: Friday, October 28, 2016 2:06 PM > To: Y.B. Lu; 'Scott Wood'; 'linux-...@vger.kernel.org'; > 'ulf.hans...@linaro.org'; 'Arnd Bergmann' > Cc: 'linuxppc-...@lists.ozlabs.org'; 'devicet...@vger.kernel.org'; > 'linux-arm-ker...@lists.infradead.org';

[v15, 3/7] powerpc/fsl: move mpc85xx.h to include/linux/fsl

2016-10-28 Thread Yangbo Lu
Move mpc85xx.h to include/linux/fsl and rename it to svr.h as a common header file. This SVR numberspace is used on some ARM chips as well as PPC, and even to check for a PPC SVR multi-arch drivers would otherwise need to ifdef the header inclusion and all references to the SVR symbols. Signed-of

[v15, 4/7] soc: fsl: add GUTS driver for QorIQ platforms

2016-10-28 Thread Yangbo Lu
The global utilities block controls power management, I/O device enabling, power-onreset(POR) configuration monitoring, alternate function selection for multiplexed signals,and clock control. This patch adds a driver to manage and access global utilities block. Initially only reading SVR and regis

[v15, 6/7] base: soc: introduce soc_device_match() interface

2016-10-28 Thread Yangbo Lu
From: Arnd Bergmann We keep running into cases where device drivers want to know the exact version of the a SoC they are currently running on. In the past, this has usually been done through a vendor specific API that can be called by a driver, or by directly accessing some kind of version regist

[v15, 7/7] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0

2016-10-28 Thread Yangbo Lu
The eSDHC of T4240-R1.0-R2.0 has incorrect vender version and spec version. Acturally the right version numbers should be VVN=0x13 and SVN = 0x1. This patch adds the GUTS driver support for eSDHC driver to match SoC. And fix host version to avoid that incorrect version numbers break down the ADMA d

[v15, 5/7] MAINTAINERS: add entry for Freescale SoC drivers

2016-10-28 Thread Yangbo Lu
Add maintainer entry for Freescale SoC drivers including the QE library and the GUTS driver now. Also add maintainer for QE library. Signed-off-by: Yangbo Lu Acked-by: Scott Wood Acked-by: Qiang Zhao --- Changes for v8: - Added this patch Changes for v9: - Added linux-arm mail l

[v15, 1/7] ARM64: dts: ls2080a: add device configuration node

2016-10-28 Thread Yangbo Lu
Add the dts node for device configuration unit that provides general purpose configuration and status for the device. Signed-off-by: Yangbo Lu Acked-by: Scott Wood --- Changes for v5: - Added this patch Changes for v6: - None Changes for v7: - None Changes for v8:

[v15, 0/7] Fix eSDHC host version register bug

2016-10-28 Thread Yangbo Lu
This patchset is used to fix a host version register bug in the T4240-R1.0-R2.0 eSDHC controller. To match the SoC version and revision, 10 previous version patchsets had tried many methods but all of them were rejected by reviewers. Such as - dts compatible method - syscon method

[v15, 2/7] dt: bindings: move guts devicetree doc out of powerpc directory

2016-10-28 Thread Yangbo Lu
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 Acked-by: Rob Herring Acked-by: Scott Wood --- Changes for v4: - Added this patch Chang