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] console

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "Magenheimer, Dan \(HP Labs Fort Collins\)" <dan.magenheimer@xxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH] console
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Thu, 3 Nov 2005 13:35:06 +0200
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 03 Nov 2005 10:29:21 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <571ACEFD467F7749BC50E0A98C17CDD802C06940@pdsmsx403>
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: <571ACEFD467F7749BC50E0A98C17CDD802C06940@pdsmsx403>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Le Jeudi 03 Novembre 2005 04:56, Tian, Kevin a écrit :
> From: Tristan Gingold
>
> >Sent: 2005年11月3日 0:46
> >
> >Hi,
> >
> >here is a small patch which fixes the rejected patch during kernel
> > compilation and a bug in evtchn_ia64.c
> >
> >I am now able to use xencons:
> >* do not config serial port in linux
> >* use 'console=ttyS0' in xen-linux command line.
>
> This is absolutely a good patch. Previously I also saw "WARNING: failed to
Thanks !
[...]
> >Note: without more modifs, xenconsole is output only.

> Actually up to this point, I begin to understand your concern about irq
> virtualization raised before. ;-) IMO, first we need change Xen to register
> interrupt handler for serial input interrupt like adding a
> serial_init_postirq. Regarding xenlinux side, maybe we don't need change
> anything. Currently the VIRQ_CONSOLE is bound to event. And once Xen gets
> control upon serial port, current serial driver in xen will send
> VIRQ_CONSOLE to dom0 in receive handler. In that case, xenconsole can still
> get input by event notification. How do you think?
Locally I can now use xenconsole as input/output.

Here are my changes:
* iosapic.[ch] copied from Linux to Xen; acpi.c was modified (#if 0 previously 
added removed) to init interrupts.  [This part is really safe].

* xensetup.c modified to call initialize_keytable and serial_init_postirq.

* xen_do_IRQ modified to call xen interrupts handlers if the handler is local.

* Linux modified to *not* initialize isa IRQ 3.

The first three points are clean, the last point is a real hack.  We have to 
handle interrupts in HV to make the last point disappear.

Tristan.


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

<Prev in Thread] Current Thread [Next in Thread>