All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v03 00/10] arm: introduce remoteprocessor iommu module
@ 2014-09-02 15:46 Andrii Tseglytskyi
  2014-09-02 15:46 ` [PATCH v03 01/10] xen: implement guest_physmap_pin_range Andrii Tseglytskyi
                   ` (9 more replies)
  0 siblings, 10 replies; 18+ messages in thread
From: Andrii Tseglytskyi @ 2014-09-02 15:46 UTC (permalink / raw)
  To: Ian Campbell, Stefano Stabellini, Julien Grall, xen-devel

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2014-09-13  0:04 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-02 15:46 [PATCH v03 00/10] arm: introduce remoteprocessor iommu module Andrii Tseglytskyi
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.