Re: [PATCH RFC 05/11] arm-smmu-v3/sva: Add SVA domain support

From: Jason Gunthorpe
Date: Mon Mar 21 2022 - 07:58:36 EST


On Mon, Mar 21, 2022 at 11:31:19AM +0000, Jean-Philippe Brucker wrote:
> For now we could just return a naked struct iommu_domain. Sanity checks in
> arm_smmu_attach_dev() would be good too, a SVA domain can't be attached as
> a parent domain.

Now that we have per-domain ops the 'standard' arm_smmu_attach_dev()
cannot be called on a SVA iommu_domain already.

Jason