]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iommu/amd: Use ida interface to manage protection domain ID
authorVasant Hegde <vasant.hegde@amd.com>
Wed, 30 Oct 2024 06:35:46 +0000 (06:35 +0000)
committerJoerg Roedel <jroedel@suse.de>
Wed, 30 Oct 2024 10:06:40 +0000 (11:06 +0100)
commit2fcab2deebc33640516d9d379b626557a38d5d4f
tree5ca7cc5cb911eb4ac31c6b01c655d8934778ff33
parent016991606aa01c4d92e6941be636c0c897aa05c7
iommu/amd: Use ida interface to manage protection domain ID

Replace custom domain ID allocator with IDA interface.

Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20241030063556.6104-3-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/amd_iommu_types.h
drivers/iommu/amd/init.c
drivers/iommu/amd/iommu.c