iommu/fsl_pamu: replace DOMAIN_ATTR_FSL_PAMU_STASH with a direct call
authorChristoph Hellwig <hch@lst.de>
Thu, 1 Apr 2021 15:52:43 +0000 (17:52 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 7 Apr 2021 08:56:52 +0000 (10:56 +0200)
commit4eeb96f6efac10e66fd10e718d2adeece3879121
tree424d450a4ae6fd51e9efa11711a49d10468278aa
parent376dfd2a2ff41596a6efc8ea56f8b0de172b04a6
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>
arch/powerpc/include/asm/fsl_pamu_stash.h
drivers/iommu/fsl_pamu_domain.c
drivers/iommu/fsl_pamu_domain.h
drivers/soc/fsl/qbman/qman_portal.c
include/linux/iommu.h