diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2023-12-08 04:53:14 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-12-12 12:16:32 +0300 |
commit | 7be423336eccc872249d37900c19c1d24f171353 (patch) | |
tree | 260b446aa3cbb8423fddd6ec50912836d576bccc /arch/arc | |
parent | 1fa05c932dc71c474da38e4fd0456131128f8486 (diff) | |
download | linux-7be423336eccc872249d37900c19c1d24f171353.tar.xz |
iommu: Set owner token to SVA domain
Commit a9c362db3920 ("iommu: Validate that devices match domains") added
an owner token to the iommu_domain. This token is checked during domain
attachment to RID or PASID through the generic iommu interfaces.
The SVA domains are attached to PASIDs through those iommu interfaces.
Therefore, they require the owner token to be set during allocation.
Otherwise, they fail to attach.
Set the owner token for SVA domains.
Fixes: a9c362db3920 ("iommu: Validate that devices match domains")
Cc: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20231208015314.320663-1-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'arch/arc')
0 files changed, 0 insertions, 0 deletions