[coreboot-gerrit] Patch merged into coreboot/master: 85c43d0 falco: Enable EC controlled throttling

gerrit at coreboot.org gerrit at coreboot.org
Sat Dec 21 12:02:19 CET 2013


the following patch was just integrated into master:
commit 85c43d05fe9854c3078cc55889700bfab8b4dcdb
Author: Duncan Laurie <dlaurie at chromium.org>
Date:   Wed Jul 31 15:35:55 2013 -0700

    falco: Enable EC controlled throttling
    
    When the EC requests the host to throttle (for charging or thermal
    related reasons) the package power consumption will be limited.
    
    Right now this is set at 12W but that is somewhat arbitrary and may
    need tuning.
    
    1) define the THRT method in \_TZ scope for EC to call
    2) enable SCI events for throttle start and stop
    3) define the power limit at 12W and set it in NVS
    
    1) Enable CONFIG_ACPI_DEBUG=y in the kernel
    
    2) Enable the Debug object event in acpi module
    acpi.debug_layer=0x7f acpi.debug_level=0x2f
    
    3) Using EC console generate host event for throttle start
    > hostevent set 0x20000
    
    4) Check dmesg for throttle start events
    ACPI: Execute Method [\_SB_.PCI0.LPCB.EC0_._Q12] (Node ffff8801002c5988)
    [ACPI Debug]  String [0x12] "EC: THROTTLE START"
    [ACPI Debug]  String [0x10] "Enable PL1 Limit"
    
    5) Using EC console generate host event for throttle stop
    > hostevent set 0x40000
    
    6) Check dmesg for throttle stop events
    ACPI: Execute Method [\_SB_.PCI0.LPCB.EC0_._Q13] (Node ffff8801002c59b0)
    [ACPI Debug]  String [0x11] "EC: THROTTLE STOP"
    [ACPI Debug]  String [0x11] "Disable PL1 Limit"
    
    Change-Id: I39b53a5e8abc2892846bcd214a333fe204c6da9b
    Signed-off-by: Duncan Laurie <dlaurie at chromium.org>
    Reviewed-on: https://gerrit.chromium.org/gerrit/63989
    Reviewed-by: Aaron Durbin <adurbin at chromium.org>


See http://review.coreboot.org/4416 for details.

-gerrit



More information about the coreboot-gerrit mailing list