From owner-svn-src-stable-7@FreeBSD.ORG Fri Mar 4 23:43:10 2011 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC1CC106566C; Fri, 4 Mar 2011 23:43:10 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9A9C48FC1D; Fri, 4 Mar 2011 23:43:10 +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 p24NhAqg072573; Fri, 4 Mar 2011 23:43:10 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p24NhAe9072571; Fri, 4 Mar 2011 23:43:10 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <201103042343.p24NhAe9072571@svn.freebsd.org> From: Jung-uk Kim Date: Fri, 4 Mar 2011 23:43:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219279 - stable/7/sys/i386/cpufreq X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 23:43:10 -0000 Author: jkim Date: Fri Mar 4 23:43:10 2011 New Revision: 219279 URL: http://svn.freebsd.org/changeset/base/219279 Log: MFC: r219046 Set C1 "I/O then Halt" capability bit for Intel EIST. Some broken BIOSes refuse to load external SSDTs if this bit is unset for _PDC. Modified: stable/7/sys/i386/cpufreq/est.c Modified: stable/7/sys/i386/cpufreq/est.c ============================================================================== --- stable/7/sys/i386/cpufreq/est.c Fri Mar 4 23:12:14 2011 (r219278) +++ stable/7/sys/i386/cpufreq/est.c Fri Mar 4 23:43:10 2011 (r219279) @@ -942,8 +942,11 @@ static int est_features(driver_t *driver, u_int *features) { - /* Notify the ACPI CPU that we support direct access to MSRs */ - *features = ACPI_CAP_PERF_MSRS; + /* + * Notify the ACPI CPU that we support direct access to MSRs. + * XXX C1 "I/O then Halt" seems necessary for some broken BIOS. + */ + *features = ACPI_CAP_PERF_MSRS | ACPI_CAP_C1_IO_HALT; return (0); }