summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/amd_iommu_types.h
diff options
context:
space:
mode:
authorJoerg Roedel2015-04-01 14:58:52 +0200
committerJoerg Roedel2015-04-02 13:31:08 +0200
commitd4b036648402bb4ef6d4a0df51375a2fb705b6cc (patch)
tree9f464e5834439731cb8260f0883a65838a217c01 /drivers/iommu/amd_iommu_types.h
parentiommu/amd: Optimize amd_iommu_iova_to_phys for new fetch_pte interface (diff)
downloadkernel-qcow2-linux-d4b036648402bb4ef6d4a0df51375a2fb705b6cc.tar.gz
kernel-qcow2-linux-d4b036648402bb4ef6d4a0df51375a2fb705b6cc.tar.xz
kernel-qcow2-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/amd_iommu_types.h')
0 files changed, 0 insertions, 0 deletions