Re: [PATCH v2 01/11] iommu: Add new iommu op to create domains owned by userspace

Jason Gunthorpe
2023-06-07T00:14:44Z

On Tue, Jun 06, 2023 at 12:43:44PM -0700, Nicolin Chen wrote:
> 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?

Probably not..

Jason