Re: [PATCH 2/5] iommu: Add blocking_domain_ops field in iommu_ops

From: Christoph Hellwig
Date: Mon May 16 2022 - 03:28:07 EST


On Mon, May 16, 2022 at 09:57:56AM +0800, Lu Baolu wrote:
> Each IOMMU driver must provide a blocking domain ops. If the hardware
> supports detaching domain from device, setting blocking domain equals
> detaching the existing domain from the deivce. Otherwise, an UNMANAGED
> domain without any mapping will be used instead.

blocking in this case means not allowing any access? The naming
sounds a bit odd to me as blocking in the kernel has a specific
meaning. Maybe something like noaccess ops might be a better name?