Subject: CVS commit: [netbsd-4] src/sys/arch/sparc64
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 03/31/2007 16:42:09
Module Name:	src
Committed By:	bouyer
Date:		Sat Mar 31 16:42:09 UTC 2007

Modified Files:
	src/sys/arch/sparc64/include [netbsd-4]: ctlreg.h
	src/sys/arch/sparc64/sparc64 [netbsd-4]: pmap.c

Log Message:
Pull up following revision(s) (requested by martin in ticket #547):
	sys/arch/sparc64/sparc64/pmap.c: revision 1.188
	sys/arch/sparc64/include/ctlreg.h: revision 1.43
When invalidating a context, make sure to flush user windows upfront.
Do not set the DMMU secondary context to 0 (that would be kernel), and
add a few required membars after switching the secondary dmmu context.
This avoids SIRs caused by double kernel_data_faults, caused by spills
of obsolete user windows after the context for that user pmap is gone.


To generate a diff of this commit:
cvs rdiff -r1.42 -r1.42.18.1 src/sys/arch/sparc64/include/ctlreg.h
cvs rdiff -r1.184 -r1.184.2.1 src/sys/arch/sparc64/sparc64/pmap.c

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