iommu/amd: Remove iommu_v2 module
authorVasant Hegde <vasant.hegde@amd.com>
Fri, 6 Oct 2023 09:57:02 +0000 (09:57 +0000)
committerJoerg Roedel <jroedel@suse.de>
Fri, 6 Oct 2023 14:01:52 +0000 (16:01 +0200)
commit5a0b11a180a9b82b4437a4be1cf73530053f139b
tree5afb01f262b87cfe43f15e1dfef43eeb32c537b5
parent7016b3005547bae3ba4577980db0ede53a79784a
iommu/amd: Remove iommu_v2 module

AMD GPU driver which was the only in-kernel user of iommu_v2 module
removed dependency on iommu_v2 module.

Also we are working on adding SVA support in AMD IOMMU driver. Device
drivers are expected to use common SVA framework to enable device
PASID/PRI features.

Removing iommu_v2 module and then adding SVA simplifies the development.
Hence remove iommu_v2 module.

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Tested-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://lore.kernel.org/r/20231006095706.5694-2-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/Kconfig
drivers/iommu/amd/Makefile
drivers/iommu/amd/amd_iommu.h
drivers/iommu/amd/iommu.c
drivers/iommu/amd/iommu_v2.c [deleted file]
include/linux/amd-iommu.h