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

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

iommu: Support dynamic pgsize_bitmap



Currently we use a single pgsize_bitmap per IOMMU driver.  However, some
IOMMU drivers might service different IOMMUs with different supported
page sizes.  Some drivers might also want to restrict page sizes for
different use cases.  Support these use cases by adding a
.get_pgsize_bitmap function to the iommu_ops which can optionally be
used by the driver to return a domain-specific pgsize_bitmap.

CRs-Fixed: 997751
Change-Id: I46d70733be647599e148fe52258a4d8f009ac48a
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent 1849bdcc
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