Isaac Christensen (isaac.christensen@se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7004
-gerrit
commit 7c3e3f4fac6bf677b07e8eaf7ea5ac957475a059 Author: Duncan Laurie dlaurie@chromium.org Date: Mon May 12 10:20:45 2014 -0700
elog: Add event type for CPU thermal trip
There is a status bit for this event in most intel chipsets that we can read and report. Start by adding the new event type.
Change-Id: Ib06411e3b87a1d069fb469943dd445bee6c1291f Signed-off-by: Duncan Laurie dlaurie@chromium.org Reviewed-on: https://chromium-review.googlesource.com/199370 Reviewed-by: Aaron Durbin adurbin@chromium.org (cherry picked from commit 386a06170ec5afb31d0fe93ace3afbaab897a598) Signed-off-by: Isaac Christensen isaac.christensen@se-eng.com --- src/include/elog.h | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/src/include/elog.h b/src/include/elog.h index eb8352d..648ce42 100644 --- a/src/include/elog.h +++ b/src/include/elog.h @@ -145,6 +145,9 @@ struct elog_event_data_me_extended { /* EC Shutdown Reason */ #define ELOG_TYPE_EC_SHUTDOWN 0xa5
+/* CPU Thermal Trip */ +#define ELOG_TYPE_THERM_TRIP 0xa7 + extern int elog_init(void); extern int elog_clear(void); extern void elog_add_event_raw(u8 event_type, void *data, u8 data_size);