[coreboot-gerrit] Patch merged into coreboot/master: gru: Add watchdog reset support

gerrit at coreboot.org gerrit at coreboot.org
Tue Sep 20 21:50:45 CEST 2016


the following patch was just integrated into master:
commit b6bf1ddb91ccb6241827792afead6ac3fce79eb5
Author: Julius Werner <jwerner at chromium.org>
Date:   Wed Aug 24 19:38:05 2016 -0700

    gru: Add watchdog reset support
    
    This patch adds support to reboot the whole board after a hardware
    watchdog reset, to avoid the usual TPM issues. Work 100% equivalent to
    Veyron.
    
    From my tests it looks like both SRAM and PMUSRAM get preserved across
    warm reboots. I'm putting the WATCHDOG_TOMBSTONE into PMUSRAM since that
    makes it easier to deal with in coreboot (PMUSRAM is currently not
    mapped as cached, so we don't need to worry about flushing the results
    back before reboot).
    
    BRANCH=None
    BUG=chrome-os-partner:56600
    TEST='stop daisydog; cat > /dev/watchdog', press CTRL+D, wait 30
    seconds. Confirm that system reboots correctly without entering recovery
    and we get a HW watchdog event in the eventlog.
    
    Change-Id: I317266df40bbb221910017d1a6bdec6a1660a511
    Signed-off-by: Martin Roth <martinroth at chromium.org>
    Original-Commit-Id: 3b8f3d064ad56d181191c1e1c98a73196cb8d098
    Original-Change-Id: I17c5a801bef200d7592a315a955234bca11cf7a3
    Original-Signed-off-by: Julius Werner <jwerner at chromium.org>
    Original-Reviewed-on: https://chromium-review.googlesource.com/375562
    Original-Commit-Queue: Douglas Anderson <dianders at chromium.org>
    Reviewed-on: https://review.coreboot.org/16578
    Tested-by: build bot (Jenkins)
    Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
    Reviewed-by: Patrick Georgi <pgeorgi at google.com>


See https://review.coreboot.org/16578 for details.

-gerrit



More information about the coreboot-gerrit mailing list