Subject: port-powerpc/24254: debug test in powerpc/oea/pmap:pmap_pvo_enter() incorrect
To: None <gnats-bugs@gnats.netbsd.org>
From: None <djg@cerumen.trpz.com>
List: netbsd-bugs
Date: 01/26/2004 13:55:27
>Number:         24254
>Category:       port-powerpc
>Synopsis:       debug test in powerpc/oea/pmap:pmap_pvo_enter() incorrect
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-powerpc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 26 21:56:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6ZD
>Organization:
	
>Environment:
	
	
System: NetBSD cerumen.trpz.com 1.6ZD NetBSD 1.6ZD (NATES) #1: Mon Nov 10 12:58:16 PST 2003 djg@nates.trpz.com:/home/djg/src/NetBSD/usr/src/sys/arch/i386/compile/NATES i386
Architecture: powerpc
Machine: powerpc
>Description:
	The recursion test at the head of pmap_pvo_enter() is
	done outside of the protection of "pmap_interrupts_off()"
	and hence any interrupt occuring during the test could cause
	the test to fail.
>How-To-Repeat:
	Just have a manager or customer try something trival that
	you swear has been running fine for years. :-)
>Fix:
	move the test below "msr = pmap_interrupts_off();"
>Release-Note:
>Audit-Trail:
>Unformatted: