1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/share
Konstantin Belousov b57a73f8e7 If x86 CPU implementation of the MWAIT instruction reasonably
interacts with interrupts, query ACPI and use MWAIT for entrance into
Cx sleep states.  Support C1 "I/O then halt" mode.  See Intel'
document 302223-007 "Intelб╝ Processor Vendor-Specific ACPI Interface
Specification" for description.

Move the acpi_cpu_c1() function into x86/cpu_machdep.c and use
it instead of inlining "sti; hlt" sequence in several places.

In the acpi(4) man page, besides documenting the dev.cpu.N.cx_methods
sysctl, correct the names for dev.cpu.N.{cx_usage,cx_lowest,cx_supported}
sysctls.

Both jkim and avg have some other patches implementing the mwait
functionality; this work is unrelated.  Linux does not rely on the
ACPI to provide correct tables describing Cx modes.  Instead, the
driver has pre-defined knowledge of the CPU models, it was supplied by
Intel.

Tested by:    pho (previous versions)
Sponsored by:	The FreeBSD Foundation
2015-05-09 12:28:48 +00:00
..
colldef
dict
doc Fix font issues 2015-05-01 11:46:24 +00:00
dtrace Brief demo script showing the various values that can be read via the new SIFTR statically defined tracepoint (SDT). 2015-04-29 18:07:58 +00:00
examples Catch up with Clang 3.6.0. 2015-03-17 05:48:45 +00:00
i18n
keys
man If x86 CPU implementation of the MWAIT instruction reasonably 2015-05-09 12:28:48 +00:00
me
misc Fix DragonFly 4.0.5 release date. 2015-05-06 01:29:31 +00:00
mk Fix spelling of INTERNALLIBS 2015-05-08 16:43:01 +00:00
mklocale
monetdef
msgdef
numericdef
security
sendmail
skel
snmp
syscons
tabset
termcap
tests
timedef
vt
zoneinfo
Makefile
Makefile.inc