Include hex decode for human readable fields
Hexadecimal decode for some fields like deviceAddress
make sense to be represented in hex over decimal to make
scripting and human-usability easier.
Change-Id: I7d0d100162bc681c3c6885ca01ed23020c3b5063
Signed-off-by: Aushim Nagarkatti <anagarkatti@nvidia.com>
diff --git a/specification/json/sections/cper-pcie.json b/specification/json/sections/cper-pcie.json
index 79bd600..c9970ef 100644
--- a/specification/json/sections/cper-pcie.json
+++ b/specification/json/sections/cper-pcie.json
@@ -93,6 +93,7 @@
"required": [
"vendorID",
"deviceID",
+ "deviceIDHex",
"classCode",
"functionNumber",
"deviceNumber",
@@ -108,6 +109,9 @@
"deviceID": {
"type": "integer"
},
+ "deviceIDHex": {
+ "type": "string"
+ },
"classCode": {
"type": "integer"
},
@@ -173,6 +177,9 @@
"uncorrectable_error_status": {
"type": "integer"
},
+ "uncorrectable_error_status_hex": {
+ "type": "string"
+ },
"uncorrectable_error_mask": {
"type": "integer"
},
@@ -182,6 +189,9 @@
"correctable_error_status": {
"type": "integer"
},
+ "correctable_error_status_hex": {
+ "type": "string"
+ },
"correctable_error_mask": {
"type": "integer"
},