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", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 4 | "description": "DMAr Generic Error Section", |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 5 | "required": [ |
| 6 | "requesterID", |
| 7 | "segmentNumber", |
| 8 | "faultReason", |
| 9 | "accessType", |
| 10 | "addressType", |
| 11 | "architectureType", |
| 12 | "deviceAddress" |
| 13 | ], |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 14 | "additionalProperties": false, |
| 15 | "properties": { |
| 16 | "requesterID": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 17 | "type": "integer", |
| 18 | "description": "Device ID associated with a fault condition" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 19 | }, |
| 20 | "segmentNumber": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 21 | "type": "integer", |
| 22 | "description": "PCI segment associated with a device" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 23 | }, |
| 24 | "faultReason": { |
| 25 | "type": "object", |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 26 | "required": ["value", "name"], |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 27 | "properties": { |
| 28 | "value": { |
| 29 | "type": "integer" |
| 30 | }, |
| 31 | "name": { |
| 32 | "type": "string" |
| 33 | }, |
| 34 | "description": { |
| 35 | "type": "string" |
| 36 | } |
| 37 | } |
| 38 | }, |
| 39 | "accessType": { |
| 40 | "type": "object", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 41 | "description": "Either read or write.", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 42 | "$ref": "./common/cper-json-nvp.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 43 | }, |
| 44 | "addressType": { |
| 45 | "type": "object", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 46 | "description": "Either Translated or untranslated address", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 47 | "$ref": "./common/cper-json-nvp.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 48 | }, |
| 49 | "architectureType": { |
| 50 | "type": "object", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 51 | "description": "Either VT-d or IOMMU", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 52 | "$ref": "./common/cper-json-nvp.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 53 | }, |
| 54 | "deviceAddress": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 55 | "type": "integer", |
| 56 | "description": "The 64-bit device virtual address in the faulted DMA request" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 57 | } |
| 58 | } |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 59 | } |