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
F154191306: D42606.id130730.diff
Sun, Apr 26, 11:40 PM
Unknown Object (File)
Sat, Apr 25, 3:34 AM
Unknown Object (File)
Mon, Apr 20, 3:51 AM
Unknown Object (File)
Sun, Apr 12, 3:52 PM
Unknown Object (File)
Thu, Apr 9, 1:07 AM
Unknown Object (File)
Mon, Apr 6, 4:07 AM
Unknown Object (File)
Sun, Apr 5, 11:03 AM
Unknown Object (File)
Sat, Apr 4, 4:25 AM
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