]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iommu/ipmmu-vmsa: Use fwspec iommu_priv on ARM64
authorMagnus Damm <damm+renesas@opensource.se>
Wed, 17 May 2017 10:07:20 +0000 (19:07 +0900)
committerJoerg Roedel <jroedel@suse.de>
Wed, 17 May 2017 13:21:54 +0000 (15:21 +0200)
commit0fbc8b04c34fef1d730712135c504978c939a5a3
treeede6f21c31700db0b06c5614e3f246969f575c73
parent3ae47292024f85e82b769044c43f0bd13adcd7e8
iommu/ipmmu-vmsa: Use fwspec iommu_priv on ARM64

Convert from archdata to iommu_priv via iommu_fwspec on ARM64 but
let 32-bit ARM keep on using archdata for now.

Once the 32-bit ARM code and the IPMMU driver is able to move over
to CONFIG_IOMMU_DMA=y then coverting to fwspec via ->of_xlate() will
be easy.

For now fwspec ids and num_ids are not used to allow code sharing between
32-bit and 64-bit ARM code inside the driver.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/ipmmu-vmsa.c