From: Joerg Roedel Date: Wed, 1 Apr 2015 12:58:52 +0000 (+0200) Subject: iommu/amd: Correctly encode huge pages in iommu page tables X-Git-Tag: omap-for-v4.1/fixes-rc1~83^2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4b036648402bb4ef6d4a0df51375a2fb705b6cc;p=pandora-kernel.git 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 Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed