From: Jason Gunthorpe <jgg@ziepe.ca>
To: Tina Zhang <tina.zhang@intel.com>
Cc: Kevin Tian <kevin.tian@intel.com>,
Lu Baolu <baolu.lu@linux.intel.com>,
Michael Shavit <mshavit@google.com>,
Vasant Hegde <vasant.hegde@amd.com>,
iommu@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 2/6] iommu/vt-d: Remove mm->pasid in intel_sva_bind_mm()
Date: Thu, 21 Sep 2023 15:56:48 -0300 [thread overview]
Message-ID: <20230921185648.GY13795@ziepe.ca> (raw)
In-Reply-To: <20230912125936.722348-3-tina.zhang@intel.com>
On Tue, Sep 12, 2023 at 08:59:32PM +0800, Tina Zhang wrote:
> The pasid is passed in as a parameter through .set_dev_pasid() callback.
> Thus, intel_sva_bind_mm() can directly use it instead of retrieving the
> pasid value from mm->pasid.
>
> Suggested-by: Lu Baolu <baolu.lu@linux.intel.com>
> Signed-off-by: Tina Zhang <tina.zhang@intel.com>
> ---
> drivers/iommu/intel/svm.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
I would order this patch first in the series
Jason
next prev parent reply other threads:[~2023-09-21 22:56 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-12 12:59 [PATCH v4 0/6] Share sva domains with all devices bound to a mm Tina Zhang
2023-09-12 12:59 ` [PATCH v4 1/6] iommu: Add mm_get_enqcmd_pasid() helper function Tina Zhang
2023-09-12 12:59 ` [PATCH v4 2/6] iommu/vt-d: Remove mm->pasid in intel_sva_bind_mm() Tina Zhang
2023-09-13 2:25 ` Baolu Lu
2023-09-21 18:56 ` Jason Gunthorpe [this message]
2023-09-22 2:09 ` Tina Zhang
2023-09-12 12:59 ` [PATCH v4 3/6] iommu: Introduce mm_get_pasid() helper function Tina Zhang
2023-09-21 19:02 ` Jason Gunthorpe
2023-09-22 2:07 ` Tina Zhang
2023-09-12 12:59 ` [PATCH v4 4/6] mm: Add structure to keep sva information Tina Zhang
2023-09-13 2:38 ` Baolu Lu
2023-09-21 19:04 ` Jason Gunthorpe
2023-09-22 1:51 ` Tina Zhang
2023-09-12 12:59 ` [PATCH v4 5/6] iommu: Support mm PASID 1:n with sva domains Tina Zhang
2023-09-21 23:31 ` Jason Gunthorpe
2023-09-22 1:07 ` Tina Zhang
2023-09-12 12:59 ` [PATCH v4 6/6] mm: Deprecate pasid field Tina Zhang
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=20230921185648.GY13795@ziepe.ca \
--to=jgg@ziepe.ca \
--cc=baolu.lu@linux.intel.com \
--cc=iommu@lists.linux.dev \
--cc=kevin.tian@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mshavit@google.com \
--cc=tina.zhang@intel.com \
--cc=vasant.hegde@amd.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome