#
75a60286 |
| 15-Mar-2025 |
Ed Tanous <etanous@nvidia.com> |
Allow null in some cases
There are several section arrays in the code that might fail to parse. When that happens, we'd need to represent the failed section as "null" in the json response, to make s
Allow null in some cases
There are several section arrays in the code that might fail to parse. When that happens, we'd need to represent the failed section as "null" in the json response, to make sure that we don't reindex anything, and that the failing section is represented.
Change-Id: Ie2811b59f5110b5f4aa43918b8f6207c0f6f16ef Signed-off-by: Ed Tanous <etanous@nvidia.com>
show more ...
|
#
7a531ff4 |
| 14-Mar-2025 |
Ed Tanous <etanous@nvidia.com> |
Add additionalProperties=false
Change-Id: Iaec16b61ae8ec24c2013a310bf6a8d3a10e1f571 Signed-off-by: Ed Tanous <etanous@nvidia.com>
|
#
ae8f6d9a |
| 29-Jan-2025 |
Aushim Nagarkatti <anagarkatti@nvidia.com> |
Remove validation bits
Discard invalid properties from json decode. JSON output should only contain valid properties. This saves time in preventing post processing of output for valid fields.
Ensur
Remove validation bits
Discard invalid properties from json decode. JSON output should only contain valid properties. This saves time in preventing post processing of output for valid fields.
Ensure round trip validity with validation bits removed and required properties populated.
Fix bugs in json decode.
Overhaul unit tests to use valijson. Add tests with static examples to validate against schema. Use and nlohmann for better schema validation over intrinsic libcper validation.
Example json output before: { "ValidationBits": { "LevelValid": false, "CorrectedValid": true }, "Level": 1, "Corrected": true }
After: { "Corrected": true }
Change-Id: I188bdc2827a57d938c22a431238fadfcdc939ab8 Signed-off-by: Aushim Nagarkatti <anagarkatti@nvidia.com>
show more ...
|
#
d9835a17 |
| 05-Dec-2024 |
Andrew Adriance <aadriance@nvidia.com> |
CPER JSON Schema Descriptions
Descriptions populated based on UEFI Appendix N in JSON Schemas
Change-Id: I765ec81913567ba7f32c39fdbd901483d9d78e21 Signed-off-by: Andrew Adriance <aadriance@nvidia.c
CPER JSON Schema Descriptions
Descriptions populated based on UEFI Appendix N in JSON Schemas
Change-Id: I765ec81913567ba7f32c39fdbd901483d9d78e21 Signed-off-by: Andrew Adriance <aadriance@nvidia.com>
show more ...
|
#
17bc66a0 |
| 25-Nov-2024 |
Aushim Nagarkatti <anagarkatti@nvidia.com> |
Add affinity3 field to json output
Affinity3 in arm processor errors is used to determine the socket number generating the error. This is critical information that needs to be presented to the end-u
Add affinity3 field to json output
Affinity3 in arm processor errors is used to determine the socket number generating the error. This is critical information that needs to be presented to the end-user
Change-Id: I66c7d29407bb610625087b0f46e18ff868f7da64 Signed-off-by: Aushim Nagarkatti <anagarkatti@nvidia.com>
show more ...
|
#
382ad4c7 |
| 19-Sep-2024 |
Aushim Nagarkatti <anagarkatti@nvidia.com> |
Fix schemas and add $id properties for oneof[] fields
oneof[] properties are an array of referenced json schemas. In cases where we need to look through generated logs based on these schemas, it is
Fix schemas and add $id properties for oneof[] fields
oneof[] properties are an array of referenced json schemas. In cases where we need to look through generated logs based on these schemas, it is much easier to use a hook based on the $id property that uniquely identifies a nested child property. The $id property allows us to uniquely identify each data type based on the cper specification.
Fix schemas: Sections and ErrorInformation need a "properties" field under each oneOf[]. Also add a "type" for cacheError and tlbError to conform with json schema.
Tested with libcper json validator.
Change-Id: I2b242e93e1667a7d7b7a3a77eba1d37347920d1a Signed-off-by: Aushim Nagarkatti <anagarkatti@nvidia.com>
show more ...
|
#
5b793009 |
| 26-Sep-2024 |
Aushim Nagarkatti <anagarkatti@nvidia.com> |
Fix ArmProcessor ErrorInformation types
ErrorInformation currently has 2 supported formats according to the libcper schema, cacheError and tlbError. Remove "unknown" microarch types as we need corre
Fix ArmProcessor ErrorInformation types
ErrorInformation currently has 2 supported formats according to the libcper schema, cacheError and tlbError. Remove "unknown" microarch types as we need correctly formatted output only. Add a property name to identify which ErrorInformation type has been detected in the cper record
Tested: Used cper-convert to-json to convert a known good cper to json Used cper-convert to-cper to convert same json to cper json was generated again and validated against schema
Change-Id: I510f2ae7fef195721b618065c6ef643ab1191b76 Signed-off-by: Aushim Nagarkatti <anagarkatti@nvidia.com>
show more ...
|
#
044afd01 |
| 03-May-2024 |
John Chung <john.chung@arm.com> |
Formatting coding style
* .json files * .md files
Signed-off-by: John Chung <john.chung@arm.com> Change-Id: I5fec2bbc1e76ae68a29eb5610f567979cc794bc8
|
#
c837faca |
| 14-Jul-2022 |
Lawrence Tang <lawrence.tang@arm.com> |
Fix minor typo in JSON schema.
|
#
71570a2a |
| 14-Jul-2022 |
Lawrence Tang <lawrence.tang@arm.com> |
Add ARM CPER out, fix struct misalignment.
|
#
8f793ac3 |
| 13-Jul-2022 |
Lawrence Tang <lawrence.tang@arm.com> |
Finish JSON validator, add debug out.
|
#
8a2d737c |
| 12-Jul-2022 |
Lawrence Tang <lawrence.tang@arm.com> |
Add schema validator, make schemas root relative.
|
#
079d581e |
| 12-Jul-2022 |
Lawrence Tang <lawrence.tang@arm.com> |
Fix minor errors in spec, add JSON specification.
|