From doug@dt051n37.san.rr.com  Sun Oct  8 23:49:12 2000
Return-Path: <doug@dt051n37.san.rr.com>
Received: from dt051n37.san.rr.com (dt051n37.san.rr.com [204.210.32.55])
	by hub.freebsd.org (Postfix) with ESMTP id 6A1BE37B66C
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  8 Oct 2000 23:49:12 -0700 (PDT)
Received: (from doug@localhost)
	by dt051n37.san.rr.com (8.9.3/8.9.3) id XAA71029;
	Sun, 8 Oct 2000 23:49:12 -0700 (PDT)
	(envelope-from doug)
Message-Id: <200010090649.XAA71029@dt051n37.san.rr.com>
Date: Sun, 8 Oct 2000 23:49:12 -0700 (PDT)
From: DougB@gorean.org
Sender: doug@dt051n37.san.rr.com
Reply-To: DougB@gorean.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] [TINY] Clarify NO_F00F_HACK option in NOTES
X-Send-Pr-Version: 3.2

>Number:         21852
>Category:       kern
>Synopsis:       [PATCH] [TINY] Clarify NO_F00F_HACK option in NOTES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 08 23:50:02 PDT 2000
>Closed-Date:    Sat Oct 28 23:42:07 PDT 2000
>Last-Modified:  Sat Oct 28 23:42:29 PDT 2000
>Originator:     Doug
>Release:        FreeBSD 3.5.1-STABLE-0903 i386
>Organization:
AAAG
>Environment:

	Most freebsd systems

>Description:

	The NO_F00F_HACK option is unclear in the sense that NOTES doesn't
	make clear that it's only useful in the presence of I586_CPU.

>How-To-Repeat:

	Read NOTES. Read the many questions on -questions about this option.

>Fix:

	Apply the following patch:


Index: NOTES
===================================================================
RCS file: /usr/ncvs/src/sys/i386/conf/NOTES,v
retrieving revision 1.833
diff -u -r1.833 NOTES
--- NOTES	2000/10/08 14:46:04	1.833
+++ NOTES	2000/10/09 06:42:24
@@ -215,8 +215,8 @@
 #
 # NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY
 # Pentiums) from locking up when a LOCK CMPXCHG8B instruction is
-# executed.  This should be included for ALL kernels that won't run
-# on a Pentium.
+# executed.  This option is only needed if I586_CPU is also defined,
+# and should be included for any non-Pentium CPU that defines it.
 #
 # NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors
 # which indicates that the 15-16MB range is *definitely* not being


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: dougb 
State-Changed-When: Fri Oct 27 04:02:00 PDT 2000 
State-Changed-Why:  
Patch applied to -current. Leave it in "analyzed" as an MFC reminder. 


Responsible-Changed-From-To: freebsd-bugs->dougb 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Fri Oct 27 04:02:00 PDT 2000 
Responsible-Changed-Why:  
Take responsibility for my own PR 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21852 
State-Changed-From-To: analyzed->closed 
State-Changed-By: dougb 
State-Changed-When: Sat Oct 28 23:42:07 PDT 2000 
State-Changed-Why:  
Change committed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21852 
>Unformatted:
