[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-ia64-devel] [rfc 11/15] Kexec: Dont "increase" SAL timout to 0



Increasing (changing) the rendez timeout to the value returned
only really makes sense if that value isn't zero.

On the HP RX2620 this occurs if the call is made in physical mode.
Curiously, the patch allows the boot to complete.

Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>

Index: xen-unstable.hg/xen/arch/ia64/linux-xen/mca.c
===================================================================
--- xen-unstable.hg.orig/xen/arch/ia64/linux-xen/mca.c  2007-08-06 
14:52:48.000000000 +0900
+++ xen-unstable.hg/xen/arch/ia64/linux-xen/mca.c       2007-08-06 
14:53:01.000000000 +0900
@@ -1737,7 +1737,7 @@ ia64_mca_init(void)
                rc = isrv.status;
                if (rc == 0)
                        break;
-               if (rc == -2) {
+               if (rc == -2 && isrv.v0) {
                        printk(KERN_INFO "Increasing MCA rendezvous timeout 
from "
                                "%ld to %ld milliseconds\n", timeout, isrv.v0);
                        timeout = isrv.v0;

-- 

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.