Skip to content

Commit

Permalink
iommu/arm-smmu: make use of generic LPAE allocator
Browse files Browse the repository at this point in the history
The ARM SMMU can walk LPAE page tables, so make use of the generic
allocator.

Signed-off-by: Will Deacon <will.deacon@arm.com>
  • Loading branch information
Will Deacon committed Jan 19, 2015
1 parent c896c13 commit 518f713
Show file tree
Hide file tree
Showing 3 changed files with 266 additions and 627 deletions.
1 change: 0 additions & 1 deletion arch/arm64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@ config ARM64_VA_BITS_42

config ARM64_VA_BITS_48
bool "48-bit"
depends on !ARM_SMMU

endchoice

Expand Down
6 changes: 3 additions & 3 deletions drivers/iommu/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -330,13 +330,13 @@ config SPAPR_TCE_IOMMU

config ARM_SMMU
bool "ARM Ltd. System MMU (SMMU) Support"
depends on ARM64 || (ARM_LPAE && OF)
depends on ARM64 || ARM
select IOMMU_API
select IOMMU_IO_PGTABLE_LPAE
select ARM_DMA_USE_IOMMU if ARM
help
Support for implementations of the ARM System MMU architecture
versions 1 and 2. The driver supports both v7l and v8l table
formats with 4k and 64k page sizes.
versions 1 and 2.

Say Y here if your SoC includes an IOMMU device implementing
the ARM SMMU architecture.
Expand Down
Loading

0 comments on commit 518f713

Please sign in to comment.