diff options
author | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2020-12-15 10:37:05 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2021-01-28 18:51:18 +0300 |
commit | 89c9a09cb9f6e0a7df77f9c9bafd3c96148bf0d5 (patch) | |
tree | 09b416859a8e2d26f7ab6b1b66652b5f2247d65c /drivers/iommu/amd/amd_iommu.h | |
parent | fd86c9501a9b3e5eb7e46b03f03ffa4bf892b523 (diff) | |
download | linux-89c9a09cb9f6e0a7df77f9c9bafd3c96148bf0d5.tar.xz |
iommu/amd: Adopt IO page table framework for AMD IOMMU v1 page table
Switch to using IO page table framework for AMD IOMMU v1 page table.
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Link: https://lore.kernel.org/r/20201215073705.123786-14-suravee.suthikulpanit@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd/amd_iommu.h')
-rw-r--r-- | drivers/iommu/amd/amd_iommu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/amd/amd_iommu.h b/drivers/iommu/amd/amd_iommu.h index 3770b1a4d51c..91452e0ff072 100644 --- a/drivers/iommu/amd/amd_iommu.h +++ b/drivers/iommu/amd/amd_iommu.h @@ -36,6 +36,7 @@ extern void amd_iommu_disable(void); extern int amd_iommu_reenable(int); extern int amd_iommu_enable_faulting(void); extern int amd_iommu_guest_ir; +extern enum io_pgtable_fmt amd_iommu_pgtable; /* IOMMUv2 specific functions */ struct iommu_domain; |