On 11/4/25 10:30 AM, Jason Gunthorpe wrote:
> diff --git a/drivers/iommu/generic_pt/Kconfig
> b/drivers/iommu/generic_pt/Kconfig
> index a81dfdd72ca016..cbdad222923b26 100644
> --- a/drivers/iommu/generic_pt/Kconfig
> +++ b/drivers/iommu/generic_pt/Kconfig
> @@ -30,4 +30,16 @@ config IOMMU_PT
> related to struct iommu_domain using GENERIC_PT. It provides a single
> implementation of the page table operations that can be shared by
> multiple drivers.
> +
> +if IOMMU_PT
> +config IOMMU_PT_AMDV1
> + tristate "IOMMU page table for 64-bit AMD IOMMU v1"
> + 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.
a full
or
the full
> +
> + Selected automatically by an IOMMU driver that uses this format.
> +endif
--
~Randy
- Re: [PATCH v8 08/15] iommupt: Add read_and_clea... Jason Gunthorpe
- Re: [PATCH v8 08/15] iommupt: Add read_and_... Randy Dunlap
- [PATCH v8 02/15] genpt: Add Documentation/ files Jason Gunthorpe
- Re: [PATCH v8 02/15] genpt: Add Documentation/ file... Randy Dunlap
- Re: [PATCH v8 02/15] genpt: Add Documentation/ ... Jason Gunthorpe
- [PATCH v8 12/15] iommupt: Add the x86 64 bit page table ... Jason Gunthorpe
- [PATCH v8 05/15] iommupt: Add iova_to_phys op Jason Gunthorpe
- Re: [PATCH v8 05/15] iommupt: Add iova_to_phys op Randy Dunlap
- Re: [PATCH v8 05/15] iommupt: Add iova_to_phys ... Jason Gunthorpe
- [PATCH v8 04/15] iommupt: Add the AMD IOMMU v1 page tabl... Jason Gunthorpe
- Re: [PATCH v8 04/15] iommupt: Add the AMD IOMMU v1 ... Randy Dunlap
- [PATCH v8 15/15] iommupt: Add a kunit test for the IOMMU... Jason Gunthorpe
- [PATCH v8 10/15] iommupt: Add a mock pagetable format fo... Jason Gunthorpe
- [PATCH v8 06/15] iommupt: Add unmap_pages op Jason Gunthorpe
- [PATCH v8 03/15] iommupt: Add the basic structure of the... Jason Gunthorpe
- [PATCH v8 13/15] iommu/amd: Use the generic iommu page t... Jason Gunthorpe
- Re: [PATCH v8 13/15] iommu/amd: Use the generic iom... Ankit Soni
- Re: [PATCH v8 13/15] iommu/amd: Use the generic... Jason Gunthorpe
- Re: [PATCH v8 13/15] iommu/amd: Use the generic iom... Lai, Yi
- Re: [PATCH v8 13/15] iommu/amd: Use the generic... Jason Gunthorpe
- Re: [PATCH v8 13/15] iommu/amd: Use the gen... Alejandro Jimenez
