Page MenuHomeFreeBSD

iommu_domain constructor
ClosedPublic

Authored by br on Aug 5 2020, 12:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 13, 11:32 AM
Unknown Object (File)
Jul 21 2024, 10:11 AM
Unknown Object (File)
Jul 19 2024, 5:34 PM
Unknown Object (File)
Jul 18 2024, 9:09 PM
Unknown Object (File)
Jul 18 2024, 6:37 PM
Unknown Object (File)
Jul 17 2024, 9:16 AM
Unknown Object (File)
Jul 16 2024, 1:01 PM
Unknown Object (File)
Jul 10 2024, 5:37 AM
Subscribers

Details

Summary

Add iommu_domain constructor and destructor.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

br requested review of this revision.Aug 5 2020, 12:36 PM
br created this revision.
sys/dev/iommu/busdma_iommu.c
1073

I suggest to pass iommu_unit, and map_ops as the arguments.

1079

What about unload_task ?

Pass ops and iommu_unit to iommu_domain_init()

sys/dev/iommu/busdma_iommu.c
1079

may be we should move dmar_domain_unload_task() to busdma_iommu.c in the next diff

kib added inline comments.
sys/dev/iommu/busdma_iommu.c
1079

I do not see a reason not to, but lets see the diff.

This revision is now accepted and ready to land.Aug 5 2020, 9:42 PM
This revision was automatically updated to reflect the committed changes.