Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 1 | { |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | "type": "object", |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 4 | "required": [ |
| 5 | "validationBits", |
| 6 | "errorStatus", |
| 7 | "errorType", |
| 8 | "busID", |
| 9 | "busAddress", |
| 10 | "busData", |
| 11 | "busCommandType", |
| 12 | "busRequestorID", |
| 13 | "busCompleterID", |
| 14 | "targetID" |
| 15 | ], |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 16 | "additionalProperties": false, |
| 17 | "properties": { |
| 18 | "validationBits": { |
| 19 | "type": "object", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 20 | "description": "Inidicates which fields are valid in the section.", |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 21 | "required": [ |
| 22 | "errorStatusValid", |
| 23 | "errorTypeValid", |
| 24 | "busIDValid", |
| 25 | "busAddressValid", |
| 26 | "busDataValid", |
| 27 | "commandValid", |
| 28 | "requestorIDValid", |
| 29 | "completerIDValid", |
| 30 | "targetIDValid" |
| 31 | ], |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 32 | "properties": { |
| 33 | "errorStatusValid": { |
| 34 | "type": "boolean" |
| 35 | }, |
| 36 | "errorTypeValid": { |
| 37 | "type": "boolean" |
| 38 | }, |
| 39 | "busIDValid": { |
| 40 | "type": "boolean" |
| 41 | }, |
| 42 | "busAddressValid": { |
| 43 | "type": "boolean" |
| 44 | }, |
| 45 | "busDataValid": { |
| 46 | "type": "boolean" |
| 47 | }, |
| 48 | "commandValid": { |
| 49 | "type": "boolean" |
| 50 | }, |
| 51 | "requestorIDValid": { |
| 52 | "type": "boolean" |
| 53 | }, |
| 54 | "completerIDValid": { |
| 55 | "type": "boolean" |
| 56 | }, |
| 57 | "targetIDValid": { |
| 58 | "type": "boolean" |
| 59 | } |
| 60 | } |
| 61 | }, |
| 62 | "errorStatus": { |
| 63 | "type": "object", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 64 | "description": "PCI Bus Error Status.", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 65 | "$ref": "./common/cper-json-error-status.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 66 | }, |
| 67 | "errorType": { |
| 68 | "type": "object", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 69 | "description": "PCI Bus error Type", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 70 | "$ref": "./common/cper-json-nvp.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 71 | }, |
| 72 | "busID": { |
| 73 | "type": "object", |
| 74 | "required": ["busNumber", "segmentNumber"], |
| 75 | "properties": { |
| 76 | "busNumber": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 77 | "type": "integer", |
| 78 | "description": "Bus Number" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 79 | }, |
| 80 | "segmentNumber": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 81 | "type": "integer", |
| 82 | "description": "Segment Number" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 83 | } |
| 84 | } |
| 85 | }, |
| 86 | "busAddress": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 87 | "type": "integer", |
| 88 | "description": "Memory or I/O address on the bus at the time of the error." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 89 | }, |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 90 | "busData": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 91 | "type": "integer", |
| 92 | "description": "Data on the PCI bus at the time of the error." |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 93 | }, |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 94 | "busCommandType": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 95 | "type": "string", |
| 96 | "description": "Bus command or operation at the time of the error." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 97 | }, |
| 98 | "busRequestorID": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 99 | "type": "integer", |
| 100 | "description": "PCI Bus Requestor Id." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 101 | }, |
| 102 | "busCompleterID": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 103 | "type": "integer", |
| 104 | "description": "PCI Bus Responder Id." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 105 | }, |
| 106 | "targetID": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 107 | "type": "integer", |
| 108 | "description": "PCI Bus intended target identifier." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 109 | } |
| 110 | } |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 111 | } |