diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2017-01-10 14:39:14 -0600 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2017-01-20 13:34:47 -0500 |
commit | a803157e2e983de6a0ebe2b4fe9be538b6f192ff (patch) | |
tree | ff97d9f3fb8fbc6df23d893c10c74c431c37badb /src/lib | |
parent | 06e5c5eb5192aa01ac6c4868141fa7ae49547acc (diff) | |
download | talos-hostboot-a803157e2e983de6a0ebe2b4fe9be538b6f192ff.tar.gz talos-hostboot-a803157e2e983de6a0ebe2b4fe9be538b6f192ff.zip |
Add error logs tag for kernel errors so they get into KC
Adding some @error tags for the critical kernel TIs so that
a description ends up getting into Knowledge Center.
ForwardPort: yes
Change-Id: Ibe468d25a9390ab5f4285d969b9e9c838830f216
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34792
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/assert.C | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/lib/assert.C b/src/lib/assert.C index e9ad3bf4e..953393c31 100644 --- a/src/lib/assert.C +++ b/src/lib/assert.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2017 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -77,8 +79,18 @@ extern "C" void __assert(AssertBehavior i_assertb, int i_line) printk("Assertion failed @%p on line %d. (kassert)\n", linkRegister(), i_line); + /*@ + * @errortype + * @moduleid KERNEL::MOD_KERNEL_INVALID + * @reasoncode KERNEL::RC_ASSERT + * @userdata1 Failing address + * @userdata2 <unused> + * @devdesc Kernel has asserted + * @custdesc Boot firmware has crashed with an internal + * error. + */ // Call function to create SRC and update TI Data area - termWriteSRC(TI_KERNEL_ASSERT, RC_ASSERT, + termWriteSRC(TI_KERNEL_ASSERT, KERNEL::RC_ASSERT, reinterpret_cast<uint64_t>(linkRegister())); // Call to force TI |