xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/8] Emulate virtual UART for DOM0 and some UART clean up
@ 2013-07-31 15:38 Julien Grall
  2013-07-31 15:38 ` [PATCH v2 2/8] pl011: Move registers' definition in a separate file Julien Grall
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Julien Grall @ 2013-07-31 15:38 UTC (permalink / raw)
  To: xen-devel, ian.campbell; +Cc: patches, Julien Grall, stefano.stabellini

Hi,

This second version of this patch series. It follows the thread
http://patches.linaro.org/18358/ on Linux mailing list.

In some configuration, the kernel can use hardcoded code to access to the
UART (for instance early printk). If Xen has stolen the UART for its own use,
DOM0 will abort because Xen has not mapped to DOM0 the UART memory.

With this patch series, Xen will "replace" the real UART by a basic virtual
UART for DOM0.

For the moment, this patch series is not able to cooperate with early printk
in guest kernel.

This patch series also contains clean up for the pl011 and exynos4210 drivers.

For all the changes see the different patches.

Cheers,

Julien Grall (8):
  pl011: Use ioreadl/iowritel
  pl011: Move registers' definition in a separate file
  xen/arm: Use define instead of hardcoded value in debug-pl011
  xen/arm: New callback in uart_driver to retrieve serial information
  xen/arm: Implement a virtual UART
  exynos4210: rename UTRSTAT_TX_EMPTY in UTRSTAT_TXFE
  exynos4210: Implement vuart_info callback
  pl011: Implement vuart_info callback

 xen/arch/arm/Makefile                   |    2 +-
 xen/arch/arm/arm32/debug-exynos4210.inc |    2 +-
 xen/arch/arm/arm32/debug-pl011.inc      |   18 +++--
 xen/arch/arm/domain.c                   |   12 ++-
 xen/arch/arm/io.c                       |    2 +-
 xen/arch/arm/io.h                       |    2 +-
 xen/arch/arm/{vpl011.c => vuart.c}      |  128 +++++++++++++++----------------
 xen/arch/arm/{vpl011.h => vuart.h}      |   16 ++--
 xen/drivers/char/exynos4210-uart.c      |   15 ++++
 xen/drivers/char/pl011.c                |  115 +++++++++++----------------
 xen/drivers/char/serial.c               |    8 ++
 xen/include/asm-arm/domain.h            |   14 ++--
 xen/include/asm-arm/exynos4210-uart.h   |    3 +-
 xen/include/asm-arm/pl011-uart.h        |   81 +++++++++++++++++++
 xen/include/xen/serial.h                |   13 ++++
 15 files changed, 264 insertions(+), 167 deletions(-)
 rename xen/arch/arm/{vpl011.c => vuart.c} (43%)
 rename xen/arch/arm/{vpl011.h => vuart.h} (75%)
 create mode 100644 xen/include/asm-arm/pl011-uart.h

-- 
1.7.10.4

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

end of thread, other threads:[~2013-08-01 15:42 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-31 15:38 [PATCH v2 0/8] Emulate virtual UART for DOM0 and some UART clean up Julien Grall
2013-07-31 15:38 ` [PATCH v2 2/8] pl011: Move registers' definition in a separate file Julien Grall
2013-08-01 11:01   ` Tim Deegan
2013-07-31 15:38 ` [PATCH v2 3/8] xen/arm: Use define instead of hardcoded value in debug-pl011 Julien Grall
2013-07-31 15:38 ` [PATCH v2 4/8] xen/arm: New callback in uart_driver to retrieve serial information Julien Grall
2013-08-01 11:03   ` Tim Deegan
2013-08-01 12:24     ` Julien Grall
2013-07-31 15:38 ` [PATCH v2 5/8] xen/arm: Implement a virtual UART Julien Grall
2013-08-01 11:22   ` Tim Deegan
2013-08-01 12:43     ` Julien Grall
2013-08-01 15:42       ` Ian Campbell
2013-07-31 15:38 ` [PATCH v2 6/8] exynos4210: rename UTRSTAT_TX_EMPTY in UTRSTAT_TXFE Julien Grall
2013-07-31 15:38 ` [PATCH v2 7/8] exynos4210: Implement vuart_info callback Julien Grall
2013-07-31 15:38 ` [PATCH v2 8/8] pl011: " Julien Grall
2013-08-01 11:28 ` [PATCH v2 0/8] Emulate virtual UART for DOM0 and some UART clean up Tim Deegan
2013-08-01 12:20   ` Julien Grall

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).