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: "Tristan Gingold" <Tristan.Gingold@xxxxxxxx>, "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Subject: RE: [Xen-ia64-devel] [PATCH] console
From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Date: Thu, 3 Nov 2005 09:01:02 -0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 03 Nov 2005 17:01:06 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXgYed97OUB6V+CTxSkHnBOEF4vFAANfvuw
Thread-topic: [Xen-ia64-devel] [PATCH] console
Did you intend to add a patch for this or was this
just for discussion?

> -----Original Message-----
> From: Tristan Gingold [mailto:Tristan.Gingold@xxxxxxxx] 
> Sent: Thursday, November 03, 2005 4:35 AM
> To: Tian, Kevin; Magenheimer, Dan (HP Labs Fort Collins)
> Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-ia64-devel] [PATCH] console
> 
> 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>