summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/fsl_pamu.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-04-01 17:52:48 +0200
committerJoerg Roedel <jroedel@suse.de>2021-04-07 10:56:52 +0200
commit151f9414b88bf62cdc671892ca1409ddf05ae72f (patch)
treee6d2bfb6fe1d9d2022a67b4b1ac10170044327a4 /drivers/iommu/fsl_pamu.h
parentiommu/fsl_pamu: remove the snoop_id field (diff)
downloadlinux-151f9414b88bf62cdc671892ca1409ddf05ae72f.tar.xz
linux-151f9414b88bf62cdc671892ca1409ddf05ae72f.zip
iommu/fsl_pamu: remove the rpn and snoop_id arguments to pamu_config_ppaac
These are always wired to fixed values, so don't bother passing them as arguments. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20210401155256.298656-13-hch@lst.de Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/fsl_pamu.h')
-rw-r--r--drivers/iommu/fsl_pamu.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iommu/fsl_pamu.h b/drivers/iommu/fsl_pamu.h
index 04fd843d718d..c96b29f0c707 100644
--- a/drivers/iommu/fsl_pamu.h
+++ b/drivers/iommu/fsl_pamu.h
@@ -384,8 +384,7 @@ int pamu_domain_init(void);
int pamu_enable_liodn(int liodn);
int pamu_disable_liodn(int liodn);
int pamu_config_ppaace(int liodn, phys_addr_t win_addr, phys_addr_t win_size,
- u32 omi, unsigned long rpn, u32 snoopid, uint32_t stashid,
- int prot);
+ u32 omi, uint32_t stashid, int prot);
u32 get_stash_id(u32 stash_dest_hint, u32 vcpu);
void get_ome_index(u32 *omi_index, struct device *dev);