arm-smmu: Misc changes/Calxeda ECX-2000 support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 0 repliesNew
Patches in v1 No applies recorded yet
Reviews trailers per patch
1 of 19 patches has a Reviewed-by or Acked-by.
| Patch | Will Deacon |
|---|---|
| 1/9 | |
| 1/9 | |
| 2/9 | |
| 2/9 | |
| 2/9 | |
| 3/9 | A-b |
| 4/9 | |
| 4/9 | |
| 4/9 | |
| 4/9 | |
| 5/9 | |
| 5/9 | |
| 6/9 | |
| 6/9 | |
| 7/9 | |
| 7/9 | |
| 8/9 | |
| 8/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/9] arm-smmu: Misc changes/Calxeda ECX-2000 support
Hi,
Following a new patch set to fix some issues, that I've seen when using arm-smmu driver with MMU-400 and to enable support for SMMUs on Calxeda ECX-2000.
Patches are rebased on Joerg's latest joro/next branch (as of today). I hope that I have addressed all (most) comments from the last submission for following patches:
[PATCH 1/9] iommu/arm-smmu: Switch to arch_initcall for driver ... [PATCH 2/9] iommu/arm-smmu: Calculate SMMU_CB_BASE from smmu ... [PATCH 3/9] ARM: dma-mapping: Always pass proper prot flags to ... [PATCH 4/9] iommu/arm-smmu: Check for num_context_irqs > 0 to avoid ... [PATCH 5/9] iommu/arm-smmu: Clear global and context bank fault ...
This time I've added patches for SMMU support on Calxeda ECX-2000. Unfortunately this requires a quirk in the arm-smmu driver (and that is the ugly part):
[PATCH 6/9] iommu/arm-smmu: Support buggy implemenations where all
config accesses are secure
I still kept the patch (slightly modified) to introduce a function to isolate devices. I also merged the command line stuff into that patch because it mainly belongs to it:
[PATCH 7/9] iommu/arm-smmu: Add function that conditionally isolates
all masters of all SMMUs
(Maybe it's better to use a bus notifier to attach/detach devices instead. But I just started to look into this and code is not yet ready+tested.)
Also I think we need a default handler for context faults Otherwise we won't notice when something goes wrong:
[PATCH 8/9] iommu/arm-smmu: Introduce a default fault handler
And finally here's the dts-adaption to enable SMMUs
[PATCH 9/9] ARM: dts: Add nodes for SMMUs on Calxeda ECX-2000
Would be nice if the noncontroversial patches (1-5?) could be applied. (Esp. in case there are longer discussions about the rest.)
Comments welcome.
Thanks,
Andreas