diff options
author | Deepthi Dharwar <deepthi@linux.vnet.ibm.com> | 2014-07-24 12:01:08 +0530 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-07-25 14:10:51 +1000 |
commit | 8b23f08361ef62310b93bba5f330158b1f6c3729 (patch) | |
tree | cab52c711b9388b7c33361e8d33062f79bf742c8 /include/opal.h | |
parent | 78a02e39e57b4441fd1901e9d08c454baedcc399 (diff) | |
download | skiboot-8b23f08361ef62310b93bba5f330158b1f6c3729.zip skiboot-8b23f08361ef62310b93bba5f330158b1f6c3729.tar.gz skiboot-8b23f08361ef62310b93bba5f330158b1f6c3729.tar.bz2 |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/opal.h b/include/opal.h index 43b7c80..f219867 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; |