[coreboot] Patch merged into coreboot/master: 11290c4 SMM: Restore GNVS pointer in the resume path

gerrit at coreboot.org gerrit at coreboot.org
Wed Nov 14 05:41:13 CET 2012

the following patch was just integrated into master:
commit 11290c49b0e7f8c13e0128b0e2005b5466b49f5d
Author: Duncan Laurie <dlaurie at chromium.org>
Date:   Wed Oct 3 19:07:05 2012 -0700

    SMM: Restore GNVS pointer in the resume path
    The SMM GNVS pointer is normally updated only when the
    ACPI tables are created, which does not happen in the
    resume path.
    In order to restore this pointer it needs to be available
    at resume time.  The method used to locate it at creation
    time cannot be used again as that magic signature is
    overwritten with the address itself.  So a new CBMEM ID
    is added to store the 32bit address so it can be found
    again easily.
    A new function is defined to save this pointer in CBMEM
    which needs to be called when the ACPI tables are created
    in each mainboard when write_acpi_tables() is called.
    The cpu_index variable had to be renamed due to a conflict
    when cpu/cpu.h is added for the smm_setup_structures()
    Change-Id: Ic764ff54525e12b617c1dd8d6a3e5c4f547c3e6b
    Signed-off-by: Duncan Laurie <dlaurie at chromium.org>
    Reviewed-on: http://review.coreboot.org/1765
    Tested-by: build bot (Jenkins)
    Reviewed-by: Ronald G. Minnich <rminnich at gmail.com>

Build-Tested: build bot (Jenkins) at Tue Nov 13 23:42:53 2012, giving +1
Reviewed-By: Ronald G. Minnich <rminnich at gmail.com> at Wed Nov 14 05:18:18 2012, giving +2
See http://review.coreboot.org/1765 for details.


More information about the coreboot mailing list