Page MenuHomeFreeBSD

Add dev member to struct iommu
ClosedPublic

Authored by br on Sun, Nov 15, 11:00 PM.

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

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

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