HomeFreeBSD

mpi3mr: Make these bus_dmamap_load calls synchronous

Description

mpi3mr: Make these bus_dmamap_load calls synchronous

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).

Reviewed by: mav, jhb, imp
Differential Revision: https://reviews.freebsd.org/D42606

(cherry picked from commit 39a3e6a812ad9c089bd2c4935193f1b3c4c5c35a)

Details

Provenance
mavAuthored on Nov 29 2023, 1:50 AM
Reviewer
mav
Differential Revision
D42606: mpi3mr: Make these bus_dmamap_load calls synchronous
Parents
rGc8afd30bdb6b: mpi3mr: Fix MAXPHYS usage
Branches
Unknown
Tags
Unknown