summaryrefslogtreecommitdiff
path: root/mm/init-mm.c
diff options
context:
space:
mode:
authorTina Zhang <tina.zhang@intel.com>2023-10-27 08:05:25 +0800
committerJoerg Roedel <jroedel@suse.de>2023-12-12 10:11:32 +0100
commit1fa05c932dc71c474da38e4fd0456131128f8486 (patch)
tree02170f8f2cd7a601417a17b83f1f7cb0ec6322fd /mm/init-mm.c
parent092edaddb660376648acb97678570ed5d8299768 (diff)
mm: Deprecate pasid field
Drop the pasid field, as all the information needed for sva domain management has been moved to the newly added iommu_mm field. Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com> Reviewed-by: Vasant Hegde <vasant.hegde@amd.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Tina Zhang <tina.zhang@intel.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/20231027000525.1278806-7-tina.zhang@intel.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'mm/init-mm.c')
-rw-r--r--mm/init-mm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/mm/init-mm.c b/mm/init-mm.c
index c52dc2740a3d..24c809379274 100644
--- a/mm/init-mm.c
+++ b/mm/init-mm.c
@@ -44,9 +44,6 @@ struct mm_struct init_mm = {
#endif
.user_ns = &init_user_ns,
.cpu_bitmap = CPU_BITS_NONE,
-#ifdef CONFIG_IOMMU_MM_DATA
- .pasid = IOMMU_PASID_INVALID,
-#endif
INIT_MM_CONTEXT(init_mm)
};