From owner-svn-src-all@FreeBSD.ORG Mon Dec 9 15:39:17 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1FA67242; Mon, 9 Dec 2013 15:39:17 +0000 (UTC) Received: from smtp.dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id CF1831454; Mon, 9 Dec 2013 15:39:16 +0000 (UTC) Received: from terran (unknown [192.168.99.1]) (Authenticated sender: ray) by smtp.dlink.ua (Postfix) with ESMTPSA id E9300C493D; Mon, 9 Dec 2013 17:39:15 +0200 (EET) Date: Mon, 9 Dec 2013 17:39:52 +0200 From: Aleksandr Rybalko To: Marius Strobl Subject: Re: svn commit: r259102 - head/sys/sparc64/sparc64 Message-Id: <20131209173952.d6e3d3fb0fb5c9e84bc41bfb@ddteam.net> In-Reply-To: <201312081525.rB8FPJK0023252@svn.freebsd.org> References: <201312081525.rB8FPJK0023252@svn.freebsd.org> X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Dec 2013 15:39:17 -0000 On Sun, 8 Dec 2013 15:25:19 +0000 (UTC) Marius Strobl wrote: > Author: marius > Date: Sun Dec 8 15:25:19 2013 > New Revision: 259102 > URL: http://svnweb.freebsd.org/changeset/base/259102 > > Log: > Restore a vital comment nuked in r259016. > > Modified: > head/sys/sparc64/sparc64/machdep.c > > Modified: head/sys/sparc64/sparc64/machdep.c > ============================================================================== > --- head/sys/sparc64/sparc64/machdep.c Sun Dec 8 14:21:54 2013 (r259101) > +++ head/sys/sparc64/sparc64/machdep.c Sun Dec 8 15:25:19 2013 (r259102) > @@ -553,6 +553,13 @@ sparc64_init(caddr_t mdp, u_long o1, u_l > * trigger a fatal reset error or worse things further down the road. > * XXX it should be possible to use this solely instead of writing > * %tba in cpu_setregs(). Doing so causes a hang however. > + * > + * NB: the low-level console drivers require a working DELAY() and > + * some compiler optimizations may cause the curthread accesses of > + * mutex(9) to be factored out even if the latter aren't actually > + * called. Both of these require PCPU_REG to be set. However, we > + * can't set PCPU_REG without also taking over the trap table or the > + * firmware will overwrite it. > */ > sun4u_set_traptable(tl0_base); > Oh, I'm sorry. It was old fix. Seems it here since 2009. Thanks. WBW -- Aleksandr Rybalko