]> www.infradead.org Git - nvme.git/commit
iommu/amd: Refactor protection_domain helper functions
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Mon, 5 Feb 2024 11:56:10 +0000 (11:56 +0000)
committerJoerg Roedel <jroedel@suse.de>
Fri, 9 Feb 2024 12:16:28 +0000 (13:16 +0100)
commitfb575d17813f6aff2e8b7e051dac8def2c291bff
treee5a596f3fba6eb46ef3ebf986830630fd44d4314
parent4ebd4c7f2501cc5876717e0f2382d5b825e59405
iommu/amd: Refactor protection_domain helper functions

To removes the code to setup GCR3 table, and only handle domain
create / destroy, since GCR3 is no longer part of a domain.

Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20240205115615.6053-13-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/iommu.c