[PATCH] iommu: Remove functions that support private domain

Prakhya, Sai Praneeth sai.praneeth.prakhya at intel.com
Thu May 14 17:51:39 UTC 2020

Hi Joerg,

> -----Original Message-----
> From: Joerg Roedel <joro at 8bytes.org>
> Sent: Thursday, May 14, 2020 6:13 AM
> To: Prakhya, Sai Praneeth <sai.praneeth.prakhya at intel.com>
> Cc: iommu at lists.linux-foundation.org; Lu Baolu <baolu.lu at linux.intel.com>
> Subject: Re: [PATCH] iommu: Remove functions that support private domain
> On Wed, May 13, 2020 at 03:47:21PM -0700, Sai Praneeth Prakhya wrote:
> > After moving iommu_group setup to iommu core code [1][2] and removing
> > private domain support in vt-d [3], there are no users for functions
> > such as iommu_request_dm_for_dev(),
> iommu_request_dma_domain_for_dev()
> > and request_default_domain_for_dev(). So, remove these functions.
> I thought these functions are needed for the per-group default-domain patch-
> set? That is why I left them in for now, but I can also remove them if not.

Sorry! didn't get that quite well. When you meant "per-group default-domain patch-set", do you mean the patch set that I am working on which changes iommu group default domain dynamically by writing to sysfs file?
If so, they don't use these functions so it should be ok to remove them. If you meant some other patch set, could you please point me to them?


More information about the iommu mailing list