[coreboot-gerrit] Patch merged into coreboot/master: 738af67 haswell: support for parallel SMM relocation

gerrit at coreboot.org gerrit at coreboot.org
Thu Mar 21 22:56:31 CET 2013


the following patch was just integrated into master:
commit 738af675d1b29847112f32b3fb2ac2524bb7c4ca
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Wed Feb 13 11:22:25 2013 -0600

    haswell: support for parallel SMM relocation
    
    The haswell processors support the ability to save their SMM state
    into MSR space instead of the memory. This feaure allows for parallel
    SMM relocation handlers as well as setting the same SMBASE for each
    CPU since the save state memory area is not used.
    
    The catch is that in order determine if this feature is available the
    CPU needs to be in SMM context. In order to implement parallel SMM
    relocation the BSP enters the relocation handler twice. The first time
    is to determine if that feature is available. If it is, then that
    feature is enabled the BSP exits the relocation handler without
    relocating SMBASE. It then releases the APs to run the SMM relocation
    handler. After the APs have completed the relocation the BSP will
    re-enter the SMM relocation handler to relocate its own SMBASE to the
    final location.  If the parallel SMM feature is not available the BSP
    relocates its SMBASE as it did before.
    
    This change also introduces the BSP waiting for the APs to relocate
    their SMBASE before proceeding with the remainder of the boot process.
    
    Ensured both the parallel path and the serial path still continue
    to work on cold, warm, and S3 resume paths.
    
    Change-Id: Iea24fd8f9561f1b194393cdb77c79adb48039ea2
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
    Reviewed-on: http://review.coreboot.org/2801
    Tested-by: build bot (Jenkins)
    Reviewed-by: Ronald G. Minnich <rminnich at gmail.com>

Build-Tested: build bot (Jenkins) at Tue Mar 19 06:24:26 2013, giving +1
Reviewed-By: Ronald G. Minnich <rminnich at gmail.com> at Thu Mar 21 22:56:20 2013, giving +2
See http://review.coreboot.org/2801 for details.

-gerrit



More information about the coreboot-gerrit mailing list