xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@linaro.org>
To: Julien Grall <julien.grall@linaro.org>
Cc: stefano.stabellini@eu.citrix.com, tim@xen.org,
	ian.campbell@citrix.com, patches@linaro.org,
	xen-devel@lists.xen.org
Subject: Re: [PATCH v3 0/7] Emulate virtual UART for DOM0 and some UART clean up
Date: Thu, 01 Aug 2013 17:12:33 +0100	[thread overview]
Message-ID: <51FA88F1.4000707@linaro.org> (raw)
In-Reply-To: <1375373372-15009-1-git-send-email-julien.grall@linaro.org>

On 08/01/2013 05:09 PM, Julien Grall wrote:
> Hi,
> 
> This third 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.
> 
> Julien Grall (7):
>   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                   |  152 -------------------------------
>  xen/arch/arm/vpl011.h                   |   35 -------
>  xen/arch/arm/vuart.c                    |  150 ++++++++++++++++++++++++++++++
>  xen/arch/arm/vuart.h                    |   35 +++++++
>  xen/drivers/char/exynos4210-uart.c      |   15 +++
>  xen/drivers/char/pl011.c                |   63 ++++---------
>  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 +++
>  17 files changed, 350 insertions(+), 257 deletions(-)
>  delete mode 100644 xen/arch/arm/vpl011.c
>  delete mode 100644 xen/arch/arm/vpl011.h
>  create mode 100644 xen/arch/arm/vuart.c
>  create mode 100644 xen/arch/arm/vuart.h
>  create mode 100644 xen/include/asm-arm/pl011-uart.h
> 

I forgot to add this patch in the series:
http://patches.linaro.org/18710/. It didn't change since the previous
version.

-- 
Julien

  parent reply	other threads:[~2013-08-01 16:12 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-01 16:09 [PATCH v3 0/7] Emulate virtual UART for DOM0 and some UART clean up Julien Grall
2013-08-01 16:09 ` [PATCH v3 1/7] pl011: Move registers' definition in a separate file Julien Grall
2013-08-01 16:09 ` [PATCH v3 2/7] xen/arm: Use define instead of hardcoded value in debug-pl011 Julien Grall
2013-08-01 16:09 ` [PATCH v3 3/7] xen/arm: New callback in uart_driver to retrieve serial information Julien Grall
2013-08-02 10:31   ` Tim Deegan
2013-08-06 17:45   ` Keir Fraser
2013-08-01 16:09 ` [PATCH v3 4/7] xen/arm: Implement a virtual UART Julien Grall
2013-08-02 10:34   ` Tim Deegan
2013-08-01 16:09 ` [PATCH v3 5/7] exynos4210: rename UTRSTAT_TX_EMPTY in UTRSTAT_TXFE Julien Grall
2013-08-01 16:09 ` [PATCH v3 6/7] exynos4210: Implement vuart_info callback Julien Grall
2013-08-01 16:09 ` [PATCH v3 7/7] pl011: " Julien Grall
2013-08-01 16:12 ` Julien Grall [this message]
2013-08-02 16:17   ` [PATCH v3 0/7] Emulate virtual UART for DOM0 and some UART clean up Ian Campbell
2013-08-05  9:27     ` Ian Campbell
2013-08-05 15:08   ` Ian Campbell
2013-08-06 17:10     ` Julien Grall
2013-08-08 12:16 ` Ian Campbell

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=51FA88F1.4000707@linaro.org \
    --to=julien.grall@linaro.org \
    --cc=ian.campbell@citrix.com \
    --cc=patches@linaro.org \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=tim@xen.org \
    --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).