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

2006-10-22 Thread Alex Williamson
On Thu, 2006-10-19 at 16:06 +0900, Akio Takebe wrote:
 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.


  Applied.  Thanks,

Alex

-- 
Alex Williamson HP Open Source  Linux Org.


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


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

2006-10-19 Thread Akio Takebe
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 [EMAIL PROTECTED]
Signed-off-by: Masaki Kanno [EMAIL PROTECTED]


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 | (6ul61));
 #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

init_handler_console_sync.patch
Description: Binary data
___
Xen-ia64-devel mailing list
Xen-ia64-devel@lists.xensource.com
http://lists.xensource.com/xen-ia64-devel