All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] Implement the XEN_DOMCTL_memory_mapping hypecall for arm32
@ 2014-03-02  0:49 Arianna Avanzini
  2014-03-02  0:49 ` [RFC PATCH 1/3] arch, arm32: add definition of paddr_bits Arianna Avanzini
                   ` (3 more replies)
  0 siblings, 4 replies; 33+ messages in thread
From: Arianna Avanzini @ 2014-03-02  0:49 UTC (permalink / raw)
  To: xen-devel
  Cc: paolo.valente, stefano.stabellini, dario.faggioli, julien.grall,
	etrudeau, avanzini.arianna, viktor.kleinik

Hello,

this patchset adds a first attempt of implementation of the
XEN_DOMCTL_memory_mapping hypercall for the arm32 architecture.

As a part of my thesis project (developed with Paolo Valente,
in Italy, [1]), I am porting an automotive-grade real-time OS
(Evidence's ERIKA Enterprise, [2], [3]) on Xen on ARM, and the
port of the OS as a domU has required the OS to be able to access
peripherals performing memory-mapped I/O; as a consequence, the
I/O-memory ranges related to such peripherals had to be made
accessible to the domU.

I have been working on this patchset for the last weeks after reading
a related xen-devel discussion ([4]), and I had no idea that Eric Trudeau
had already proposed to this mailing list an implementation of the
hypercall ([5], [6]). Any comment is obviously welcome on this point, and if
he wants so I will of course add his Signed-off-by to the patches.

Any feedback about the patches is more than welcome. The code has been
tested with Linux v3.13 as dom0 and ERIKA Enterprise as domU.

[1] http://www.unimore.it/
[2] http://www.evidence.eu.com/
[3] http://erika.tuxfamily.org/drupal/
[4] http://lists.xen.org/archives/html/xen-devel/2013-06/msg00870.html
[5] http://marc.info/?l=xen-devel&m=137338996422503
[6] http://lists.xen.org/archives/html/xen-devel/2014-02/msg02514.html

Arianna Avanzini (3):
  arch, arm32: add definition of paddr_bits
  arch, arm32: add the XEN_DOMCTL_memory_mapping hypercall
  tools, libxl: handle the iomem parameter with the memory_mapping hcall

 tools/libxl/libxl_create.c      | 10 ++++++
 xen/arch/arm/arm32/cpu.h        |  7 ++++
 xen/arch/arm/arm32/domctl.c     | 74 +++++++++++++++++++++++++++++++++++++++++
 xen/arch/arm/p2m.c              |  9 +++++
 xen/include/asm-arm/p2m.h       |  2 ++
 xen/include/asm-arm/processor.h |  2 ++
 6 files changed, 104 insertions(+)
 create mode 100644 xen/arch/arm/arm32/cpu.h

-- 
1.8.5.3

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

end of thread, other threads:[~2014-03-07 19:54 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-02  0:49 [RFC PATCH 0/3] Implement the XEN_DOMCTL_memory_mapping hypecall for arm32 Arianna Avanzini
2014-03-02  0:49 ` [RFC PATCH 1/3] arch, arm32: add definition of paddr_bits Arianna Avanzini
2014-03-02  8:13   ` Julien Grall
2014-03-07  0:36     ` Arianna Avanzini
2014-03-02  0:49 ` [RFC PATCH 2/3] arch, arm32: add the XEN_DOMCTL_memory_mapping hypercall Arianna Avanzini
2014-03-02  9:56   ` Julien Grall
2014-03-03 11:56     ` Dario Faggioli
2014-03-03 15:20       ` Julien Grall
2014-03-03 15:33         ` Dario Faggioli
2014-03-04  2:42           ` Julien Grall
2014-03-07  0:47             ` Arianna Avanzini
2014-03-03 16:25         ` Eric Trudeau
2014-03-03 16:35           ` Dario Faggioli
2014-03-03 19:04             ` Eric Trudeau
2014-03-05 13:59     ` Arianna Avanzini
2014-03-06  3:41       ` Julien Grall
2014-03-07  0:57         ` Arianna Avanzini
2014-03-03 18:06   ` Eric Trudeau
2014-03-04  3:08     ` Julien Grall
2014-03-07  0:56       ` Arianna Avanzini
2014-03-07  3:41         ` Julien Grall
2014-03-07 19:49           ` Arianna Avanzini
2014-03-02  0:49 ` [RFC PATCH 3/3] tools, libxl: handle the iomem parameter with the memory_mapping hcall Arianna Avanzini
2014-03-02 10:33   ` Julien Grall
2014-03-02 11:27     ` Ian Campbell
2014-03-03 10:32       ` Dario Faggioli
2014-03-03 15:13         ` Julien Grall
2014-03-07  0:45           ` Arianna Avanzini
2014-03-07  4:03             ` Julien Grall
2014-03-07 19:54               ` Arianna Avanzini
2014-03-03 11:19     ` Dario Faggioli
2014-03-07  4:05       ` Julien Grall
2014-03-02  8:13 ` [RFC PATCH 0/3] Implement the XEN_DOMCTL_memory_mapping hypecall for arm32 Julien Grall

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.