Jason Gunthorpe fdc69d39e7 iommu/arm-smmu-v3: Do not allow a SVA domain to be set on the wrong PASID
The SVA code is wired to assume that the SVA is programmed onto the
mm->pasid. The current core code always does this, so it is fine.

Add a check for clarity.

Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Tested-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/3-v6-228e7adf25eb+4155-smmuv3_newapi_p2_jgg@nvidia.com
Signed-off-by: Will Deacon <will@kernel.org>
2024-04-09 12:38:32 +01:00
..
2024-03-13 09:15:30 -07:00
2024-03-21 14:41:00 -07:00
2024-03-24 10:45:31 -07:00
2024-03-13 09:15:30 -07:00
2024-02-16 15:19:29 +01:00