Page MenuHomeFreeBSD

LinuxKPI: add dmam_pool_create() support
ClosedPublic

Authored by bz on May 28 2021, 11:27 AM.
Tags
None
Referenced Files
F159026894: D30520.id91050.diff
Tue, Jun 9, 5:27 AM
F159023346: D30520.id90050.diff
Tue, Jun 9, 4:20 AM
F158981068: D30520.id.diff
Mon, Jun 8, 2:24 PM
Unknown Object (File)
Mon, May 25, 10:16 AM
Unknown Object (File)
Mon, May 25, 10:16 AM
Unknown Object (File)
Mon, May 18, 6:47 AM
Unknown Object (File)
Mon, May 18, 6:47 AM
Unknown Object (File)
Sun, May 17, 5:04 PM

Details

Summary

dmam_pool_create() is a "managed" version of dma_pool_create() which
will cleanup everything left when the device goes away using the
devres framework. For that add an internal cleanup function to be
called from devres release.

Sponsored by: The FreeBSD Foundation
MFC after: 10 days

Diff Detail

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

Event Timeline

bz requested review of this revision.May 28 2021, 11:27 AM

Anyone interested in this or should I go ahead and commit it?

In D30520#690450, @bz wrote:

Anyone interested in this or should I go ahead and commit it?

This seems to be the last one then.

hselasky added inline comments.
sys/compat/linuxkpi/common/include/linux/dmapool.h
58

Just use plain "inline" not "__inline".

This revision is now accepted and ready to land.Jun 18 2021, 3:46 PM
This revision was automatically updated to reflect the committed changes.