iommu/sva: Move PASID helpers to sva code
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Wed, 22 Mar 2023 20:07:58 +0000 (13:07 -0700)
committerJoerg Roedel <jroedel@suse.de>
Fri, 31 Mar 2023 08:03:23 +0000 (10:03 +0200)
commitcd3891158a77685aee6129f7374a018d13540b2c
treef2aa7d4ea3a426b77e4f21f56219728c0dbfd529
parent760f41d182ec94a651977e70045fd61b57973408
iommu/sva: Move PASID helpers to sva code

Preparing to remove IOASID infrastructure, PASID management will be
under SVA code. Decouple mm code from IOASID.

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20230322200803.869130-3-jacob.jun.pan@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu-sva.c
include/linux/ioasid.h
include/linux/iommu.h
include/linux/sched/mm.h
kernel/fork.c