[RFC PATCH 6/6] mm: Deprecate pasid field

From: Tina Zhang
Date: Thu Jul 06 2023 - 21:36:48 EST


Drop the pasid field, as all the information needed for sva domain
management has been moved to the newly added iommu_mm field.

Signed-off-by: Tina Zhang <tina.zhang@xxxxxxxxx>
---
mm/init-mm.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/mm/init-mm.c b/mm/init-mm.c
index c43b7d0347312..50824dd5a949a 100644
--- a/mm/init-mm.c
+++ b/mm/init-mm.c
@@ -43,7 +43,6 @@ struct mm_struct init_mm = {
.user_ns = &init_user_ns,
.cpu_bitmap = CPU_BITS_NONE,
#ifdef CONFIG_IOMMU_SVA
- .pasid = IOMMU_PASID_INVALID,
.iommu_mm = &default_iommu_mm,
#endif
INIT_MM_CONTEXT(init_mm)
--
2.34.1