lkml.org 
[lkml]   [2023]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH 2/5] iommu: Call helper function to get assigned pasid value
Date
> From: Baolu Lu <baolu.lu@linux.intel.com>
> Sent: Wednesday, August 9, 2023 8:22 AM
>
> On 2023/8/8 15:49, Tina Zhang wrote:
> > Use the helper function mm_get_pasid() to get the mm assigned pasid
> > value.
>
> For internal iommu drivers, perhaps we should use another helper.
> Something like sva_domain_get_pasid()?
>
> Suppose that the iommu drivers should have no idea about the "mm".
>

Aren't all touched functions accept a struct mm_struct pointer?
\
 
 \ /
  Last update: 2023-08-09 11:50    [W:0.090 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site