HomeFreeBSD

busdma/bounce: revert r292255

Description

busdma/bounce: revert r292255

Revert r292255 because it can create bounced regions without contiguous
page offsets, which is needed for USB devices.

Another solution would be to force bouncing the full buffer always (even
when only one page requires bouncing), but this seems overly complicated and
unnecessary, and it will probably involve using more bounce pages than the
current code.

Reported by: phk

Details

Provenance
roygerAuthored on
Parents
rS298043: Avoid NULL pointer dereference, for a process which is not (yet) a
Branches
Unknown
Tags
Unknown