summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/fsl_pamu_domain.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-04-01 17:52:43 +0200
committerJoerg Roedel <jroedel@suse.de>2021-04-07 10:56:52 +0200
commit4eeb96f6efac10e66fd10e718d2adeece3879121 (patch)
tree424d450a4ae6fd51e9efa11711a49d10468278aa /drivers/iommu/fsl_pamu_domain.h
parentiommu/fsl_pamu: remove ->domain_window_enable (diff)
downloadlinux-4eeb96f6efac10e66fd10e718d2adeece3879121.tar.xz
linux-4eeb96f6efac10e66fd10e718d2adeece3879121.zip
iommu/fsl_pamu: replace DOMAIN_ATTR_FSL_PAMU_STASH with a direct call
Add a fsl_pamu_configure_l1_stash API that qman_portal can call directly instead of indirecting through the iommu attr API. 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-8-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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iommu/fsl_pamu_domain.h b/drivers/iommu/fsl_pamu_domain.h
index 13ee06e0ef01..cd488004acd1 100644
--- a/drivers/iommu/fsl_pamu_domain.h
+++ b/drivers/iommu/fsl_pamu_domain.h
@@ -22,9 +22,7 @@ struct fsl_dma_domain {
*
*/
int enabled;
- /* stash_id obtained from the stash attribute details */
u32 stash_id;
- struct pamu_stash_attribute dma_stash;
u32 snoop_id;
struct iommu_domain iommu_domain;
spinlock_t domain_lock;