This is used when the iommu driver is taking control of the dma_ops,
currently only on S390 and power spapr. It is designed to preserve the
original ops->detach_dev() semantic that these S390 was built around.
Provide an opaque domain type and a 'default_domain' ops value that allows
the driver to
On Wed, Aug 23, 2023 at 01:47:16PM -0300, Jason Gunthorpe wrote:
> This is used when the iommu driver is taking control of the dma_ops,
> currently only on S390 and power spapr. It is designed to preserve the
> original ops->detach_dev() semantic that these S390 was built around.
>
> Provide an op
On Thu, Aug 24, 2023 at 06:51:48PM -0700, Jerry Snitselaar wrote:
> > + /*
> > +* Allow legacy drivers to specify the domain that will be the default
> > +* domain. This should always be either an IDENTITY or PLATFORM domain.
> > +* Do not use in new drivers.
> > +*/
>
> Would i
On Fri, Aug 25, 2023 at 02:40:10PM -0300, Jason Gunthorpe wrote:
> On Thu, Aug 24, 2023 at 06:51:48PM -0700, Jerry Snitselaar wrote:
>
> > > + /*
> > > + * Allow legacy drivers to specify the domain that will be the default
> > > + * domain. This should always be either an IDENTITY or PLATFORM d