[coreboot-gerrit] Patch merged into coreboot/master: 9746734 haswell: Misc power management setup and fixes

gerrit at coreboot.org gerrit at coreboot.org
Sat Dec 7 03:31:07 CET 2013


the following patch was just integrated into master:
commit 974673424914173c21ed2f9ef9ae5cce9f768bf1
Author: Duncan Laurie <dlaurie at chromium.org>
Date:   Fri Jun 28 14:40:38 2013 -0700

    haswell: Misc power management setup and fixes
    
    1) fix enable of power aware interrupt routing
    2) set BIOS_RESET_CPL to 3 instead of 1
    3) mirror PKG power limit values from MSR to MMIO on all SKUs
    4) mirror DDR power limit values from MMIO to MSR
    5) remove DMI settings that were from snb/ivb as they do
    not apply to haswell
    
    1) verify power aware interrupt routing is working by looking
    in /proc/interrupts to see interrupts routed to both cores
    instead of always to core0
    
    BEFORE: 58:       4943          0   PCI-MSI-edge      ahci
    AFTER:  58:       4766        334   PCI-MSI-edge      ahci
    
    2) read back BIOS_RESET_CPL to verify it is == 3
    
    localhost ~ # iotools mmio_read32 0xfed15da8
    0x00000003
    
    3) read PKG power limit from MMIO and verify it is the same
    as the MSR value
    
    localhost ~ # rdmsr 0 0x610
    0x0000809600dc8078
    localhost ~ # iotools mmio_read32 0xfed159a0
    0x00dc8078
    localhost ~ # iotools mmio_read32 0xfed159a4
    0x00008096
    
    4) read DDR power limit from MSR and verify it is the same
    as the MMIO value (note this is zero based on current MRC input)
    
    localhost ~ # rdmsr 0 0x618
    0x0000000000000000
    localhost ~ # iotools mmio_read32 0xfed158e0
    0x00000000
    localhost ~ # iotools mmio_read32 0xfed158e4
    0x00000000
    
    Change-Id: I6cc4c5b2a81304e9deaad8cffcaf604ebad60b29
    Signed-off-by: Duncan Laurie <dlaurie at chromium.org>
    Reviewed-on: https://gerrit.chromium.org/gerrit/60544


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

-gerrit



More information about the coreboot-gerrit mailing list