iommu/io-pgtable-arm: Move some definitions to a header
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Fri, 18 Sep 2020 10:18:45 +0000 (12:18 +0200)
committerWill Deacon <will@kernel.org>
Mon, 28 Sep 2020 22:48:06 +0000 (23:48 +0100)
commit7cef39ddba73077ef00de24c9f6bfc216658fafe
treece1f667fa7545fb108c51069a04bc4532db138de
parent8122dec0eab1d74c726709a2bd4a4a23d9bdd96f
iommu/io-pgtable-arm: Move some definitions to a header

Extract some of the most generic TCR defines, so they can be reused by
the page table sharing code.

Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20200918101852.582559-6-jean-philippe@linaro.org
Signed-off-by: Will Deacon <will@kernel.org>
MAINTAINERS
drivers/iommu/io-pgtable-arm.c
drivers/iommu/io-pgtable-arm.h [new file with mode: 0644]