iommu/dart: Use static global identity domains
authorJason Gunthorpe <jgg@nvidia.com>
Wed, 27 Sep 2023 23:47:35 +0000 (20:47 -0300)
committerJoerg Roedel <jroedel@suse.de>
Thu, 26 Oct 2023 14:53:51 +0000 (16:53 +0200)
commit7993085d8d5d271a83045c5c7d01982a7e89a52e
tree50754131c8b5918df8c7b53bb760a69c6a1aaa03
parent13fbceb1b8e9d1101d9dcd5ceec483cb6d203a3c
iommu/dart: Use static global identity domains

Move to the new static global for identity domains. Move the identity
specific code to apple_dart_attach_dev_identity().

Reviewed-by: Janne Grunau <j@jannau.net>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Sven Peter <sven@svenpeter.dev>
Link: https://lore.kernel.org/r/5-v2-bff223cf6409+282-dart_paging_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/apple-dart.c