Page MenuHomeFreeBSD

LinuxKPI: add dmam_pool_create() support
ClosedPublic

Authored by bz on May 28 2021, 11:27 AM.
Tags
None
Referenced Files
F114859200: D30520.diff
Thu, Apr 17, 7:10 PM
Unknown Object (File)
Wed, Apr 16, 12:01 AM
Unknown Object (File)
Tue, Apr 15, 6:28 PM
Unknown Object (File)
Tue, Apr 15, 6:27 PM
Unknown Object (File)
Tue, Apr 15, 6:26 PM
Unknown Object (File)
Tue, Apr 15, 6:26 PM
Unknown Object (File)
Tue, Apr 15, 6:25 PM
Unknown Object (File)
Sat, Mar 22, 11:44 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.