]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerJiri Slaby <jslaby@suse.cz>
Wed, 10 Jun 2015 11:31:17 +0000 (13:31 +0200)
commit57bdeb720c85f309ffeb487963d3f46b370b551f
tree799db4f2c3b0f62c74126fcb1a979520cfff1d9b
parent8efd02c4eb48212294315514411a6e7a7e57e4da
iommu/amd: Return the pte page-size in fetch_pte

commit 3039ca1b1c37e61cc9239dbb3903db55141ecabd upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/iommu/amd_iommu.c
drivers/iommu/amd_iommu_types.h