Subject: CVS commit: src/sys/arch/m68k/m68k
To: None <source-changes@NetBSD.org>
From: Michael L. Hitch <mhitch@netbsd.org>
List: source-changes
Date: 09/16/2006 17:31:13
Module Name:	src
Committed By:	mhitch
Date:		Sat Sep 16 17:31:13 UTC 2006

Modified Files:
	src/sys/arch/m68k/m68k: pmap_motorola.c

Log Message:
Common m68k pmap has same problem with 68060 after 17 month old uvm changes.
Tested and verified on my Amiga (yes, I'm hoping to switch amiga to using
the common pmp_motorola.c).

Uvm changes over 17 months ago resulted in the 68040/060 segment table
page being entered with pmap_kenter(), which does not record the mapping
in the pv table.  Attempting to inhibit caching of that page as required
by the 68060 hardware no longer changes the PTE and caused varying degrees
of multiple faulting, sometimes resulting in an unusable system.  Apparently
very few people attempted to run a 68060 based system since that change.
Fix to to change the caching bits directly rather than using pmap_changebit().


To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 src/sys/arch/m68k/m68k/pmap_motorola.c

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