Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbppc/mpc85xx Increase timeout for the hatching to...



details:   https://anonhg.NetBSD.org/src/rev/c5d617c926df
branches:  trunk
changeset: 334971:c5d617c926df
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Fri Dec 19 04:07:13 2014 +0000

description:
Increase timeout for the hatching to complete.

> cpu1: hatch successful (24321 spins, timebase adjusted by -940718014)

diffstat:

 sys/arch/evbppc/mpc85xx/machdep.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 167bb65aee86 -r c5d617c926df sys/arch/evbppc/mpc85xx/machdep.c
--- a/sys/arch/evbppc/mpc85xx/machdep.c Fri Dec 19 04:00:35 2014 +0000
+++ b/sys/arch/evbppc/mpc85xx/machdep.c Fri Dec 19 04:07:13 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.33 2014/08/04 23:31:36 joerg Exp $       */
+/*     $NetBSD: machdep.c,v 1.34 2014/12/19 04:07:13 nonaka Exp $      */
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -939,15 +939,15 @@
                                + (uint64_t)h->hatch_tbl),
                            h->hatch_running);
                        /*
-                        * Now we wait for the hatching to complete.  10ms
+                        * Now we wait for the hatching to complete.  30ms
                         * should be long enough.
                         */
-                       for (u_int timo = 10000; timo-- > 0; ) {
+                       for (u_int timo = 30000; timo-- > 0; ) {
                                if (kcpuset_isset(hatchlings, id)) {
                                        aprint_normal_dev(self,
                                            "hatch successful (%u spins, "
                                            "timebase adjusted by %"PRId64")\n",
-                                           10000 - timo,
+                                           30000 - timo,
                                            (int64_t)
                                                (((uint64_t)h->hatch_tbu << 32)
                                                + (uint64_t)h->hatch_tbl));



Home | Main Index | Thread Index | Old Index