Files
erofs-linux/kernel
Fenghua Yu 82e69a121b mm/fork: clear PASID for new mm
When a new mm is created, its PASID should be cleared, i.e.  the PASID is
initialized to its init state 0 on both ARM and X86.

This patch was part of the series introducing mm->pasid, but got lost
along the way [1].  It still makes sense to have it, because each address
space has a different PASID.  And the IOMMU code in
iommu_sva_alloc_pasid() expects the pasid field of a new mm struct to be
cleared.

[1] https://lore.kernel.org/linux-iommu/[email protected]/

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Fenghua Yu <[email protected]>
Signed-off-by: Jean-Philippe Brucker <[email protected]>
Reviewed-by: Tony Luck <[email protected]>
Cc: Jacob Pan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2021-03-13 11:27:30 -08:00
..
…
…
…
2021-01-06 16:24:59 -08:00
…
…
…
2021-03-13 11:27:30 -08:00
…
…
…
2020-11-14 11:26:04 -08:00
…
…
…
2020-12-01 10:30:28 +00:00
2021-01-22 15:09:42 +01:00
…
2020-12-19 11:18:38 -08:00
2021-02-09 12:27:29 -05:00
…
…
…
…
…
2020-08-19 14:14:12 +02:00
2020-08-19 14:13:20 +02:00