]> xenbits.xensource.com Git - qemu-xen.git/commit
intel_iommu: introduce vtd_reset_caches()
authorPeter Xu <peterx@redhat.com>
Sat, 29 Sep 2018 03:36:14 +0000 (11:36 +0800)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 27 Mar 2019 06:07:19 +0000 (01:07 -0500)
commit0a818f87f7d1869478302a5ccc54c8df957ae3be
treecc1416ff653e7e4748326465d634232ca1413910
parent92c7eec10926eaff161a91624f399b4afe6cb273
intel_iommu: introduce vtd_reset_caches()

Provide the function and use it in vtd_init().  Used to reset both
context entry cache and iotlb cache for the whole IOMMU unit.

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 06aba4ca52fd2c8718b8ba486f22f0aa7c99ed55)
*functional dep. for 2cc9ddcceb
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/i386/intel_iommu.c