All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Alexey Kardashevskiy <aik@amd.com>
Cc: Timothy Pearson <tpearson@raptorengineering.com>,
	kvm <kvm@vger.kernel.org>
Subject: Re: [PATCH 4/5] powerpc/iommu: Add iommu_ops to report capabilities and
Date: Mon, 6 Mar 2023 08:43:29 -0400	[thread overview]
Message-ID: <ZAXf8XrQwnhGaMk1@nvidia.com> (raw)
In-Reply-To: <c40ec6aa-1e89-866f-14ee-dd5b067ce001@amd.com>

On Mon, Mar 06, 2023 at 09:44:00PM +1100, Alexey Kardashevskiy wrote:
> > +static const struct iommu_domain_ops spapr_tce_blocking_domain_ops = {
> > +	.attach_dev = spapr_tce_blocking_iommu_attach_dev,
> > +	.detach_dev = spapr_tce_blocking_iommu_detach_dev,
> 
> 
> This .detach_dev() is gone now, the upstream has it removed. I am not quite
> sure now what should be calling release_ownership(). Probably
> spapr_tce_iommu_ops is going to need default_domain_ops, which attach_dev()
> will call release_ownership().

set_platform_dma_ops is what you want here

Jason

      reply	other threads:[~2023-03-06 12:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-03 21:30 [PATCH 4/5] powerpc/iommu: Add iommu_ops to report capabilities and Timothy Pearson
2023-03-06 10:44 ` Alexey Kardashevskiy
2023-03-06 12:43   ` Jason Gunthorpe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZAXf8XrQwnhGaMk1@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=aik@amd.com \
    --cc=kvm@vger.kernel.org \
    --cc=tpearson@raptorengineering.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.