CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2021/03/01 14:35:03

Modified files:
        sys/arch/arm64/dev: smmu.c smmu_fdt.c smmuvar.h 

Log message:
Instead of sprinkling the device's DMA tag, always return a new DMA tag
which is based on the IOMMU's.  If you think about it, using the IOMMU's
DMA tag makes more sense because it is the IOMMU that does the actual DMA.
Noticed while debugging, since the SMMU's map function was called twice:
once for the PCI device, and once for its ppb(4).  As the transaction has
the PCI device's Stream ID, not the ppb(4)'s, this would be useless work.

Suggested by kettenis@

Reply via email to