coreboot/src/mainboard
Duncan Laurie ddf68901f7 peppy: Enable power limiting for thermal control
Limit power to 12W at 73C and remove limit at 68C.

To have the CPU consume maximum power it is necessary to stress
both the CPU and the GPU.  Bastion (chrome.supergiantgames.com)
and/or webglsamples.googlecode.com can be useful for this.

Testing this properly requires a script to report the running
average power readings.  The watch_power.sh script is attached
to this issue in the partner tracker.

1) Run watch_power.sh continuously:
localhost ~ # watch -n 0 bash -e /tmp/watch_power.sh
2) Start Bastion (or other stress apps).  The power draw should
be close to 15W if under enough load.
3) Watch until temperature climbs above 73C and is caught by
the thermal zone 10 second poll, this can be sped up by blocking
or removing the fan.
4) The ACPI thermal zone states should change to reflect that
active[2] is now enabled and power consumption should drop to 12W.
5) Stop the stress apps and wait until the CPU cools off again,
enable the fan again if it was removed.
6) The ACPI thermal zone state should switch back to active[3].

Change-Id: Ie6714a8543d4f06edf8513086fc9c968273bdb23
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/60545
Reviewed-on: http://review.coreboot.org/4335
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2013-12-07 03:28:48 +01:00
..
a-trend
aaeon AMD Northbridge LX: get rid of #include "northbridge/amd/lx/raminit.c" 2013-06-04 17:56:48 +02:00
abit
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
amd Correct file permissions. 2013-12-07 00:39:09 +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
asrock Correct file permissions. 2013-12-07 00:39:09 +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
azza
bachmann OT200: bring LEDs into a defined state 2013-06-10 08:45:50 +02:00
bcom
bifferos
biostar
broadcom get_bus_conf.c: reindent with indent 2013-10-18 17:44:56 +02:00
compaq
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
ecs
emulation qemu: fix GENERATE_ACPI_TABLES=n in fw_cfg.c 2013-12-06 12:37:01 +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 peppy: Enable power limiting for thermal control 2013-12-07 03:28:48 +01:00
hp Include boot_cpu.c for romstage builds 2013-08-15 20:49:03 +02:00
ibase global: Fix usage of get_option() to make use of CB_CMOS_ codes 2013-12-02 22:11:20 +01: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 intel/cougar_canyon2: Intel CRB FSP based mainboard 2013-12-04 19:35:54 +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 global: Fix usage of get_option() to make use of CB_CMOS_ codes 2013-12-02 22:11:20 +01:00
lanner
lenovo lenovo/x60: Drop global oprom_is_loaded 2013-12-04 20:14:03 +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
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
roda Unify and clean up remaining INT15 handlers 2013-11-25 23:03:58 +01:00
samsung lumpy: Fix build without ChromeOS 2013-12-04 20:11:12 +01:00
siemens global: Fix usage of get_option() to make use of CB_CMOS_ codes 2013-12-02 22:11:20 +01:00
soyo
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
televideo
thomson Unify and clean up remaining INT15 handlers 2013-11-25 23:03:58 +01: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