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-changelog

[Xen-changelog] xencons must notify via evtchn. It can't use the irq as

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] xencons must notify via evtchn. It can't use the irq as the
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 30 Sep 2005 16:46:10 +0000
Delivery-date: Fri, 30 Sep 2005 16:43:40 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 78e1e94e4088b63bb5d66f070f036e7fc7f4df6e
# Parent  9918d8c3e116c96c46509a79300d4006b6a1c392
xencons must notify via evtchn. It can't use the irq as the
notification handle because console is used early, before the
irq is set up.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r 9918d8c3e116 -r 78e1e94e4088 
linux-2.6-xen-sparse/drivers/xen/console/xencons_ring.c
--- a/linux-2.6-xen-sparse/drivers/xen/console/xencons_ring.c   Fri Sep 30 
16:10:52 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/console/xencons_ring.c   Fri Sep 30 
16:34:01 2005
@@ -65,7 +65,8 @@
 int xencons_ring_send(const char *data, unsigned len)
 {
        int sent = __xencons_ring_send(outring(), data, len);
-       notify_remote_via_irq(xencons_irq);
+       /* Use evtchn: this is called early, before irq is set up. */
+       notify_remote_via_evtchn(xen_start_info->console_evtchn);
        return sent;
 }      
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] xencons must notify via evtchn. It can't use the irq as the, Xen patchbot -unstable <=