]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
iommu: Allow io-pgtable to be used outside of drivers/iommu/
authorRob Herring <robh@kernel.org>
Tue, 5 Feb 2019 16:37:31 +0000 (10:37 -0600)
committerJoerg Roedel <jroedel@suse.de>
Mon, 11 Feb 2019 10:26:48 +0000 (11:26 +0100)
commitb77cf11f094136a9d7d0ee6a56cf49db1f412871
treedad4e128b8d414203c69cb7340778fb45951b7f2
parentc61a4633a56aaa85bd61645c4188340f8bb2f7f1
iommu: Allow io-pgtable to be used outside of drivers/iommu/

Move io-pgtable.h to include/linux/ and export alloc_io_pgtable_ops
and free_io_pgtable_ops. This enables drivers outside drivers/iommu/ to
use the page table library. Specifically, some ARM Mali GPUs use the
ARM page table formats.

Cc: Will Deacon <will.deacon@arm.com>
Cc: Robin Murphy <robin.murphy@arm.com>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: Rob Clark <robdclark@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: iommu@lists.linux-foundation.org
Cc: linux-mediatek@lists.infradead.org
Cc: linux-arm-msm@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/arm-smmu-v3.c
drivers/iommu/arm-smmu.c
drivers/iommu/io-pgtable-arm-v7s.c
drivers/iommu/io-pgtable-arm.c
drivers/iommu/io-pgtable.c
drivers/iommu/io-pgtable.h [deleted file]
drivers/iommu/ipmmu-vmsa.c
drivers/iommu/msm_iommu.c
drivers/iommu/mtk_iommu.h
drivers/iommu/qcom_iommu.c
include/linux/io-pgtable.h [new file with mode: 0644]