HomeFreeBSD

busdma_iommu: simplify split logic

Description

busdma_iommu: simplify split logic

iommu_bus_dmamap_load_something1 includes code for handling the
possibility of splitting a buffer that is needlessly complex.
Simplify it.

Reviewed by: alc, kib
MFC after: 3 weeks
Tested by: pho (previous revisions)
Differential Revision: https://reviews.freebsd.org/D35232

Details

Provenance
dougmAuthored on Jun 2 2022, 8:59 PM
Reviewer
alc
Differential Revision
D35232: busdma_iommu: map without extra offset bytes
Parents
rG9bcded6f5d63: Cirrus-CI: update image to FreeBSD 13.1 (latest release)
Branches
Unknown
Tags
Unknown