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)
Jan 11 2024, 4:27 PM
Unknown Object (File)
Dec 20 2023, 6:11 AM
Unknown Object (File)
Sep 6 2023, 7:45 AM
Unknown Object (File)
Aug 16 2023, 6:35 AM
Unknown Object (File)
Jul 6 2023, 10:48 PM
Unknown Object (File)
Mar 22 2023, 7:57 AM
Unknown Object (File)
Mar 4 2023, 9:24 PM
Unknown Object (File)
Jan 13 2023, 1:31 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