iommu/amd: Optimize amd_iommu_iova_to_phys for new fetch_pte interface
authorJoerg Roedel <jroedel@suse.de>
Wed, 1 Apr 2015 12:58:51 +0000 (14:58 +0200)
committerJoerg Roedel <jroedel@suse.de>
Thu, 2 Apr 2015 11:31:08 +0000 (13:31 +0200)
commitb24b1b63a37d05d61601d643ef30f95dd2452048
treeab66dfad2947c457d366cc28edfdf1e5013f3321
parent5d7c94c3f4f20964b217d64ee44a9a08320c315a
iommu/amd: Optimize amd_iommu_iova_to_phys for new fetch_pte interface

Now that fetch_pte returns the page-size of the pte, this
function can be optimized too.

Tested-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c