Skip to content

iommu: arm smmu: driver updates for 3.12

Will Deacon linux-arm-kernel linux-iommu 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4iommu: arm smmu: remove broken big-endian checkdrivers/iommu/arm-smmu.c+0 -60 replies
2/4iommu: arm smmu: tighten up global fault reportingdrivers/iommu/arm-smmu.c+5 -20 replies
3/4iommu: arm smmu: don't use VMIDs for stage-1 translationsdrivers/iommu/arm-smmu.c+46 -130 replies
4/4iommu: arm smmu: simplify VMID and ASID allocationdrivers/iommu/arm-smmu.c+11 -220 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] iommu: arm smmu: driver updates for 3.12

Hi all,

Here's a set of small drivers updates to the ARM SMMU driver that went in during the merge window. The main changes are:

- Removal of a broken big-endian special case when setting the pgd
- Better error reporting when running with a single, combined IRQ line
- Removing the dynamic use of VMIDs for stage-1 mappings. This is basically to make life easier for hypervisors, who apparently have a hard life if guest OSs allocate their own VMIDs
- Simplification of the VMID/ASID allocation scheme based on the fact that we're just trying to assign one ID per context-bank.

I've tested these patches with an AArch32 MMU-500 model and not seen any problems running stage-1 DMA transactions through the SMMU.

All feedback welcome,

Will

Will Deacon (4):
iommu: arm smmu: remove broken big-endian check
iommu: arm smmu: tighten up global fault reporting
iommu: arm smmu: don't use VMIDs for stage-1 translations
iommu: arm smmu: simplify VMID and ASID allocation

 drivers/iommu/arm-smmu.c | 93 +++++++++++++++++++++++++++++-------------------
 1 file changed, 56 insertions(+), 37 deletions(-)
Signature · 1 line
1.8.2.2