NetBSD/sys/arch/amd64
jruoho 4d861e5bb4 Merge a driver for ACPI CPUs with basic support for processor power states,
also known as C-states. The code is modular and provides an easy way to add
the remaining functionality later (namely throttling and P-states).

Remarks:

  1.	Commented out in the GENERICs; more testing exposure is needed.

  2.	The C3-state is disabled for the time being because it turns off
	timers, among them the local APIC timer. This may not be universally
	true on all x86 processors; define ACPICPU_ENABLE_C3 to test.

  3.	The algorithm used to choose a power state may need tuning. When
	evaluating the appropriate state, the implementation uses the
	previous sleep time as an indicator. Additional hints would include
	for example the system load.

	Also bus master activity is evaluated when choosing a state. The
	usb(4) stack is notorious for such activity even when unused.
	Typically it must be disabled in order to reach the C3-state,
	but it may also prevent the use of C2.

  4.	While no extensive empirical measurements have been carried out, the
	power savings are somewhere between 1-2 W with C1 and C2, depending
	on the processor, firmware, and load. With C3 even up to 4 W can be
	saved.  The less something ticks, the more power is saved.

ok jmcneill@, joerg@, and discussed with various people.
2010-07-18 09:29:11 +00:00
..
acpi Add definition for WAKEUP_vesa_modenum 2009-08-24 22:06:50 +00:00
amd64 Unify i386 and amd64 procfs MD code into x86. 2010-07-08 11:24:59 +00:00
compile
conf Merge a driver for ACPI CPUs with basic support for processor power states, 2010-07-18 09:29:11 +00:00
include add the guts of TLS support on amd64. based on joerg's patch, 2010-07-07 01:14:52 +00:00
Makefile Fix 'tags' target. 2010-04-28 20:22:46 +00:00