From owner-cvs-all@FreeBSD.ORG Wed Oct 1 16:46:09 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB3A816A4B3; Wed, 1 Oct 2003 16:46:09 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AADD43FAF; Wed, 1 Oct 2003 16:46:09 -0700 (PDT) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h91Nk8XJ050282; Wed, 1 Oct 2003 16:46:08 -0700 (PDT) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h91Nk89p050281; Wed, 1 Oct 2003 16:46:08 -0700 (PDT) (envelope-from peter) Message-Id: <200310012346.h91Nk89p050281@repoman.freebsd.org> From: Peter Wemm Date: Wed, 1 Oct 2003 16:46:08 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf ldscript.i386 src/sys/i386/i386 bios.c genassym.c locore.s machdep.c mp_machdep.c mpboot.s pmap.c src/sys/i386/include pmap.h vmparam.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 23:46:09 -0000 peter 2003/10/01 16:46:08 PDT FreeBSD src repository Modified files: sys/conf ldscript.i386 sys/i386/i386 bios.c genassym.c locore.s machdep.c mp_machdep.c mpboot.s pmap.c sys/i386/include pmap.h vmparam.h Log: Commit Bosko's patch to clean up the PSE/PG_G initialization to and avoid problems with some Pentium 4 cpus and some older PPro/Pentium2 cpus. There are several problems, some documented in Intel errata. This patch: 1) moves the kernel to the second page in the PSE case. There is an errata that says that you Must Not point a 4MB page at physical address zero on older cpus. We avoided bugs here due to sheer luck. 2) sets up PSE page tables right from the start in locore, rather than trying to switch from 4K to 4M (or 2M) pages part way through the boot sequence at the same time that we're messing with PG_G. For some reason, the pmap work over the last 18 months seems to tickle the problems, and the PAE infrastructure changes disturb the cpu bugs even more. A couple of people have reported a problem with APM bios calls during boot. I'll work with people to get this resolved. Obtained from: bmilekic Revision Changes Path 1.8 +1 -1 src/sys/conf/ldscript.i386 1.63 +12 -12 src/sys/i386/i386/bios.c 1.144 +3 -0 src/sys/i386/i386/genassym.c 1.175 +62 -9 src/sys/i386/i386/locore.s 1.573 +1 -1 src/sys/i386/i386/machdep.c 1.217 +2 -8 src/sys/i386/i386/mp_machdep.c 1.21 +16 -0 src/sys/i386/i386/mpboot.s 1.442 +35 -86 src/sys/i386/i386/pmap.c 1.101 +3 -1 src/sys/i386/include/pmap.h 1.37 +7 -0 src/sys/i386/include/vmparam.h