]> git.ipfire.org Git - thirdparty/qemu.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 S. Tsirkin <mst@redhat.com>
Mon, 5 Nov 2018 18:24:02 +0000 (13:24 -0500)
commit06aba4ca52fd2c8718b8ba486f22f0aa7c99ed55
treefa9bfd6075fdc6df4e93df81dc291636af604eaa
parent9bb192a4fca3e50194b6ac2e0eaaee20d996bba1
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>
hw/i386/intel_iommu.c