coreboot/src/mainboard
Aaron Durbin 7c35131642 haswell: configure c-states
The c-states are configured according to the BWG, however the
package c-states are disabled as they currently cause platform
instability. The exposed ACPI c-state to processor c-state mapping
are as follows for ULT boards:
	ACPI(C1) = MWAIT(C1E)
	ACPI(C2) = MWAIT(C7S long latency)
	ACPI(C3) = MWAIT(C10)
The non-ULT boards have an expoed c-state mapping:
	ACPI(C1) = MWAIT(C1E)
	ACPI(C2) = MWAIT(C3)
	ACPI(C3) = MWAIT(C7S)

Included in this patch is removing the updating of current limit
registers as some of the MSRs are different and the proper values
are currently unknown. Lastly, some of the MSRs were renamed to
match the BWG.

Booted 3.8 kernel and used powertop to note package, core, and acpi
c-state residency.

Change-Id: Ia428d4a4979ba3cba44eb9faa96f74b7d3f22dfe
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/48291
Commit-Queue: Stefan Reinauer <reinauer@google.com>
Tested-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/4133
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2013-11-24 16:01:38 +01:00
..
a-trend x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
aaeon AMD Northbridge LX: get rid of #include "northbridge/amd/lx/raminit.c" 2013-06-04 17:56:48 +02:00
abit x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
adlink FrontRunner/Toucan-AF: boards will be renamed to fit ADLINK scheme 2013-04-09 23:56:14 +02:00
advansus AMD sb800 sb900: Fix corruption of a global ramstage variable 2013-09-11 07:05:25 +02:00
advantech x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
amd amd/olivehill: Fix the double spaces in copyright header 2013-11-24 06:07:15 +01:00
aopen usbdebug: Quirk for board aopen/dxplplusu 2013-06-12 05:22:46 +02:00
arima AMD: Drop empty root_complex 2013-06-24 17:22:44 +02:00
artecgroup AMD Northbridge LX: get rid of #include "northbridge/amd/lx/raminit.c" 2013-06-04 17:56:48 +02:00
asi x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
asrock AMD f15tn, f16kb: Remove CDIT table and DMI table 2013-11-22 20:29:06 +01:00
asus AMD f15tn, f16kb: Remove CDIT table and DMI table 2013-11-22 20:29:06 +01:00
avalue AMD sb800 sb900: Fix corruption of a global ramstage variable 2013-09-11 07:05:25 +02:00
axus x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
azza x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
bachmann OT200: bring LEDs into a defined state 2013-06-10 08:45:50 +02:00
bcom x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
bifferos x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
biostar x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
broadcom get_bus_conf.c: reindent with indent 2013-10-18 17:44:56 +02:00
compaq x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
digitallogic AMD Northbridge LX: get rid of #include "northbridge/amd/lx/raminit.c" 2013-06-04 17:56:48 +02:00
dmp dmp/vortex86ex: Move DMP specific POST code defines into one file 2013-11-24 05:36:36 +01:00
eaglelion x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
ecs
emulation qemu: set smbios entries from fw_cfg 2013-11-18 12:50:42 +01:00
getac smi: Update mainboard_smi_gpi() to have 32bit argument 2013-11-24 07:40:22 +01:00
gigabyte get_bus_conf.c: reindent with indent 2013-10-18 17:44:56 +02:00
google smi: Update mainboard_smi_gpi() to have 32bit argument 2013-11-24 07:40:22 +01:00
hp Include boot_cpu.c for romstage builds 2013-08-15 20:49:03 +02:00
ibase CBMEM: Drop parameter from cbmem_reinit() 2013-09-11 07:20:25 +02:00
ibm AMD: Drop empty root_complex 2013-06-24 17:22:44 +02:00
iei Correct spelling of shadow, setting and memory 2013-08-16 22:25:56 +02:00
intel haswell: configure c-states 2013-11-24 16:01:38 +01:00
iwave Move select MMCONF_SUPPORT under northbridge 2013-07-03 19:34:11 +02:00
iwill get_bus_conf.c: reindent with indent 2013-10-18 17:44:56 +02:00
jetway Correct spelling of shadow, setting and memory 2013-08-16 22:25:56 +02:00
kontron smi: Update mainboard_smi_gpi() to have 32bit argument 2013-11-24 07:40:22 +01:00
lanner x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
lenovo smi: Update mainboard_smi_gpi() to have 32bit argument 2013-11-24 07:40:22 +01:00
lippert AMD sb800 sb900: Fix corruption of a global ramstage variable 2013-09-11 07:05:25 +02:00
mitac
msi get_bus_conf.c: reindent with indent 2013-10-18 17:44:56 +02:00
nec
newisys AMD: Drop empty root_complex 2013-06-24 17:22:44 +02:00
nokia x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
nvidia Include boot_cpu.c for romstage builds 2013-08-15 20:49:03 +02:00
pcengines PC Engines ALIX.1C: Add CMOS defaults. 2013-06-04 21:31:57 +02:00
rca x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
roda smi: Update mainboard_smi_gpi() to have 32bit argument 2013-11-24 07:40:22 +01:00
samsung smi: Update mainboard_smi_gpi() to have 32bit argument 2013-11-24 07:40:22 +01:00
siemens Correct spelling of shadow, setting and memory 2013-08-16 22:25:56 +02:00
soyo x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
sunw get_bus_conf.c: reindent with indent 2013-10-18 17:44:56 +02:00
supermicro get_bus_conf.c: reindent with indent 2013-10-18 17:44:56 +02:00
technexion Correct spelling of shadow, setting and memory 2013-08-16 22:25:56 +02:00
technologic x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
televideo x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
thomson Drop llshell 2013-05-20 08:42:28 +02:00
ti beaglebone: Stop reinitializing the console in bootblock.c. 2013-09-17 01:00:39 +02:00
traverse AMD Northbridge LX: get rid of #include "northbridge/amd/lx/raminit.c" 2013-06-04 17:56:48 +02:00
tyan get_bus_conf.c: reindent with indent 2013-10-18 17:44:56 +02:00
via Revert "CBMEM: Always have early initialisation" 2013-10-14 17:16:22 +02:00
winent winent-mb6047: initial WIN Enterprises MB-60470 board port 2013-10-19 16:10:56 +02:00
wyse
Kconfig SMBIOS: Clarify prompts and help texts for Serial and Version Numbers 2013-07-18 10:23:18 +02:00