blob: a987ad9fa01f23dff957066f6d2c55d362d5cb9c [file] [log] [blame] [edit]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "CPU-specific event information for NVIDIA events",
"required": [
"SocketNum",
"Architecture",
"Ecid1",
"Ecid2",
"Ecid3",
"Ecid4",
"InstanceBase"
],
"additionalProperties": false,
"properties": {
"SocketNum": {
"type": "integer",
"minimum": 0
},
"Architecture": {
"type": "object",
"required": [
"hidFam",
"revision",
"chipId",
"preSiPlatform",
"errorInjection"
],
"properties": {
"hidFam": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{2}$"
},
"revision": {
"type": "string",
"pattern": "^[0-9]{1,2}\\.[0-9]{1,2}$",
"description": "majorRev.minorRev"
},
"chipId": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{2}$"
},
"preSiPlatform": {
"type": "string",
"enum": ["Silicon", "PreSilicon"]
},
"errorInjection": {
"type": "boolean",
"description": "Set by RAS FW if error was injected"
}
}
},
"Ecid1": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{8}$"
},
"Ecid2": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{8}$"
},
"Ecid3": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{8}$"
},
"Ecid4": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{8}$"
},
"InstanceBase": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{16}$"
}
}
}