Page MenuHomeFreeBSD

mpi3mr: Make these bus_dmamap_load calls synchronous
ClosedPublic

Authored by imp on Nov 14 2023, 10:14 PM.
Tags
None
Referenced Files
F132580171: D42606.diff
Sat, Oct 18, 3:42 AM
F132569308: D42606.diff
Sat, Oct 18, 1:34 AM
Unknown Object (File)
Thu, Sep 25, 1:39 AM
Unknown Object (File)
Mon, Sep 22, 6:48 PM
Unknown Object (File)
Mon, Sep 22, 6:34 PM
Unknown Object (File)
Mon, Sep 22, 6:25 PM
Unknown Object (File)
Mon, Sep 22, 1:59 PM
Unknown Object (File)
Sep 15 2025, 9:38 PM
Subscribers
None

Details

Summary

These calls "should" all be synchrounous. There's no bouncing that's
needed for them (at least in the typical case that we have a sane card
that has more bits of dma addresses decoded than we have memory), so
there's no errors possible. Ensure these calls are really synchronous
with BUS_DMA_NOWAIT flags (which should never fail now that the
bus_dmamem_alloc() has succeeded).

Test Plan

mav@ is listed as author in my tree.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable