]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iommu: Detaching pasid by attaching to the blocked_domain
authorYi Liu <yi.l.liu@intel.com>
Wed, 4 Dec 2024 12:29:24 +0000 (04:29 -0800)
committerJoerg Roedel <jroedel@suse.de>
Wed, 18 Dec 2024 08:39:35 +0000 (09:39 +0100)
commitb18301b9156a0d8a0094fcd16a1b98816539eab0
tree2c7b43966229ee4dde4fc19cce501b042b60a9c1
parent1fbf73425f5169e2d183b2ca67bfe2f1019d11c0
iommu: Detaching pasid by attaching to the blocked_domain

The iommu drivers are on the way to detach pasid by attaching to the blocked
domain. However, this cannot be done in one shot. During the transition, iommu
core would select between the remove_dev_pasid op and the blocked domain.

Suggested-by: Kevin Tian <kevin.tian@intel.com>
Suggested-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Link: https://lore.kernel.org/r/20241204122928.11987-4-yi.l.liu@intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c