iommu/fsl_pamu: merge pamu_set_liodn and map_liodn
authorChristoph Hellwig <hch@lst.de>
Thu, 1 Apr 2021 15:52:44 +0000 (17:52 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 7 Apr 2021 08:56:52 +0000 (10:56 +0200)
commitdae7747ae41ccdc92ad94d56b05793a3ee983e8a
tree3a70b5f396e2a21e835b18f2e1a66ae9bf989f02
parent4eeb96f6efac10e66fd10e718d2adeece3879121
iommu/fsl_pamu: merge pamu_set_liodn and map_liodn

Merge the two fuctions that configure the ppaace into a single coherent
function.  I somehow doubt we need the two pamu_config_ppaace calls,
but keep the existing behavior just to be on the safe side.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Li Yang <leoyang.li@nxp.com>
Link: https://lore.kernel.org/r/20210401155256.298656-9-hch@lst.de
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/fsl_pamu_domain.c