vtd: prune (and rename) cache flush functions
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 7 Jul 2020 13:22:16 +0000 (15:22 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 7 Jul 2020 13:22:16 +0000 (15:22 +0200)
commit2d11e6d694877620d7784a0bcebf9e869d41a14c
treeaf9a443d23b0121591b48d1e93b09beeaf7ed211
parent4ed000741e34431fa53d21ebdb93e50f5d407033
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>
master commit: 62298825b9a44f45761acbd758138b5ba059ebd1
master date: 2020-07-07 14:38:13 +0200
xen/drivers/passthrough/vtd/extern.h
xen/drivers/passthrough/vtd/intremap.c
xen/drivers/passthrough/vtd/iommu.c