Add support for NVIDIA CPERs
Support Nvidia CPER entries.
Change-Id: Iea9bde181ead55ad99cdb2a341501bf48e1d82a8
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/specification/json/cper-json-full-log.json b/specification/json/cper-json-full-log.json
index bb7b83e..029ce2f 100644
--- a/specification/json/cper-json-full-log.json
+++ b/specification/json/cper-json-full-log.json
@@ -33,6 +33,7 @@
{ "$ref": "./sections/cper-ccix-per.json" },
{ "$ref": "./sections/cper-cxl-protocol.json" },
{ "$ref": "./sections/cper-cxl-component.json" },
+ { "$ref": "./sections/cper-nvidia.json" },
{ "$ref": "./sections/cper-unknown.json" }
]
}
diff --git a/specification/json/cper-json-section-log.json b/specification/json/cper-json-section-log.json
index 6d41cd0..4287316 100644
--- a/specification/json/cper-json-section-log.json
+++ b/specification/json/cper-json-section-log.json
@@ -27,6 +27,7 @@
{ "$ref": "./sections/cper-ccix-per.json" },
{ "$ref": "./sections/cper-cxl-protocol.json" },
{ "$ref": "./sections/cper-cxl-component.json" },
+ { "$ref": "./sections/cper-nvidia.json" },
{ "$ref": "./sections/cper-unknown.json" }
]
}
diff --git a/specification/json/sections/cper-nvidia.json b/specification/json/sections/cper-nvidia.json
new file mode 100644
index 0000000..fb6dac5
--- /dev/null
+++ b/specification/json/sections/cper-nvidia.json
@@ -0,0 +1,38 @@
+{
+ "$id": "cper-json-nvidia-section",
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "required": [
+ "signature",
+ "errorType",
+ "errorInstance",
+ "severity",
+ "socket",
+ "numRegs",
+ "instanceBase"
+ ],
+ "additionalProperties": false,
+ "properties": {
+ "signature": {
+ "type": "string"
+ },
+ "errorType": {
+ "type": "integer"
+ },
+ "errorInstance": {
+ "type": "integer"
+ },
+ "severity": {
+ "type": "integer"
+ },
+ "socket": {
+ "type": "integer"
+ },
+ "numberRegs": {
+ "type": "integer"
+ },
+ "instanceBase": {
+ "type": "uint64"
+ }
+ }
+}