iommu/fsl_pamu: Implement a PLATFORM domain
authorJason Gunthorpe <jgg@nvidia.com>
Wed, 13 Sep 2023 13:43:38 +0000 (10:43 -0300)
committerJoerg Roedel <jroedel@suse.de>
Mon, 25 Sep 2023 09:40:54 +0000 (11:40 +0200)
commit8565915e75581ba540527d1d9a2b89620002a0d0
tree52399485370758431fa696f0b292ace1dd42eeff
parente04c7487a6655722172e93e8f36e51d6ab279f86
iommu/fsl_pamu: Implement a PLATFORM domain

This driver is nonsensical. To not block migrating the core API away from
NULL default_domains give it a hacky of a PLATFORM domain that keeps it
working exactly as it always did.

Leave some comments around to warn away any future people looking at this.

Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/5-v8-81230027b2fa+9d-iommu_all_defdom_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/fsl_pamu_domain.c