Author: avg
Date: Sat Jul 7 08:19:34 2012
New Revision: 238194
URL: http://svn.freebsd.org/changeset/base/238194
Log:
acpi_cpu_generic_cx_probe: for consistency set cpu_non_c3 here too
although by default only C1 is enabled (cx_lowest=0) and enabling deeper
states goes through acpi_cpu_set_cx_lowest which re-evaluates cpu_non_c3
MFC after: 2 weeks
Modified:
head/sys/dev/acpica/acpi_cpu.c
Modified: head/sys/dev/acpica/acpi_cpu.c
==============================================================================
--- head/sys/dev/acpica/acpi_cpu.c Sat Jul 7 08:12:51 2012
(r238193)
+++ head/sys/dev/acpica/acpi_cpu.c Sat Jul 7 08:19:34 2012
(r238194)
@@ -629,6 +629,7 @@ acpi_cpu_generic_cx_probe(struct acpi_cp
cx_ptr->type = ACPI_STATE_C1;
cx_ptr->trans_lat = 0;
cx_ptr++;
+ sc->cpu_non_c3 = sc->cpu_cx_count;
sc->cpu_cx_count++;
/*
@@ -653,6 +654,7 @@ acpi_cpu_generic_cx_probe(struct acpi_cp
cx_ptr->type = ACPI_STATE_C2;
cx_ptr->trans_lat = AcpiGbl_FADT.C2Latency;
cx_ptr++;
+ sc->cpu_non_c3 = sc->cpu_cx_count;
sc->cpu_cx_count++;
}
}
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"