commit | d4b036648402bb4ef6d4a0df51375a2fb705b6cc | [log] [tgz] |
---|---|---|
author | Joerg Roedel <jroedel@suse.de> | Wed Apr 01 14:58:52 2015 +0200 |
committer | Joerg Roedel <jroedel@suse.de> | Thu Apr 02 13:31:08 2015 +0200 |
tree | 9f464e5834439731cb8260f0883a65838a217c01 | |
parent | b24b1b63a37d05d61601d643ef30f95dd2452048 [diff] |
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>