diff options
-rw-r--r-- | drivers/iommu/amd_iommu.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index 98d74ab564b6..c1c74e030a58 100644 --- a/drivers/iommu/amd_iommu.c +++ b/drivers/iommu/amd_iommu.c | |||
@@ -57,16 +57,6 @@ | |||
57 | * physically contiguous memory regions it is mapping into page sizes | 57 | * physically contiguous memory regions it is mapping into page sizes |
58 | * that we support. | 58 | * that we support. |
59 | * | 59 | * |
60 | * Traditionally the IOMMU core just handed us the mappings directly, | ||
61 | * after making sure the size is an order of a 4KiB page and that the | ||
62 | * mapping has natural alignment. | ||
63 | * | ||
64 | * To retain this behavior, we currently advertise that we support | ||
65 | * all page sizes that are an order of 4KiB. | ||
66 | * | ||
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. | ||
69 | * | ||
70 | * 512GB Pages are not supported due to a hardware bug | 60 | * 512GB Pages are not supported due to a hardware bug |
71 | */ | 61 | */ |
72 | #define AMD_IOMMU_PGSIZES ((~0xFFFUL) & ~(2ULL << 38)) | 62 | #define AMD_IOMMU_PGSIZES ((~0xFFFUL) & ~(2ULL << 38)) |