From owner-svn-src-all@FreeBSD.ORG Sun Jan 31 14:35:50 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 240321065695; Sun, 31 Jan 2010 14:35:50 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 129968FC1E; Sun, 31 Jan 2010 14:35:50 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o0VEZnJO051763; Sun, 31 Jan 2010 14:35:49 GMT (envelope-from rnoland@svn.freebsd.org) Received: (from rnoland@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o0VEZnxi051761; Sun, 31 Jan 2010 14:35:49 GMT (envelope-from rnoland@svn.freebsd.org) Message-Id: <201001311435.o0VEZnxi051761@svn.freebsd.org> From: Robert Noland Date: Sun, 31 Jan 2010 14:35:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r203289 - head/sys/i386/i386 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jan 2010 14:35:50 -0000 Author: rnoland Date: Sun Jan 31 14:35:49 2010 New Revision: 203289 URL: http://svn.freebsd.org/changeset/base/203289 Log: Enable MTRR on all VIA CPUs that claim support. This may not be entirely correct either, but the existing check is bogus. I have both a C3 and a C7 that fail this check, but work fine. MFC after: 2 weeks Modified: head/sys/i386/i386/i686_mem.c Modified: head/sys/i386/i386/i686_mem.c ============================================================================== --- head/sys/i386/i386/i686_mem.c Sun Jan 31 14:30:39 2010 (r203288) +++ head/sys/i386/i386/i686_mem.c Sun Jan 31 14:35:49 2010 (r203289) @@ -707,11 +707,8 @@ i686_mem_drvinit(void *unused) switch (cpu_vendor_id) { case CPU_VENDOR_INTEL: case CPU_VENDOR_AMD: - break; case CPU_VENDOR_CENTAUR: - if (cpu_exthigh >= 0x80000008) - break; - /* FALLTHROUGH */ + break; default: return; }