HomeFreeBSD

iommu_gas: pass size to iommu_map without rounding

Description

iommu_gas: pass size to iommu_map without rounding

Let the caller to iommu_map pass the size parameter without rounding
it up to a multiple of page size. Let iommu_map round it up when
necessary, which is not all of the time, so that in some cases less
space is reserved.

Reviewed by: alc, kib (previous version)
Tested by: pho, br
Discussed with: andrew
MFC after: 3 weeks
Differential Revision: https://reviews.freebsd.org/D35424

Details

Provenance
dougmAuthored on Jun 10 2022, 6:56 PM
Reviewer
alc
Differential Revision
D35424: iommu_gas: pass size without page alignment
Parents
rG1d7c4b7d86d9: Update organization.dot with new CORE.12 members
Branches
Unknown
Tags
Unknown