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

[Xen-ia64-devel] [Patch] sync_console in ia64_init_handler

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [Patch] sync_console in ia64_init_handler
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Thu, 19 Oct 2006 16:06:06 +0900
Delivery-date: Thu, 19 Oct 2006 00:06:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
Hi,

This patch fix the following issue.

1. boot xen
2. push INIT bottun
3. Nothing is printed to serial console.

I add console_start_sync() into ia64_init_handler().
Then this issue is fixed.

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>


diff -r 06ed19691f6d xen/arch/ia64/linux-xen/mca.c
--- a/xen/arch/ia64/linux-xen/mca.c     Tue Oct 17 15:49:05 2006 -0600
+++ b/xen/arch/ia64/linux-xen/mca.c     Thu Oct 19 14:49:59 2006 +0900
@@ -80,6 +80,7 @@
 #ifdef XEN
 #include <xen/symbols.h>
 #include <xen/mm.h>
+#include <xen/console.h>
 #endif
 
 #if defined(IA64_MCA_DEBUG_INFO)
@@ -1240,6 +1241,7 @@ ia64_init_handler (struct pt_regs *pt, s
         */
        ms = (pal_min_state_area_t *)(ia64_sal_to_os_handoff_state.
pal_min_state | (6ul<<61));
 #else
+       console_start_sync();
        /* Xen virtual address in region 7. */
        ms = __va((pal_min_state_area_t *)(ia64_sal_to_os_handoff_state
[cpu].pal_min_state));
 #endif


Best Regards,

Akio Takebe

Attachment: init_handler_console_sync.patch
Description: Binary data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>