1ddf1e8e | 04-Jun-2021 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
PEL: move jsonCalloutSubtype const definition to header
SBE FFDC need to consume this constant to create json callout type file creation.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Chang
PEL: move jsonCalloutSubtype const definition to header
SBE FFDC need to consume this constant to create json callout type file creation.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I71eeccbb478d7cec5bfc8b1844c11f641d8a388b
show more ...
|
4d779b2c | 03-Jun-2021 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
PEL: API to convert FAPI based data to PEL format
API support to convert processed SBE FFDC FAPI format packets into PEL expected format.
This function is ported from openpower-proc-control and c
PEL: API to convert FAPI based data to PEL format
API support to convert processed SBE FFDC FAPI format packets into PEL expected format.
This function is ported from openpower-proc-control and customised to make independent function.
Added pdbg and device tree libraries to support phal based device tree support.
Tested: Manually verified.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I8afdb5861be6b129314621eea342bee5eaae82d7
show more ...
|
bf54cbb1 | 03-Jun-2021 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
PEL: Create TemporaryFile class
Added support for creating temporary file - Constructor creates the temporary file with data - Destructor doesn't deletes file due to PEL function related requir
PEL: Create TemporaryFile class
Added support for creating temporary file - Constructor creates the temporary file with data - Destructor doesn't deletes file due to PEL function related requirements. - Provided remove function to delete the file.
Tested: Added test cases for TemporaryFile class and verified test_openpower_pels_temporary_file OK 0.03s
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I5295998d746ef1228512545f0a19faa1f94260d8
show more ...
|
e8bdeeaa | 03-Jun-2021 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
PEL: enable base infrastructure for SBE FFDC base PEL create
This commits provides the base infrastructure for SBE FFDC based on createPELWithFFDCFiles`D-Bus method on the org.open_power.Logging.PEL
PEL: enable base infrastructure for SBE FFDC base PEL create
This commits provides the base infrastructure for SBE FFDC based on createPELWithFFDCFiles`D-Bus method on the org.open_power.Logging.PEL.
More details related to usage of this interface is documented as part of extensions/openpower-pels/README.md.
In the PEL create interface if the type is custom and subtype is 0xCB, PEL class function invokes SBE FFDC function to process SBE FFDC to extract Hardware procedure added user data section and callouts. SBE FFDC class appends the callout json and create user data file based FFDC information and continue the normal PEL create function.
SCOPE of this commit: - Add base infrastructure and control build only for "phal" supported systems. "phal" feature is mandatory requirement for processing SBE FFDC. - Add SBE FFDC raw information in PEL user data section
To enable this feature use the below meson build options meson build -Dopenpower-pel-extension=enabled -Dphal=enabled
Tested:
"Error Details": { "Message":"chipop timeout reported during SBE communication", "SRC6": [ "0x2", "[0:15] chip position, [16:23] command class, [24:31] command type" ] },
"User Data 2": { "Section Version": "1", "Sub-section type": "203", "Created by": "0x3500", "Data": [ "FF DC 00 12 00 00 A1 01 00 8E CE 72 00 00 FF FE | ...........r....", "00 00 00 04 00 00 00 00 00 00 00 04 00 00 00 00 | ................", "00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 02 | ................", "00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 04 | ................", "00 00 00 00 00 00 00 00 | ........" ] }
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I2200b3ba9c0977be13e71f25e87f0b16cb50ec5b
show more ...
|
b6b25575 | 19-May-2021 |
William A. Kennington III <wak@google.com> |
build: Use global variables instead of macros for test features
We don't want the build to depend on recompiling objects for test separately from other executables. We can tweak settings via global
build: Use global variables instead of macros for test features
We don't want the build to depend on recompiling objects for test separately from other executables. We can tweak settings via global variables instead.
Change-Id: Ifdd078c2e381848ca1789934a36731eb8ceaf8b1 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
3025d0b5 | 02-Jun-2021 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Align peltool list output values
Start using the jsonInsert() function when printing the peltool list output, so it will automatically align the JSON key values:
Before: { "0x50000001": { "
PEL: Align peltool list output values
Start using the jsonInsert() function when printing the peltool list output, so it will automatically align the JSON key values:
Before: { "0x50000001": { "SRC": "1100A013", "Message": "A config file error occurred", "PLID": "0x50000001", "CreatorID": "BMC", "Subsystem": "Power/Cooling Subsystem", "Commit Time": "05/24/2021 21:10:27", "Sev": "Unrecoverable Error", "CompID": "0x2700" } }
After: { "0x50000001": { "SRC": "1100A013", "Message": "A config file error occurred", "PLID": "0x50000001", "CreatorID": "BMC", "Subsystem": "Power/Cooling Subsystem", "Commit Time": "05/24/2021 21:10:27", "Sev": "Unrecoverable Error", "CompID": "0x2700" } }
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I8b6636c9d865f1d8acee0976102d15903be47190
show more ...
|
808e29ff | 16-Apr-2021 |
Ben Tyner <ben.tyner@ibm.com> |
PEL: Updates to attention handler TI registry entry
Add SRC words to symptom-Id and make informational.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: I90437d7fdba0a6aa766b86d4fa61a9b36d1e
PEL: Updates to attention handler TI registry entry
Add SRC words to symptom-Id and make informational.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: I90437d7fdba0a6aa766b86d4fa61a9b36d1e5562
show more ...
|
6c60183e | 03-May-2021 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
PEL: Add error message registry entry for SBE invalid state
Adding error entry in the message registry JSON file for the SBE on the specific processor is not in a state where chipOps can be issued.
PEL: Add error message registry entry for SBE invalid state
Adding error entry in the message registry JSON file for the SBE on the specific processor is not in a state where chipOps can be issued.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: Ic2ecdab5348e21c13995d8a43a2e119d2b4e2a10
show more ...
|
4f6b7635 | 03-May-2021 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
PEL: Add error message registry entry for SBE chipop timeout
Adding error entry in the message registry JSON file for SBE chipop timeout failure.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.co
PEL: Add error message registry entry for SBE chipop timeout
Adding error entry in the message registry JSON file for SBE chipop timeout failure.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: Ida7e79ccbeb7c79fab2288ba5ab66776904793e5
show more ...
|
bd0a7522 | 03-May-2021 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
PEL: Add error message registry entry for SBE chipop failure
Adding error entry in the message registry JSON file for SBE chipop failures with FFDC information provided by SBE.
This is a common err
PEL: Add error message registry entry for SBE chipop failure
Adding error entry in the message registry JSON file for SBE chipop failures with FFDC information provided by SBE.
This is a common error code for SBE chipop, non timeout errors.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I2c53577ad0c98c397f347ca176620cd8a907326b
show more ...
|
2634b616 | 19-May-2021 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
PEL: ComponentID for Processor errors
Added new ComponentID for Processor Errors reported by Processor hardware sub components.
This ComponentID is used across repositories.
Signed-off-by: Jayanth
PEL: ComponentID for Processor errors
Added new ComponentID for Processor Errors reported by Processor hardware sub components.
This ComponentID is used across repositories.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: Id45b909c81cb924ced732d29f232d5d196afafb0
show more ...
|
3b8ed7f2 | 18-May-2021 |
Sumit Kumar <sumit_kumar@in.ibm.com> |
PEL: Support MfgSeverity & MfgAction flags PEL reg fields
This is specifically for manufacturing mode. Look for mfgSeverity and mfgAction flags being set in incoming PELs and if it is then check for
PEL: Support MfgSeverity & MfgAction flags PEL reg fields
This is specifically for manufacturing mode. Look for mfgSeverity and mfgAction flags being set in incoming PELs and if it is then check for dbus property for QuiesceOnHwError and if it is found then override the severity value with mfg value.
Signed-off-by: Sumit Kumar <sumit_kumar@in.ibm.com> Change-Id: Icd590b0e2732df8aa9c2935078528dda8fd4f996
show more ...
|
e32b7e76 | 18-May-2021 |
Ben Tyner <ben.tyner@ibm.com> |
Add system IM keyword to PEL userdata0 section
Read the system IM keyword via dbus and add it to the PEL userdata0 section.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: I6a45e0450928e49c
Add system IM keyword to PEL userdata0 section
Read the system IM keyword via dbus and add it to the PEL userdata0 section.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: I6a45e0450928e49c8789cc2f93baad03cccf90c7
show more ...
|
c2b8a517 | 21-May-2021 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Change the BMC version UD label to FW version
Change the label of the version ID field in the automatically added UserData section to be 'FW Version ID' instead of 'BMC Version ID'.
While it d
PEL: Change the BMC version UD label to FW version
Change the label of the version ID field in the automatically added UserData section to be 'FW Version ID' instead of 'BMC Version ID'.
While it does describe the BMC image version, the hostboot code is also contained in the image so it also describes that version. Since this section data also goes into an ED section that hostboot makes for us to fill in within their PELs, 'BMC Version' was called out as being misleading.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I6d5a3551ca2aa3ce385fdf1b374eacf3fd1e62e3
show more ...
|
9d59d585 | 19-May-2021 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Fixes for GCC11
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ic34461439af8adef5ca809f4046126c976baef98 |
b2abc04d | 17-May-2021 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Don't bootblock on recovered PELs
PELs with a severity of 'Recovered' (0x10) do not need to block boots in manufacturing.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I6b1c00d2c
PEL: Don't bootblock on recovered PELs
PELs with a severity of 'Recovered' (0x10) do not need to block boots in manufacturing.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I6b1c00d2c148fa61f5920e44ff3939c1e71400d7
show more ...
|
cad16201 | 13-May-2021 |
Sumit Kumar <sumit_kumar@in.ibm.com> |
PEL: Update serverFWRelVer in ext user header section
The Extended User Header section has a field for server firmware version. Get this field updated from os-release.
Test: Verified PEL tool outpu
PEL: Update serverFWRelVer in ext user header section
The Extended User Header section has a field for server firmware version. Get this field updated from os-release.
Test: Verified PEL tool output for ext user header section
Signed-off-by: Sumit Kumar <sumit_kumar@in.ibm.com> Change-Id: I24cf7a44d71f8afaac3f1d1073fe2a5e13d46628
show more ...
|
938ac796 | 12-May-2021 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Update callouts for fan missing error
The fan missing error has a low priority FRU callout of the FRU that contains the fan controller/presence IO expander. These are different between Rainier
PEL: Update callouts for fan missing error
The fan missing error has a low priority FRU callout of the FRU that contains the fan controller/presence IO expander. These are different between Rainier and Everest, so check the system type in the registry entry.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Icc66029f993b8e2273d118c0dec7090f9a262cec
show more ...
|
77582a73 | 11-May-2021 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Remove hardcoded sev for Hard shutdown err
The HardShutdownAlarmHigh error is posted twice when there is an ambient temp high enough that it crosses the hard shutdown threshold and causes a shu
PEL: Remove hardcoded sev for Hard shutdown err
The HardShutdownAlarmHigh error is posted twice when there is an ambient temp high enough that it crosses the hard shutdown threshold and causes a shutdown. The first time is when the threshold alert first occurs, and the second is when the shutdown timer expires and the shutdown commences.
It is desired that these two logs have different severities, the first a PEL severity of Unrecoverable, and the second a severity of Critical. To do this, the severity had to stop being hardcoded in the registy so that the caller can just pass in the desired severity at the time of creation.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Id294a3d799a9b657fe69789c61358b4df0345b93
show more ...
|
3160a544 | 26-Apr-2021 |
Sumit Kumar <sumit_kumar@in.ibm.com> |
PEL: Update system info into HB PEL extended user data section
Hostboot requested BMC add a UserData section containing debug information like internal code level name and the bmc/host/chassis state
PEL: Update system info into HB PEL extended user data section
Hostboot requested BMC add a UserData section containing debug information like internal code level name and the bmc/host/chassis states that are added to the BMC PELs. To accomodate this BMC code will look in incoming PELs for an ED section with specific compID/version/subtype fields, and then modify it with the appropriate debug contents as mentioned above.
Test: Verified PEL tool output by injecting error to generate hostboot PEL
Signed-off-by: Sumit Kumar <sumit_kumar@in.ibm.com> Change-Id: I72288089f2768412eb9033b121e7f02f72f11fc7
show more ...
|
adf070b8 | 21-Apr-2021 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Fan pres-detect conflict message reg entry
This adds a new PEL message registry entry for a fan presence detection method conflict error. This occurs when there is more than 1 method to detect
PEL: Fan pres-detect conflict message reg entry
This adds a new PEL message registry entry for a fan presence detection method conflict error. This occurs when there is more than 1 method to detect a fan and they don't all agree. This is an informational error, unless in manufacturing, in which case it is predictive.
At this time, the PEL daemon doesn't yet do anything different for the MfgSeverity and MfgActionFlags fields. That work is upcoming.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ic88240783ede2306efb03458e36ff6402517c97e
show more ...
|
81b4dcab | 29-Apr-2021 |
Vijay Lobo <vijaylobo@gmail.com> |
PEL: Update filling VPD fields in PEL
Due to changes to the way Inventory manager adds Interfaces to D-Bus the watches on Interfaces for VPD are not triggered anymore. This change is to make a getPr
PEL: Update filling VPD fields in PEL
Due to changes to the way Inventory manager adds Interfaces to D-Bus the watches on Interfaces for VPD are not triggered anymore. This change is to make a getProperty call to the Inventory service every time the PEL is created.
Tested: Ran PEL Create command to inspect the PEL log to make sure the MTMS and CCIN fields populate as needed
Change-Id: Icf918b23f36d9d69ad603b00daabdd8af9531783 Signed-off-by: Vijay Lobo <vijaylobo@gmail.com>
show more ...
|
ef9cc07e | 30-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
build: remove autotools support
We use meson everywhere now. Clean up the autotools support.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iac94c9c6e92141d8d1928c5283c8757ab2fd3257 |
011ccae0 | 25-Mar-2021 |
Miguel Gomez <mgomez@mx1.ibm.com> |
Add a termination error display option in peltool
By using the new parameter -t, peltool will display only termination errors,it will show from 1 to x termination errors as they exist in the log.
S
Add a termination error display option in peltool
By using the new parameter -t, peltool will display only termination errors,it will show from 1 to x termination errors as they exist in the log.
Signed-off-by: Miguel Gomez <mgomez@mx1.ibm.com> Change-Id: Ib14f569028ef95725076829e7fd7c455c630e8d1
show more ...
|
d9f0d646 | 21-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
build: meson support for openpower-pel extensions
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4b45f71a3de4966fe3649480d4333806f201f405 |