From: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
To: Ian Campbell <ian.campbell@citrix.com>,
Stefano Stabellini <stefano.stabellini@citrix.com>,
Julien Grall <julien.grall@linaro.org>,
xen-devel@lists.xen.org
Subject: [PATCH v03 00/10] arm: introduce remoteprocessor iommu module
Date: Tue, 2 Sep 2014 18:46:00 +0300 [thread overview]
Message-ID: <1409672770-23164-1-git-send-email-andrii.tseglytskyi@globallogic.com> (raw)
The following patch series introduces IOMMU translation
framework for remote processors. Remote processors are
typically used for graphic rendering (GPUs) and
high quality video decoding (IPUs). They are typically
installed on such multimedia SoCs as OMAP4 / OMAP5.
As soon as remoteprocessor MMU typically works with
pagetables filled by physical addresses, which are
allocated by domU kernel, it is almost impossible to
use them under Xen - intermediate physical addresses
allocated by kernel, need to be translated to machine
addresses which are managed by Xen.
Changes in v03
- Rebased to latest Xen master branch
- XSM security check is added for domain, which performs
remoteproc MMU access
- Added a possibility to pin pfn to mfn. This functionality
was introduced some time ago by Stefano:
http://marc.info/?l=xen-devel&m=138029864707973
- ioremap_nocache() calls changed to appropriate map_domain_page()
calls
- remoteproc iommu module moved to
src: xen/arch/arm/remoteproc/
hdr: xen/include/asm-arm/
- Other review comments were addressed
Andrii Tseglytskyi (9):
domctl: introduce access_remote_pagetable call
xsm: arm: create domU_rpc_t security label
arm: introduce remoteprocessor iommu module
arm: omap: introduce iommu translation for IPU remoteproc
arm: omap: introduce iommu translation for GPU remoteproc
arm: introduce remoteproc_mmu_translate_pagetable mem subops call
arm: add trap for remoteproc mmio accesses
arm: omap: introduce print pagetable function for IPU remoteproc
arm: omap: introduce print pagetable function for GPU remoteproc
Stefano Stabellini (1):
xen: implement guest_physmap_pin_range
tools/flask/policy/policy/modules/xen/xen.te | 14 +
xen/arch/arm/Makefile | 1 +
xen/arch/arm/Rules.mk | 1 +
xen/arch/arm/mm.c | 8 +
xen/arch/arm/p2m.c | 82 ++++
xen/arch/arm/remoteproc/Makefile | 2 +
xen/arch/arm/remoteproc/omap_iommu.c | 559 +++++++++++++++++++++++++++
xen/arch/arm/remoteproc/remoteproc_iommu.c | 459 ++++++++++++++++++++++
xen/common/domain.c | 7 +
xen/include/asm-arm/mm.h | 11 +
xen/include/asm-arm/remoteproc_iommu.h | 88 +++++
xen/include/asm-x86/p2m.h | 20 +
xen/include/public/domctl.h | 1 +
xen/include/public/memory.h | 14 +-
xen/xsm/flask/hooks.c | 3 +
xen/xsm/flask/policy/access_vectors | 2 +
16 files changed, 1271 insertions(+), 1 deletion(-)
create mode 100644 xen/arch/arm/remoteproc/Makefile
create mode 100644 xen/arch/arm/remoteproc/omap_iommu.c
create mode 100644 xen/arch/arm/remoteproc/remoteproc_iommu.c
create mode 100644 xen/include/asm-arm/remoteproc_iommu.h
--
1.9.1
next reply other threads:[~2014-09-02 15:46 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-02 15:46 Andrii Tseglytskyi [this message]
2014-09-02 15:46 ` [PATCH v03 01/10] xen: implement guest_physmap_pin_range Andrii Tseglytskyi
2014-09-03 9:43 ` Jan Beulich
2014-09-11 1:12 ` Julien Grall
2014-09-02 15:46 ` [PATCH v03 02/10] domctl: introduce access_remote_pagetable call Andrii Tseglytskyi
2014-09-03 9:46 ` Jan Beulich
2014-09-02 15:46 ` [PATCH v03 03/10] xsm: arm: create domU_rpc_t security label Andrii Tseglytskyi
2014-09-02 15:46 ` [PATCH v03 04/10] arm: introduce remoteprocessor iommu module Andrii Tseglytskyi
2014-09-11 0:41 ` Julien Grall
2014-09-02 15:46 ` [PATCH v03 05/10] arm: omap: introduce iommu translation for IPU remoteproc Andrii Tseglytskyi
2014-09-02 15:46 ` [PATCH v03 06/10] arm: omap: introduce iommu translation for GPU remoteproc Andrii Tseglytskyi
2014-09-02 15:46 ` [PATCH v03 07/10] arm: introduce remoteproc_mmu_translate_pagetable mem subops call Andrii Tseglytskyi
2014-09-03 9:48 ` Jan Beulich
2014-09-13 0:04 ` Stefano Stabellini
2014-09-02 15:46 ` [PATCH v03 08/10] arm: add trap for remoteproc mmio accesses Andrii Tseglytskyi
2014-09-03 9:52 ` Jan Beulich
2014-09-02 15:46 ` [PATCH v03 09/10] arm: omap: introduce print pagetable function for IPU remoteproc Andrii Tseglytskyi
2014-09-02 15:46 ` [PATCH v03 10/10] arm: omap: introduce print pagetable function for GPU remoteproc Andrii Tseglytskyi
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=1409672770-23164-1-git-send-email-andrii.tseglytskyi@globallogic.com \
--to=andrii.tseglytskyi@globallogic.com \
--cc=ian.campbell@citrix.com \
--cc=julien.grall@linaro.org \
--cc=stefano.stabellini@citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).