Page MenuHomeFreeBSD

cgem: improve usage of busdma(9) KPI
ClosedPublic

Authored by mhorne on Feb 18 2021, 5:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Feb 26, 11:50 PM
Unknown Object (File)
Sat, Feb 22, 12:13 AM
Unknown Object (File)
Tue, Feb 18, 11:01 PM
Unknown Object (File)
Sun, Feb 9, 6:47 PM
Unknown Object (File)
Tue, Feb 4, 4:35 AM
Unknown Object (File)
Jan 25 2025, 7:10 PM
Unknown Object (File)
Nov 7 2024, 4:29 PM
Unknown Object (File)
Oct 8 2024, 4:41 PM
Subscribers

Details

Summary

BUS_DMA_NOCACHE should only be used when one needs to guarantee the
created mapping has uncached memory attributes, usually as a result of buggy
hardware. Normal use cases should pass BUS_DMA_COHERENT, to create an
appropriate mapping based on the flags passed to bus_dma_tag_create().

This should have no functional change, since the DMA tags in this driver are
created without the BUS_DMA_COHERENT flag.

Reported by: mmel

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37162
Build 34051: arc lint + arc unit