WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] [PATCH 0/6] Add full evtchn mechanism forxen/ia64

To: Alex Williamson <alex.williamson@xxxxxx>, "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH 0/6] Add full evtchn mechanism forxen/ia64
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Mon, 22 May 2006 16:26:41 +0200
Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 22 May 2006 07:22:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1148307135.13851.112.camel@localhost>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <571ACEFD467F7749BC50E0A98C17CDD8094E7C7B@pdsmsx403> <1148307135.13851.112.camel@localhost>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Le Lundi 22 Mai 2006 16:12, Alex Williamson a écrit :
> On Mon, 2006-05-22 at 14:53 +0800, Tian, Kevin wrote:
> > >From: Isaku Yamahata [mailto:yamahata@xxxxxxxxxxxxx]
> > >It is bad that xen and dom0 accesse to the same UART.
> > >This is only what I'm sure about.
> >
> > Yes, that's bad which may be the reason why xen/x86 disables serial
> > directly. Ideally that should also apply to xen/ia64 since that option is
> > common in drivers/xen. So I'm not sure why that option doesn't work
> > for ia64. Alex should know more about this area, and it may simply
> > come from a mis-configuration case...
>
>    Configuring the serial console is far more painful than it should be
> right now on xen/ia64.  This is due to the fact that xen and xenlinux
> both claim the same physical UART.  On xen/x86, the physical UARTs are
> hidden from xenlinux using the config option such that only xen talks to
> the physical hardware and ttyS0 on xenlinux is actually xencons.
> Xen/ia64 leaves the serial driver in place, which allows xenlinux to
> claim the physical UART.  We therefore have to disable input in xencons
> and play games with assigning xencons to ttyS values outside of what the
> serial driver typically claims.
>
>    While not ideal, I think we should take the xen/x86 approach and
> disable serial access from dom0.  At some point maybe we can add support
> to hide only the physical UART used by xen and allow dom0 to access any
> others that might be available.  Such a feature would need to be aware
> of both I/O port and MMIO UARTs and handle UARTs described in ACPI
> namespace.  Thanks,
Modifying ACPI to hide an UART seems to be very hard...

Just an idea: if UART is used by Xen, it should reverse the interrupt line 
(unless shared...)  In this case, Linux shouldn't be allowed to register an 
handler for this IRQ and should fail to use the UART.  Right ?

Tristan.

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel