Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 2010 05:46:15 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r212888 - stable/7/sys/dev/acpica
Message-ID:  <201009200546.o8K5kFgl028402@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Mon Sep 20 05:46:15 2010
New Revision: 212888
URL: http://svn.freebsd.org/changeset/base/212888

Log:
  MFC r212549: acpi_cpu: do not apply P_LVLx_LAT rules to latencies
  returned by _CST

Modified:
  stable/7/sys/dev/acpica/acpi_cpu.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/dev/acpica/acpi_cpu.c
==============================================================================
--- stable/7/sys/dev/acpica/acpi_cpu.c	Mon Sep 20 05:39:50 2010	(r212887)
+++ stable/7/sys/dev/acpica/acpi_cpu.c	Mon Sep 20 05:46:15 2010	(r212888)
@@ -671,19 +671,11 @@ acpi_cpu_cx_cst(struct acpi_cpu_softc *s
 	    sc->cpu_cx_count++;
 	    continue;
 	case ACPI_STATE_C2:
-	    if (cx_ptr->trans_lat > 100) {
-		ACPI_DEBUG_PRINT((ACPI_DB_INFO,
-				 "acpi_cpu%d: C2[%d] not available.\n",
-				 device_get_unit(sc->cpu_dev), i));
-		continue;
-	    }
 	    sc->cpu_non_c3 = i;
 	    break;
 	case ACPI_STATE_C3:
 	default:
-	    if (cx_ptr->trans_lat > 1000 ||
-		(cpu_quirks & CPU_QUIRK_NO_C3) != 0) {
-
+	    if ((cpu_quirks & CPU_QUIRK_NO_C3) != 0) {
 		ACPI_DEBUG_PRINT((ACPI_DB_INFO,
 				 "acpi_cpu%d: C3[%d] not available.\n",
 				 device_get_unit(sc->cpu_dev), i));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009200546.o8K5kFgl028402>