diff options
author | Joerg Roedel <jroedel@suse.de> | 2018-11-09 12:07:08 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2018-11-15 16:40:53 +0100 |
commit | 69be88520f9dc56d3ec29d7b7d988f55fd248008 (patch) | |
tree | 5f449f7772fbd2a295adcc004ec751ccdb124dd8 /drivers/iommu/amd_iommu_types.h | |
parent | iommu/amd: Introduce free_sub_pt() function (diff) | |
download | linux-dev-69be88520f9dc56d3ec29d7b7d988f55fd248008.tar.xz linux-dev-69be88520f9dc56d3ec29d7b7d988f55fd248008.zip |
iommu/amd: Ignore page-mode 7 in free_sub_pt()
The page-mode 7 is a special one as it marks a final PTE to
a page with an intermediary size.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd_iommu_types.h')
-rw-r--r-- | drivers/iommu/amd_iommu_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/amd_iommu_types.h b/drivers/iommu/amd_iommu_types.h index e2b342e65a7b..eae0741f72dc 100644 --- a/drivers/iommu/amd_iommu_types.h +++ b/drivers/iommu/amd_iommu_types.h @@ -269,6 +269,7 @@ #define PAGE_MODE_4_LEVEL 0x04 #define PAGE_MODE_5_LEVEL 0x05 #define PAGE_MODE_6_LEVEL 0x06 +#define PAGE_MODE_7_LEVEL 0x07 #define PM_LEVEL_SHIFT(x) (12 + ((x) * 9)) #define PM_LEVEL_SIZE(x) (((x) < 6) ? \ |