commit | f03152bb7d0a74f409ad63ed36916444a7493d72 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Thu Jan 21 16:15:24 2010 +0100 |
committer | Joerg Roedel <joerg.roedel@amd.com> | Sun Mar 07 18:01:12 2010 +0100 |
tree | fe0f3593abe12e4476ac209ba4d8b87977bfdee3 | |
parent | 24cd772315c19e4d9409d0d21367ec1ebab3149f [diff] |
x86/amd-iommu: Make amd_iommu_iova_to_phys aware of multiple page sizes This patch extends the amd_iommu_iova_to_phys() function to handle different page sizes correctly. It doesn't use fetch_pte() anymore because we don't know (or care about) the page_size used for mapping the given iova. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>