Page MenuHomeFreeBSD

[WIP] LinuxKPI: add missing bus_dmamap_sync() calls
Changes PlannedPublic

Authored by bz on May 22 2024, 3:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 30, 5:19 AM
Unknown Object (File)
May 25 2024, 5:30 PM
Unknown Object (File)
May 24 2024, 6:13 PM
Unknown Object (File)
May 23 2024, 11:03 AM
Unknown Object (File)
May 22 2024, 9:49 PM
Unknown Object (File)
May 22 2024, 8:20 PM
Unknown Object (File)
May 22 2024, 10:26 AM

Details

Reviewers
None
Summary

Add missing bus_dmamap_sync() calls to linux_dma_unmap() depending
on direction. This already allows me to laod firmware on arm64 for
iwlwifi (again).

Upon inspection I found that some more places are missing calls into
synchronization so marked them with pr_debug("TODO") calls for now.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 57834
Build 54722: arc lint + arc unit

Event Timeline

bz requested review of this revision.May 22 2024, 3:22 AM
bz planned changes to this revision.May 22 2024, 3:22 AM

I'll try to deal with the "pr_debug" marked instances the next days.