HomeFreeBSD

Account for the offset of the page run when allocating the

Description

Account for the offset of the page run when allocating the
dmar_map_entry. Non-zero offset both increases the required mapping
size, which is handled in dmar_bus_dmamap_load_something1(), and makes
it possible that allocated range crosses boundary, which needs a check
in dmar_gas_match_one().

Reported and tested by: jimharris
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS281253: MFC r279243-r279246, r279251, r279691, r279700, and r279701.
Branches
Unknown
Tags
Unknown

Event Timeline