[coreboot-gerrit] Patch merged into coreboot/master: timestamps: don't drop ramstage timestamps with EARLY_CBMEM_INIT

gerrit at coreboot.org gerrit at coreboot.org
Fri Jul 10 15:23:55 CEST 2015


the following patch was just integrated into master:
commit bd1499d338659b5f483793e96c7e0f43c1c11f4d
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Fri Jul 10 01:51:14 2015 -0500

    timestamps: don't drop ramstage timestamps with EARLY_CBMEM_INIT
    
    While running ramstage with the EARLY_CBMEM_INIT config the timestamp
    cache was re-initialized and subsequently used. The result was that
    the ramstage timestamps would be dropped from cbmem.  The reason
    is that the ramstage timestamps perpetually lived in ramstage BSS
    never getting sync'd back into cbmem. The fix is to honor the
    cache state in ramstage in the timestamp_init() path.
    
    Also, make cache_state a fixed bit width to allow for different
    architectures across the pre-ramstage stages.
    
    TEST=Used qemu-armv7 as a test harness with debugging info.
    
    Change-Id: Ibb276e513278e81cb741b1e1f6dbd1e8051cc907
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
    Reviewed-on: http://review.coreboot.org/10880
    Tested-by: build bot (Jenkins)
    Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
    Reviewed-by: Patrick Georgi <pgeorgi at google.com>


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

-gerrit



More information about the coreboot-gerrit mailing list