From owner-cvs-all@FreeBSD.ORG Fri Oct 3 08:32:47 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 7406D16A4BF for ; Fri, 3 Oct 2003 08:32:47 -0700 (PDT) Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E63443FE1 for ; Fri, 3 Oct 2003 08:32:43 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 3745 invoked from network); 3 Oct 2003 15:32:42 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 3 Oct 2003 15:32:42 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id h93FWc6Y074173; Fri, 3 Oct 2003 11:32:38 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200310012346.h91Nk89p050281@repoman.freebsd.org> Date: Fri, 03 Oct 2003 11:32:43 -0400 (EDT) From: John Baldwin To: Peter Wemm X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: RE: 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: Fri, 03 Oct 2003 15:32:47 -0000 On 01-Oct-2003 Peter Wemm wrote: > 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 What does KERNBASE map to now? 4mb? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/