iommu/amd: Add support for fast IOTLB flushing
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Wed, 21 Feb 2018 07:19:45 +0000 (14:19 +0700)
committerJoerg Roedel <jroedel@suse.de>
Thu, 15 Mar 2018 12:37:34 +0000 (13:37 +0100)
commiteb5ecd1a40e2098f805fb63cb07817ac48826e40
tree82322557f572777f1620ae059bf56167ef0f7902
parentdf42a04b15f19a842393dc98a84cbc52b1f8ed49
iommu/amd: Add support for fast IOTLB flushing

Since AMD IOMMU driver currently flushes all TLB entries
when page size is more than one, use the same interface
for both iommu_ops.flush_iotlb_all() and iommu_ops.iotlb_sync().

Cc: Joerg Roedel <joro@8bytes.org>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c