#
be952d2e |
| 01-Jul-2022 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Fix more cppcheck warnings
This is the second 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 more cppcheck warnings
This is the second 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: Id9f462386df85fd25d09529d6b410115ff4ccba8
show more ...
|
#
ea2873dd |
| 18-Aug-2021 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Change BMCSP01 maint procedure to BMC0001 This name change allows 4 characters of uniqueness instead of just 2. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id:
PEL: Change BMCSP01 maint procedure to BMC0001 This name change allows 4 characters of uniqueness instead of just 2. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I12cb883619a3a3c2f843dd7ccc3db6524dea3459
show more ...
|
#
479b6927 |
| 17-Aug-2021 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Remove 'no_vpd_for_fru' maintenance procedure This procedure was being used in a callout when the location code could not be found on an inventory item. The code was changed to jus
PEL: Remove 'no_vpd_for_fru' maintenance procedure This procedure was being used in a callout when the location code could not be found on an inventory item. The code was changed to just not add a callout in this case. This was done for the following reasons: 1) There's no expected reason that the inventory would be missing a location code for a valid inventory path. 2) There wasn't a way to give a hint to the end user about what the callout should be in that case. Usually maintenance procedures should have steps one can take to still do the appropriate replacement. 3) Because of 1), this case indicates a bad inventory path passed in by the caller. Theoretically there is a way to have a 'bmc_code' callout, but that wouldn't be appropriate to add in this log since the intent of this one is for another problem. 3a) There is no way to create a new error log from inside a PEL section, and I don't think this one case warrants coming up with a way to do so. 4) The inventory path in question is still being added into a UserData section so that development can debug it. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I0757080f04942807cc34029d8667387db6b959fe
show more ...
|
#
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
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 th
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 maintena
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 procedur
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 ...
|
#
97f7abcf |
| 06-Nov-2019 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Add license prologue to test source files Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I67c62ab5ac6e69ad0a84937834581f9a280a9167
|
#
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) be
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 ...
|