Page MenuHomeFreeBSD

Add dev member to struct iommu
ClosedPublic

Authored by br on Nov 15 2020, 11:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 2:53 PM
Unknown Object (File)
Tue, Nov 19, 2:47 PM
Unknown Object (File)
Tue, Nov 19, 2:47 PM
Unknown Object (File)
Tue, Nov 19, 2:26 AM
Unknown Object (File)
Oct 20 2024, 11:11 AM
Unknown Object (File)
Oct 20 2024, 2:30 AM
Unknown Object (File)
Oct 1 2024, 5:14 PM
Unknown Object (File)
Sep 26 2024, 1:56 PM
Subscribers

Details

Summary

Add the device field to struct iommu.

This is needed on arm64 for the interface between iommu framework and drivers (i.e. SMMU).
We have multiple instances of SMMU on arm64.

Example:
error = IOMMU_MAP(iommu->dev, iodom, va, ma, size, prot);

see https://reviews.freebsd.org/D24618

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

br requested review of this revision.Nov 15 2020, 11:00 PM
br created this revision.
This revision is now accepted and ready to land.Nov 16 2020, 9:34 AM
This revision was automatically updated to reflect the committed changes.