iommu/amd: Return the pte page-size in fetch_pte
authorJoerg Roedel <jroedel@suse.de>
Wed, 1 Apr 2015 12:58:48 +0000 (14:58 +0200)
committerJoerg Roedel <jroedel@suse.de>
Thu, 2 Apr 2015 11:31:07 +0000 (13:31 +0200)
commit3039ca1b1c37e61cc9239dbb3903db55141ecabd
tree33d23e9b45abb6dcfb7fe1189688ebf0135cb3a6
parent3b839a57998515bb44c091bbcb8ea0da9d2adef4
iommu/amd: Return the pte page-size in fetch_pte

Extend the fetch_pte function to also return the page-size
that is mapped by the returned pte.

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