iommu/dart: Convert to domain_alloc_paging()
authorJason Gunthorpe <jgg@nvidia.com>
Wed, 27 Sep 2023 23:47:37 +0000 (20:47 -0300)
committerJoerg Roedel <jroedel@suse.de>
Thu, 26 Oct 2023 14:54:25 +0000 (16:54 +0200)
commit9c3ef90c4ccbee0a000b0f6b1b28c38773de87c7
tree50b3aa89d92d2c5a7426c56dc339d727ed347570
parent17ef8d6876e01165836790d83d908eb21da3f08e
iommu/dart: Convert to domain_alloc_paging()

Since the IDENTITY and BLOCKED behaviors were moved to global statics all
that remains is the paging domain. Rename to
apple_dart_attach_dev_paging() and remove the left over type check.

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/7-v2-bff223cf6409+282-dart_paging_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/apple-dart.c