public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: will.deacon@arm•com (Will Deacon)
To: linux-arm-kernel@lists•infradead.org
Subject: [RFC PATCH] iommu: add ARM short descriptor page table allocator.
Date: Tue, 5 May 2015 18:05:41 +0100	[thread overview]
Message-ID: <20150505170541.GN1550@arm.com> (raw)
In-Reply-To: <20150505161802.GA20611@8bytes.org>

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@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

  reply	other threads:[~2015-05-05 17:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-28  7:41 [RFC PATCH] iommu: add ARM short descriptor page table allocator Yong Wu
2015-05-05 16:18 ` Joerg Roedel
2015-05-05 17:05   ` Will Deacon [this message]
2015-05-11 10:13     ` Joerg Roedel
2015-05-11 10:40       ` Will Deacon
2015-05-12  5:30         ` Yong Wu
2015-05-12  9:15 ` Matthias Brugger
2015-05-13  2:52   ` Yong Wu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150505170541.GN1550@arm.com \
    --to=will.deacon@arm$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox