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

Commit 680e0748 authored by Mitchel Humpherys's avatar Mitchel Humpherys Committed by Jeevan Shriram
Browse files

iommu/arm-smmu: Implement .get_pgsize_bitmap for domain



Currently we restrict the pgsize_bitmap for the entire SMMU every time
we allocate some new page tables.  However, certain io-pgtable
implementations might wish to restrict the formats beyond the
restrictions of the SMMU itself, which forces all domains on that SMMU
to the same pgsize_bitmap, even if the other domains would prefer to use
a more permissive page table format.  Besides that, some SMMUs in the
system might have different supported page sizes at the hardware level,
so applying those to everyone else is wrong.

Fix these issues by implementing the new .get_pgsize_bitmap IOMMU op.

CRs-Fixed: 997751
Change-Id: I9a73a31ee63a054cc44c50a21f7a616efd4af964
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent a3250a95
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment