Re: [PATCH v5 4/5] iommu/hyperv: Add para-virtualized IOMMU support for Hyper-V guest

From: Jacob Pan

Date: Tue Sep 29 2026 - 17:25:54 EST


Hi Jason,

On Tue, 29 Sep 2026 17:04:47 -0300
Jason Gunthorpe <jgg@xxxxxxxxxx> wrote:

> > +config HYPERV_PVIOMMU
> > + bool "Microsoft Hyper-V para-virtualized IOMMU driver for
> > Linux guests"
> > + depends on X86_64 && HYPERV
> > + select IOMMU_API
> > + select GENERIC_PT
> > + select IOMMU_PT
> > + select IOMMU_PT_X86_64
> > + select IOMMU_IOVA
>
> Should this be IOMMU_DMA ?

I agree. I guess we should also delete "select IOMMU_API", since
IOMMU_DMA selects both.

Noticed vt-d driver has the same option, maybe it should also
be changed. Baolu, is that due to historical reasons?

config INTEL_IOMMU
bool "Support for Intel IOMMU using DMA Remapping Devices"
depends on PCI_MSI && ACPI && X86
select IOMMU_API
select GENERIC_PT
select IOMMU_PT
select IOMMU_PT_X86_64
select IOMMU_PT_VTDSS
select IOMMU_IOVA