diff options
| author | Jason Gunthorpe <[email protected]> | 2025-04-08 16:35:51 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2025-04-28 11:14:59 +0000 |
| commit | 21c03574df19f0d77cb2e4d28bc02c79b21e656a (patch) | |
| tree | 6bbbd006f265d58c7a148aa78c983bbf95589f81 /rust/helpers/platform.c | |
| parent | iommu: Do not call domain_alloc() in iommu_sva_domain_alloc() (diff) | |
| download | kernel-21c03574df19f0d77cb2e4d28bc02c79b21e656a.tar.gz kernel-21c03574df19f0d77cb2e4d28bc02c79b21e656a.zip | |
iommu: Hide ops.domain_alloc behind CONFIG_FSL_PAMU
fsl_pamu is the last user of domain_alloc(), and it is using it to create
something weird that doesn't really fit into the iommu subsystem
architecture. It is a not a paging domain since it doesn't have any
map/unmap ops. It may be some special kind of identity domain.
For now just leave it as is. Wrap it's definition in CONFIG_FSL_PAMU to
discourage any new drivers from attempting to use it.
Reviewed-by: Lu Baolu <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
