diff options
author | Joerg Roedel <jroedel@suse.de> | 2015-04-01 14:58:52 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2015-04-02 13:31:08 +0200 |
commit | d4b036648402bb4ef6d4a0df51375a2fb705b6cc (patch) | |
tree | 9f464e5834439731cb8260f0883a65838a217c01 /drivers/iommu/tegra-smmu.c | |
parent | iommu/amd: Optimize amd_iommu_iova_to_phys for new fetch_pte interface (diff) | |
download | linux-d4b036648402bb4ef6d4a0df51375a2fb705b6cc.tar.xz linux-d4b036648402bb4ef6d4a0df51375a2fb705b6cc.zip |
iommu/amd: Correctly encode huge pages in iommu page tables
When a default page-size for given level should be mapped,
the level encoding must be 0 rather than 7. This fixes an
issue seen on IOMMUv2 hardware, where this encoding is
enforced.
Tested-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/tegra-smmu.c')
0 files changed, 0 insertions, 0 deletions