Re: [PATCH v2 01/11] iommu: Add new iommu op to create domains owned by userspace
From: Nicolin Chen
Date: Tue Jun 06 2023 - 15:45:36 EST
On Tue, Jun 06, 2023 at 11:08:44AM -0300, Jason Gunthorpe wrote:
> On Wed, May 24, 2023 at 06:41:41PM -0700, Nicolin Chen wrote:
>
> > Upon a quick check, I think we could. Though it'd be slightly
> > mismatched with the domain_alloc op, it should be fine since
> > iommufd is likely to be the only caller.
>
> Ideally the main op would return ERR_PTR too
Yea. It just seems to be a bit painful to change it for that.
Worth a big series?
Thanks
Nic