Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2499de2 authored by Will Deacon's avatar Will Deacon Committed by Matt Wagantall
Browse files

iommu/arm-smmu: make use of generic LPAE allocator



The ARM SMMU can walk LPAE page tables, so make use of the generic
allocator.

Change-Id: I7acd0e6c6e8046a4f0497a8fbdba46986192f83f
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Git-commit: 518f7136244c167538f732691be589959310b295
[mitchelh: merge with our changes to domain locking, non-shareable
 page tables, and pte zero'ing, some of which will need to be added
 back now in the generic allocator code]
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent 18ec9f7a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -317,14 +317,14 @@ 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
	select ARM64_DMA_USE_IOMMU if ARM64
	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.
+260 −798

File changed.

Preview size limit exceeded, changes collapsed.