freebsd-nq/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 Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin; 2015-02-12 05:35:00 +00:00
snmp
syscons
tabset
termcap Fix building termcap.db when make obj is run beforehand from a clean tree by 2014-12-10 23:18:11 +00:00
tests
timedef
vt
zoneinfo
Makefile Only build share/dtrace if MK_CDDL != no 2015-01-25 00:32:17 +00:00
Makefile.inc