[RFC PATCH] iommu: add ARM short descriptor page table allocator.

Will Deacon will.deacon at arm.com
Tue May 5 10:05:41 PDT 2015


On Tue, May 05, 2015 at 05:18:02PM +0100, Joerg Roedel wrote:
> On Tue, Apr 28, 2015 at 03:41:21PM +0800, Yong Wu wrote:
> > This patch is for ARM Short Descriptor Format.It has 2-levels
> > pagetable and the allocator supports 4K/64K/1M/16M.
> > 
> > Signed-off-by: Yong Wu <yong.wu at mediatek.com>
> > ---
> >  drivers/iommu/Kconfig                |   7 +
> >  drivers/iommu/Makefile               |   1 +
> >  drivers/iommu/io-pgtable-arm-short.c | 489 +++++++++++++++++++++++++++++++++++
> >  drivers/iommu/io-pgtable.c           |   4 +
> >  drivers/iommu/io-pgtable.h           |   6 +
> >  5 files changed, 507 insertions(+)
> >  create mode 100644 drivers/iommu/io-pgtable-arm-short.c
> 
> What is the context of this, where will it be used?

I think the MT8173 IOMMU [1] uses this format and, since it's part of
the ARM architecture, the ARM SMMU can make use of it too if the
implementation supports it.

Will

[1]
http://lists.infradead.org/pipermail/linux-mediatek/2015-March/000058.html



More information about the linux-arm-kernel mailing list