Messages in this thread | | | Date | Mon, 20 Mar 2023 12:05:17 -0300 | From | Jason Gunthorpe <> | Subject | Re: [PATCH v6 2/7] iommu/sva: Move PASID helpers to sva code |
| |
On Mon, Mar 13, 2023 at 01:41:53PM -0700, Jacob Pan wrote: > Preparing to remove IOASID infrastructure, PASID management will be > under SVA code. Decouple mm code from IOASID. > > Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com> > --- > v6: > - put helpers under iommu.h instead of iommu-helper.h > v5: > - move definition of helpers to iommu code to be consistent with > declarations. (Kevin) > - fix patch partitioning bug (Baolu) > v4: > - delete and open code mm_set_pasid > - keep mm_init_pasid() as inline for fork performance > --- > drivers/iommu/iommu-sva.c | 10 +++++++++- > include/linux/ioasid.h | 6 +----- > include/linux/iommu.h | 14 +++++++++++++- > include/linux/sched/mm.h | 26 -------------------------- > kernel/fork.c | 3 +++ > 5 files changed, 26 insertions(+), 33 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Jason
| |