iommu/dart: Move the blocked domain support to a global static
authorJason Gunthorpe <jgg@nvidia.com>
Wed, 27 Sep 2023 23:47:36 +0000 (20:47 -0300)
committerJoerg Roedel <jroedel@suse.de>
Thu, 26 Oct 2023 14:54:24 +0000 (16:54 +0200)
commit17ef8d6876e01165836790d83d908eb21da3f08e
treed09acfc6f02114d5d1e009b2815db7801a468b76
parent7993085d8d5d271a83045c5c7d01982a7e89a52e
iommu/dart: Move the blocked domain support to a global static

Move to the new static global for blocked domains. Move the blocked
specific code to apple_dart_attach_dev_blocked().

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