summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/io-pgtable-arm.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* iommu: io-pgtable-arm: add non-secure quirkLaurent Pinchart2015-01-191-0/+7
| | | | | | | The quirk causes the Non-Secure bit to be set in all page table entries. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
* iommu: add self-consistency tests to ARM LPAE IO page table allocatorWill Deacon2015-01-191-1/+199
| | | | | | | | This patch adds a series of basic self-consistency tests to the ARM LPAE IO page table allocator that exercise corner cases in map/unmap, as well as testing all valid configurations of pagesize, ias and stage. Signed-off-by: Will Deacon <will.deacon@arm.com>
* iommu: add ARM LPAE page table allocatorWill Deacon2015-01-191-0/+781
A number of IOMMUs found in ARM SoCs can walk architecture-compatible page tables. This patch adds a generic allocator for Stage-1 and Stage-2 v7/v8 long-descriptor page tables. 4k, 16k and 64k pages are supported, with up to 4-levels of walk to cover a 48-bit address space. Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Will Deacon <will.deacon@arm.com>