[GIT PULL] iommu/arm-smmu: updates for 3.13

2013-10-09 Thread Will Deacon
Hi Joerg, Please pull these ARM SMMU updates for 3.13. The bulk of the changes are from Andreas, who has been having fun running the driver on real hardware. I expect some additional patches from him in the future to add support for things like device isolation once we've ironed out the wrinkles

[PATCH 2/2] iommu/fsl: Enable default DMA window for PCIe devices once detached

2013-10-09 Thread Varun Sethi
Once the PCIe device assigned to a guest VM (via VFIO) gets detached from the iommu domain (when guest terminates), its PAMU table entry is disabled. So, this would prevent the device from being used once it's assigned back to the host. This patch allows for creation of a default DMA window

[PATCH 1/7] iommu/arm-smmu: Introduce driver option handling

2013-10-09 Thread Andreas Herrmann
Introduce handling of driver options. Options are set based on DT information when probing an SMMU device. The first option introduced is arm,smmu-isolate-devices. (It will be used in the bus notifier block.) Signed-off-by: Andreas Herrmann andreas.herrm...@calxeda.com ---

[PATCH 4/7] iommu/arm-smmu: Support buggy implementations where all config accesses are secure

2013-10-09 Thread Andreas Herrmann
In such a case we have to use secure aliases of some non-secure registers. This handling is switched on by DT property arm,smmu-secure-config-access for an SMMU node. Signed-off-by: Andreas Herrmann andreas.herrm...@calxeda.com --- drivers/iommu/arm-smmu.c | 30 +-

[PATCH v2 0/7] iommu/arm-smmu: Misc modifications to support SMMUs on Calxeda ECX-2000

2013-10-09 Thread Andreas Herrmann
Hi, Here is v2 of arm-smmu changes to support SMMUs on Calxeda ECX-2000. Note that patch 7/7 (Introduce automatic stream-id-masking) is not required to support SMMUs on Calxeda ECX-2000. In fact the algorithm implemented won't help to determine a suitable smr-mask for 10 StreamIDs that we have

[PATCH 5/7] ARM: dts: Add nodes for SMMUs on Calxeda ECX-2000

2013-10-09 Thread Andreas Herrmann
Signed-off-by: Andreas Herrmann andreas.herrm...@calxeda.com --- arch/arm/boot/dts/ecx-2000.dts| 45 +++-- arch/arm/boot/dts/ecx-common.dtsi |9 +--- 2 files changed, 49 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/ecx-2000.dts

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

2013-10-09 Thread Andreas Herrmann
On Wed, Oct 09, 2013 at 06:09:17AM -0400, Will Deacon wrote: On Tue, Oct 08, 2013 at 07:43:50PM +0100, Rob Herring wrote: 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