On Sat, Dec 02, 2023 at 05:22:16PM +0800, Yan Zhao wrote: > +config IOMMUFD_KVM_HWPT > + bool "Supports KVM managed HW page tables" > + default n > + help > + Selecting this option will allow IOMMUFD to create IOMMU stage 2 > + page tables whose paging structure and mappings are managed by > + KVM MMU. IOMMUFD serves as proxy between KVM and IOMMU driver to > + allow IOMMU driver to get paging structure meta data and cache > + invalidate notifications from KVM. I'm not sure we need a user selectable kconfig for this.. Just turn it on if we have kvm turned on an iommu driver implements it Jason