#
2544b419 |
| 04-Oct-2022 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: update with latest
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I329396457b83bb2eb8740629b4ac1fbe9106bced
|
#
45796e82 |
| 01-Jul-2022 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Fix some cppcheck warnings
This is the first of two commits to fix most of the cppcheck warnings in the PEL code. It doesn't fix all of them because some are false positives and some are just
PEL: Fix some cppcheck warnings
This is the first of two commits to fix most of the cppcheck warnings in the PEL code. It doesn't fix all of them because some are false positives and some are just suggestions.
It's broken up into two commits to make them smaller.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I75937797a6920611b136d600e9efd6c694e4209c
show more ...
|
#
46139b01 |
| 03-Jun-2022 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Add missing include
Compiles done with newer versions of yocto will fail otherwise.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I16c967a90a9120652189dad6615bcbd363dca0af
|
#
468aab5f |
| 13-Aug-2020 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Add support for raw symbolic FRUs and procs
Allow the FRUIdentity and Callout objects to take the raw maintenance procedure and symbolic FRU names as opposed to just the PEL message registry na
PEL: Add support for raw symbolic FRUs and procs
Allow the FRUIdentity and Callout objects to take the raw maintenance procedure and symbolic FRU names as opposed to just the PEL message registry names. This will allow the values to come from sources besides the registry, such as the device tree used by PHAL.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I4171fb7128ae1b1b5e3e635f7f95b7f7df7c6638
show more ...
|
#
2b6dfa00 |
| 09-Apr-2020 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Add symbolic FRU support to FRUIdentity
A symbolic FRU is a FRU where the part is known, but the part number is not available for it. A trusted symbolic FRU adds the requirement that the locat
PEL: Add symbolic FRU support to FRUIdentity
A symbolic FRU is a FRU where the part is known, but the part number is not available for it. A trusted symbolic FRU adds the requirement that the location code is known to be correct so it can be used for lighting LEDs and FRU replacement.
The symbolic FRU name shares the same field as the part number.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I2fa936d9d7235c5cff245effcdb9d445aefffe23
show more ...
|
#
a27e2e50 |
| 09-Apr-2020 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Get rid of the enum for a maint procedure
It simplifies the code to just use the string name of the procedure as defined by the message registry schema, and make it be less maintenance to add n
PEL: Get rid of the enum for a maint procedure
It simplifies the code to just use the string name of the procedure as defined by the message registry schema, and make it be less maintenance to add new procedures in the future, especially if they come from the registry so the enum isn't even needed.
This will also make it the same as upcoming support for symbolic FRU callouts, which will always just come from the registry or an external user so would not need an enum.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ia8550235678ba1fc717a6b0875e2d7ff3888bfec
show more ...
|
#
ba0ee002 |
| 13-Mar-2020 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Create FRUIdentity with FRUs/procedures
Add constructors to the FRUIdentity structure in the SRC section to take either a hardware callout with PN/SN/CCIN, or a maintenance procedure callout wi
PEL: Create FRUIdentity with FRUs/procedures
Add constructors to the FRUIdentity structure in the SRC section to take either a hardware callout with PN/SN/CCIN, or a maintenance procedure callout with a maintenance procedure enum. Both of these also take callout priority.
These will be used when creating PELs that have callouts.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I5071d98df38b63ba53224c3f3b853e57234ed74e
show more ...
|
#
a09354b7 |
| 13-Mar-2020 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Make FRUIdentity::flattenedSize() calc size
This function was just returning the _size property, but in the future _size will instead be set to what this function returns.
Signed-off-by: Matt
PEL: Make FRUIdentity::flattenedSize() calc size
This function was just returning the _size property, but in the future _size will instead be set to what this function returns.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I5e5c2cefb595aa07c55c7d32de66372037f79c77
show more ...
|
#
724d0d8c |
| 06-Nov-2019 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Const flattens for the SRC sub classes
Make the flatten functions const for the various classes that represent the SRC substructures.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id
PEL: Const flattens for the SRC sub classes
Make the flatten functions const for the various classes that represent the SRC substructures.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I08f4ae6de65e269c9f1b82315115969c8552c782
show more ...
|
#
a906c940 |
| 08-Oct-2019 |
Matt Spinler <spinler@us.ibm.com> |
PEL: FRU identity SRC substructure
This substructure is part of the callout subsection in the SRC section of a PEL, and contains information about the FRU (Field Replaceable Unit) being called out.
PEL: FRU identity SRC substructure
This substructure is part of the callout subsection in the SRC section of a PEL, and contains information about the FRU (Field Replaceable Unit) being called out.
This includes: * The specific type of FRU (see the flags field definitions) * The FRU part number * The FRU CCIN value (CCIN = a keyword in VPD). * The FRU serial number
Instead of just calling out a FRU, this structure can instead be used to call out a maintenance procedure, which is a string that is used as a key into the service documentation that maps to a procedure to fix the problem.
This commit only adds support for creating an object from a flattened PEL, such as one that comes down from the host. A future commit will handle creating it from scratch for BMC errors.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ic2b9489abea48084116bf2f450bd293c2d655979
show more ...
|