diff options
-rw-r--r-- | drivers/iommu/amd_iommu.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index cb63cc5d94d7..98d74ab564b6 100644 --- a/drivers/iommu/amd_iommu.c +++ b/drivers/iommu/amd_iommu.c | |||
@@ -66,8 +66,10 @@ | |||
66 | * | 66 | * |
67 | * If at some point we'd like to utilize the IOMMU core's new behavior, | 67 | * If at some point we'd like to utilize the IOMMU core's new behavior, |
68 | * we could change this to advertise the real page sizes we support. | 68 | * we could change this to advertise the real page sizes we support. |
69 | * | ||
70 | * 512GB Pages are not supported due to a hardware bug | ||
69 | */ | 71 | */ |
70 | #define AMD_IOMMU_PGSIZES (~0xFFFUL) | 72 | #define AMD_IOMMU_PGSIZES ((~0xFFFUL) & ~(2ULL << 38)) |
71 | 73 | ||
72 | static DEFINE_RWLOCK(amd_iommu_devtable_lock); | 74 | static DEFINE_RWLOCK(amd_iommu_devtable_lock); |
73 | 75 | ||