Module Name: src
Committed By: jruoho
Date: Sun Feb 27 17:27:28 UTC 2011
Modified Files:
src/sys/arch/x86/acpi: acpi_cpu_md.c
Log Message:
Claim to support the dependency coordination during the _PDC/_OSC query.
(Although we do not actually support it.) Only after these bits are set,
many Intel-based BIOSes are willing to relinquish the necessary information.
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/x86/acpi/acpi_cpu_md.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/acpi/acpi_cpu_md.c
diff -u src/sys/arch/x86/acpi/acpi_cpu_md.c:1.46 src/sys/arch/x86/acpi/acpi_cpu_md.c:1.47
--- src/sys/arch/x86/acpi/acpi_cpu_md.c:1.46 Fri Feb 25 17:23:34 2011
+++ src/sys/arch/x86/acpi/acpi_cpu_md.c Sun Feb 27 17:27:28 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu_md.c,v 1.46 2011/02/25 17:23:34 jruoho Exp $ */
+/* $NetBSD: acpi_cpu_md.c,v 1.47 2011/02/27 17:27:28 jruoho Exp $ */
/*-
* Copyright (c) 2010, 2011 Jukka Ruohonen <[email protected]>
@@ -27,7 +27,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_md.c,v 1.46 2011/02/25 17:23:34 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_md.c,v 1.47 2011/02/27 17:27:28 jruoho Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -130,10 +130,15 @@
return val;
/*
- * Basic SMP C-states (required for _CST).
+ * Basic SMP C-states (required for e.g. _CST).
*/
val |= ACPICPU_PDC_C_C1PT | ACPICPU_PDC_C_C2C3;
+ /*
+ * Claim to support dependency coordination.
+ */
+ val |= ACPICPU_PDC_P_SW | ACPICPU_PDC_C_SW | ACPICPU_PDC_T_SW;
+
/*
* If MONITOR/MWAIT is available, announce
* support for native instructions in all C-states.