HomeFreeBSD

iommu_gas: Fix a recent regression with IOMMU_MF_CANSPLIT

Description

iommu_gas: Fix a recent regression with IOMMU_MF_CANSPLIT

As of 19bb5a7244ff, the IOMMU_MF_CANSPLIT case in iommu_gas_match_one()
must take into account the specified offset. Otherwise, the recently
changed end calculation in iommu_gas_match_insert() could produce an
end address that crosses the specified boundary by one page.

Reviewed by: dougm
MFC with: 19bb5a7244ff

Details

Provenance
alcAuthored on Jun 26 2022, 4:48 PM
Parents
rG841719c08fd3: LinuxKPI: 802.11: remove an early bandaid to make sure queues are allocated
Branches
Unknown
Tags
Unknown