summaryrefslogtreecommitdiffstats
path: root/include/opal.h
diff options
context:
space:
mode:
authorDeepthi Dharwar <deepthi@linux.vnet.ibm.com>2014-07-24 12:01:08 +0530
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-25 14:10:51 +1000
commit8b23f08361ef62310b93bba5f330158b1f6c3729 (patch)
treecab52c711b9388b7c33361e8d33062f79bf742c8 /include/opal.h
parent78a02e39e57b4441fd1901e9d08c454baedcc399 (diff)
downloadblackbird-skiboot-8b23f08361ef62310b93bba5f330158b1f6c3729.tar.gz
blackbird-skiboot-8b23f08361ef62310b93bba5f330158b1f6c3729.zip
elog: Fix race conditions in assigning platform log id
Currently the Platform Log ID is generated during conversion of an error into PEL format. Logging of generic errors and panic errors to FSP are done in parallel through seperate TCE buffers. This patch attempts to serialise assigning of Platform Log ID during PEL creation. Signed-off-by: Deepthi Dharwar <deepthi@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/opal.h')
-rw-r--r--include/opal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/opal.h b/include/opal.h
index 43b7c809..f219867f 100644
--- a/include/opal.h
+++ b/include/opal.h
@@ -883,6 +883,7 @@ struct __attribute__((__packed__)) opal_errorlog {
uint32_t user_section_size;
uint32_t reason_code;
uint32_t additional_info[4];
+ uint32_t plid;
char user_data_dump[OPAL_LOG_MAX_DUMP];
struct list_node link;
OpenPOWER on IntegriCloud