summary refs log tree commit diff
path: root/drivers/iommu/fsl_pamu_domain.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-04-01 17:52:39 +0200
committerJoerg Roedel <jroedel@suse.de>2021-04-07 10:56:51 +0200
commitf7641bb71d26044403cf44f3f14fd6fd3d16eac3 (patch)
tree5c04aacd8d91e9c69a1c0e24990b46e3afe0b174 /drivers/iommu/fsl_pamu_domain.h
parent392825e0c76cf9aca33e5a3bf981cde2a2c87251 (diff)
downloadlinux-f7641bb71d26044403cf44f3f14fd6fd3d16eac3.tar.gz
iommu/fsl_pamu: remove support for setting DOMAIN_ATTR_GEOMETRY
The default geometry is the same as the one set by qman_port given
that FSL_PAMU depends on having 64-bit physical and thus DMA addresses.

Remove the support to update the geometry and remove the now pointless
geom_size field.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Will Deacon <will@kernel.org>
Acked-by: Li Yang <leoyang.li@nxp.com>
Link: https://lore.kernel.org/r/20210401155256.298656-4-hch@lst.de
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/fsl_pamu_domain.h')
-rw-r--r--drivers/iommu/fsl_pamu_domain.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/iommu/fsl_pamu_domain.h b/drivers/iommu/fsl_pamu_domain.h
index 2865d42782e8..53d359d66fe5 100644
--- a/drivers/iommu/fsl_pamu_domain.h
+++ b/drivers/iommu/fsl_pamu_domain.h
@@ -18,12 +18,6 @@ struct dma_window {
 
 struct fsl_dma_domain {
 	/*
-	 * Indicates the geometry size for the domain.
-	 * This would be set when the geometry is
-	 * configured for the domain.
-	 */
-	dma_addr_t			geom_size;
-	/*
 	 * Number of windows assocaited with this domain.
 	 * During domain initialization, it is set to the
 	 * the maximum number of subwindows allowed for a LIODN.