On Fri, Nov 06, 2015 at 08:10:45PM +0800, Baoquan He wrote:
> They will be called later when copy old dev/irq tables. It's better to use 
> them
> then call iommu_flush_all_caches() since iommu_flush_all_caches() will
> iterate many empty table entries.

You only flush all table entries on old AMD IOMMUs. Newer ones have a
flush_all command that is used when available. Besides that, the AMD
IOMMU hardware is usually fast so that even flushing all dte entries is
not a bottleneck (it is done during suspend/resume, for example).

Have you made different experiences?


        Joerg

_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to