On 8/26/25 10:18 AM, Jason Gunthorpe wrote:
> diff --git a/drivers/iommu/generic_pt/Kconfig
> b/drivers/iommu/generic_pt/Kconfig
> index c35ddc7c827e92..1867e8d74b4be9 100644
> --- a/drivers/iommu/generic_pt/Kconfig
> +++ b/drivers/iommu/generic_pt/Kconfig
> @@ -29,4 +29,16 @@ config IOMMU_PT
> IOMMU_PT provides an implementation of the page table operations
> related struct iommu_domain using GENERIC_PT to abstract the page
> table format.
> +
> +if IOMMU_PT
> +config IOMMU_PT_AMDV1
> + tristate "IOMMU page table for 64 bit AMD IOMMU v1"
64-bit
> + depends on !GENERIC_ATOMIC64 # for cmpxchg64
> + help
> + iommu_domain implementation for the AMD v1 page table. AMDv1 is the
> + "host" page table. It supports granular page sizes of almost every
> + power of 2 and decodes an full 64 bit IOVA space.
64-bit
> +
> + Selected automatically by an IOMMU driver that uses this format.
> +endif
--
~Randy
- [PATCH v4 13/15] iommu/amd: Use the generic iommu page tab... Jason Gunthorpe
- [PATCH v4 11/15] iommufd: Change the selftest to use iommu... Jason Gunthorpe
- Re: [PATCH v4 11/15] iommufd: Change the selftest to ... Randy Dunlap
- Re: [PATCH v4 11/15] iommufd: Change the selftest... Jason Gunthorpe
- [PATCH v4 14/15] iommu/amd: Remove AMD io_pgtable support Jason Gunthorpe
- [PATCH v4 01/15] genpt: Generic Page Table base API Jason Gunthorpe
- Re: [PATCH v4 01/15] genpt: Generic Page Table base A... Randy Dunlap
- Re: [PATCH v4 01/15] genpt: Generic Page Table ba... Jason Gunthorpe
- Re: [PATCH v4 01/15] genpt: Generic Page Tabl... Randy Dunlap
- [PATCH v4 04/15] iommupt: Add the AMD IOMMU v1 page table ... Jason Gunthorpe
- Re: [PATCH v4 04/15] iommupt: Add the AMD IOMMU v1 pa... Randy Dunlap
- Re: [PATCH v4 04/15] iommupt: Add the AMD IOMMU v... Jason Gunthorpe
- [PATCH v4 09/15] iommupt: Add a kunit test for Generic Pag... Jason Gunthorpe
