NetBSD Problem Report #33107

From  Mon Mar 20 15:38:47 2006
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id AB46A63B8F3
	for <>; Mon, 20 Mar 2006 15:38:46 +0000 (UTC)
Message-Id: <>
Date: Mon, 20 Mar 2006 09:35:37 -0600 (CST)
From: seebs <>
Subject: probable typo in reset code
X-Send-Pr-Version: 3.95

>Number:         33107
>Category:       port-powerpc
>Synopsis:       probable typo in reset code
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-powerpc-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 20 15:40:00 +0000 2006
>Closed-Date:    Sat Oct 07 15:02:19 +0000 2006
>Last-Modified:  Sat Oct 07 15:02:19 +0000 2006
>Originator:     seebs
>Release:        NetBSD 3.99.15
Architecture: powerpc
Machine: powerpc
	The reset code in /sys/arch/powerpc/ibm4xx/4xx_locore.S has a typo.
	Read code, compare with other systems
	It seems most likely that the intent of this code is to set the reset
	bits without touching the rest of the register, but in fact, it adds
	them to whatever random noise is in r13.  This shouldn't matter,
	because the reset bits dominate everything else, but cleanliness is
	next to having some clue why my 4xx box won't reset.

	Index: 4xx_locore.S
	RCS file: /cvsroot/src/sys/arch/powerpc/ibm4xx/4xx_locore.S,v
	retrieving revision 1.5
	diff -r1.5 4xx_locore.S
	<       mfspr   %r3,SPR_DBCR0
	<       oris    %r3,%r13,DBCR0_RST_SYSTEM@h
	<       mtspr   SPR_DBCR0,%r3
	>       mfspr   %r3,SPR_DBCR0
	>       oris    %r3,%r3,DBCR0_RST_SYSTEM@h
	>       mtspr   SPR_DBCR0,%r3


From: Izumi Tsutsui <>
Subject: PR/33107 CVS commit: src/sys/arch/powerpc/ibm4xx
Date: Sat,  7 Oct 2006 14:44:22 +0000 (UTC)

 Module Name:	src
 Committed By:	tsutsui
 Date:		Sat Oct  7 14:44:22 UTC 2006

 Modified Files:
 	src/sys/arch/powerpc/ibm4xx: 4xx_locore.S

 Log Message:
 Fix an obvious typo. Patch from seebs in PR port-powerpc/33107.

 To generate a diff of this commit:
 cvs rdiff -r1.5 -r1.6 src/sys/arch/powerpc/ibm4xx/4xx_locore.S

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-When: Sun, 08 Oct 2006 00:02:19 +0900
Fix committed. Thanks.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.