git: acpi/cstate/x86_64: Implement native C-state support for Intel CPUs
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Thu Jan 30 02:01:09 PST 2014
commit 5764e12516158974fac10d50dbd2df76ce1ab007
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Thu Jan 30 17:56:16 2014 +0800
acpi/cstate/x86_64: Implement native C-state support for Intel CPUs
The native C-state on Intel CPUs is entered using monitor/mwait w/ the
help from mwait hint (eax) and extension (ecx, break upon interrupt).
We still need to keep an eye on native C1 state. Currently C1 state
only uses "sti;halt".
Summary of changes:
sys/cpu/x86_64/include/specialreg.h | 9 +++
sys/dev/acpica/acpi_cpu_cstate.c | 2 -
sys/dev/acpica/acpi_cpu_cstate.h | 1 +
sys/platform/pc32/acpica/acpi_cstate_machdep.c | 12 ++-
sys/platform/pc64/acpica/acpi_cpu_machdep.c | 18 ++++-
sys/platform/pc64/acpica/acpi_cstate_machdep.c | 106 ++++++++++++++++++++++---
sys/platform/pc64/include/md_var.h | 1 +
sys/platform/pc64/x86_64/machdep.c | 18 +++++
8 files changed, 150 insertions(+), 17 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5764e12516158974fac10d50dbd2df76ce1ab007
--
DragonFly BSD source repository
More information about the Commits
mailing list