vtd: prune (and rename) cache flush functions
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 7 Jul 2020 12:38:13 +0000 (14:38 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 7 Jul 2020 12:38:13 +0000 (14:38 +0200)
commit62298825b9a44f45761acbd758138b5ba059ebd1
tree15cf616e3cedc5f1c8047c7ef63ffee6fc9849b4
parent5fe515a0fede07543f2a3b049167b1fd8b873caf
vtd: prune (and rename) cache flush functions

Rename __iommu_flush_cache to iommu_sync_cache and remove
iommu_flush_cache_page. Also remove the iommu_flush_cache_entry
wrapper and just use iommu_sync_cache instead. Note the _entry suffix
was meaningless as the wrapper was already taking a size parameter in
bytes. While there also constify the addr parameter.

No functional change intended.

This is part of XSA-321.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/passthrough/vtd/extern.h
xen/drivers/passthrough/vtd/intremap.c
xen/drivers/passthrough/vtd/iommu.c