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, Jan 12, 7:00 PM
Unknown Object (File)
Sun, Jan 5, 7:38 PM
Unknown Object (File)
Dec 10 2024, 3:00 AM
Unknown Object (File)
Dec 5 2024, 9:01 AM
Unknown Object (File)
Dec 4 2024, 6:13 AM
Unknown Object (File)
Dec 3 2024, 1:56 AM
Unknown Object (File)
Nov 26 2024, 6:32 AM
Unknown Object (File)
Oct 22 2024, 5:16 PM

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.