Page MenuHomeFreeBSD

linuxkpi: Add dma_{un,}map_sgtable
ClosedPublic

Authored by manu on Aug 10 2022, 6:48 AM.
Tags
None
Referenced Files
F102558260: D36106.diff
Thu, Nov 14, 1:19 AM
Unknown Object (File)
Oct 9 2024, 2:10 AM
Unknown Object (File)
Oct 9 2024, 2:10 AM
Unknown Object (File)
Oct 9 2024, 2:10 AM
Unknown Object (File)
Oct 9 2024, 2:10 AM
Unknown Object (File)
Oct 9 2024, 1:39 AM
Unknown Object (File)
Sep 25 2024, 9:04 AM
Unknown Object (File)
Sep 24 2024, 6:33 PM

Details

Summary

Variant of dma_{un,}map_sg_attrs for struct sg_table.

Obtained from: drm-kmod
Sponsored by: Beckhoff Automation GmbH & Co. KG

Diff Detail

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

Event Timeline

manu requested review of this revision.Aug 10 2022, 6:48 AM
bz added inline comments.
sys/compat/linuxkpi/common/include/linux/dma-mapping.h
360

Shouldn't this here be dma_unmap_sg_attrs with the attrs passed in (even though it's later ignored) so in case our version will ever respect "attrs" it'll do the right thing here already?

Use dma_unmap_sg_attrs in dma_unmap_sgtable

manu marked an inline comment as done.Aug 11 2022, 7:54 AM
This revision is now accepted and ready to land.Aug 11 2022, 11:29 AM
This revision was automatically updated to reflect the committed changes.