]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iommu/amd: Implement global identity domain
authorVasant Hegde <vasant.hegde@amd.com>
Mon, 28 Oct 2024 09:38:08 +0000 (09:38 +0000)
committerJoerg Roedel <jroedel@suse.de>
Tue, 29 Oct 2024 09:08:22 +0000 (10:08 +0100)
commit4402f2627d30c44f56180295e14561f1820eeacc
tree42bf3deee99f875921714217a2d31926af746356
parentce2cd175469f6cb56e8de9bf87805206c8d19764
iommu/amd: Implement global identity domain

Implement global identity domain. All device groups in identity domain
will share this domain.

In attach device path, based on device capability it will allocate per
device domain ID and GCR3 table. So that it can support SVA.

Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20241028093810.5901-11-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/amd_iommu.h
drivers/iommu/amd/init.c
drivers/iommu/amd/iommu.c