[git pull] IOMMU Fixes for Linux v3.14-rc3

2014-02-21 Thread Joerg Roedel
Hi Linus, The following changes since commit 6d0abeca3242a88cab8232e4acd7e2bf088f3bc2: Linux 3.14-rc3 (2014-02-16 13:30:25 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-fixes-v3.14-rc3 for you to fetch changes up to

[PATCH 4/5] iommu/arm-smmu: clean up use of `flags' in page table handling code

2014-02-21 Thread Will Deacon
Commit 972157cac528 (arm/smmu: Use irqsafe spinlock for domain lock) fixed our page table locks to be the irq{save,restore} variants, since the DMA mapping API can be invoked from interrupt context. This patch cleans up our use of the flags variable so we can distinguish between IRQ flags (now

[PATCH 1/5] iommu/arm-smmu: set MAX_MASTER_STREAMIDS to MAX_PHANDLE_ARGS

2014-02-21 Thread Will Deacon
From: Andreas Herrmann andreas.herrm...@calxeda.com The DT parsing code that determines stream IDs uses of_parse_phandle_with_args and thus MAX_MASTER_STREAMIDS is always bound by MAX_PHANDLE_ARGS. Signed-off-by: Andreas Herrmann andreas.herrm...@calxeda.com Signed-off-by: Will Deacon

[PATCH 2/5] iommu/arm-smmu: support buggy implementations with secure cfg accesses

2014-02-21 Thread Will Deacon
From: Andreas Herrmann andreas.herrm...@calxeda.com In such a case we have to use secure aliases of some non-secure registers. This handling is switched on by DT property calxeda,smmu-secure-config-access for an SMMU node. Signed-off-by: Andreas Herrmann andreas.herrm...@calxeda.com [will:

[PATCH 0/5] iommu/arm-smmu: updates for 3.15

2014-02-21 Thread Will Deacon
Hello, These are the arm-smmu updates I have queued for 3.15 and plan to send to Joerg sometime next week. The main parts are for accessing the buggy Calxeda SMMU, which is wired as secure despite being non-secure. Unfortunately, the apparent demise of Calxeda means that Andreas is no longer

Re: [PATCH 3/5] documentation/iommu: update description of ARM System MMU binding

2014-02-21 Thread Sergei Shtylyov
Hello. On 02/21/2014 08:16 PM, Will Deacon wrote: From: Andreas Herrmann andreas.herrm...@calxeda.com This patch adds descriptions for new properties of the device tree binding for the ARM SMMU architecture. These properties control arm-smmu driver options. Cc: Grant Likely