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": "VT for Directed I/O specific DMAr Error Section", |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 5 | "required": [ |
| 6 | "version", |
| 7 | "revision", |
| 8 | "oemID", |
| 9 | "capabilityRegister", |
| 10 | "extendedCapabilityRegister", |
| 11 | "globalCommandRegister", |
| 12 | "globalStatusRegister", |
| 13 | "faultStatusRegister", |
| 14 | "faultRecord", |
| 15 | "rootEntry", |
| 16 | "contextEntry", |
| 17 | "pageTableEntry_Level6", |
| 18 | "pageTableEntry_Level5", |
| 19 | "pageTableEntry_Level4", |
| 20 | "pageTableEntry_Level3", |
| 21 | "pageTableEntry_Level2", |
| 22 | "pageTableEntry_Level1" |
| 23 | ], |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 24 | "additionalProperties": false, |
| 25 | "properties": { |
| 26 | "version": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 27 | "type": "integer", |
| 28 | "description": "Value of version register as defined in VT-d architecture" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 29 | }, |
| 30 | "revision": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 31 | "type": "integer", |
| 32 | "description": "Value of revision field in VT-d specific DMA remapping reporting structure" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 33 | }, |
| 34 | "oemID": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 35 | "type": "integer", |
| 36 | "description": "Value of OEM ID field in VT-d specific DMA remapping reporting structure" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 37 | }, |
| 38 | "capabilityRegister": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 39 | "type": "integer", |
| 40 | "description": "Value of capability register in VT-d architecture" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 41 | }, |
| 42 | "extendedCapabilityRegister": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 43 | "type": "integer", |
| 44 | "description": "Value of extended capability register in VT-d architecture" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 45 | }, |
| 46 | "globalCommandRegister": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 47 | "type": "integer", |
| 48 | "description": "Value of Global Command register in VT-d architecture programmed by the operating system" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 49 | }, |
| 50 | "globalStatusRegister": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 51 | "type": "integer", |
| 52 | "description": "Value of Global Status register in VT-d architecture" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 53 | }, |
| 54 | "faultStatusRegister": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 55 | "type": "integer", |
| 56 | "description": "Value of Fault Status register in VT-d architecture" |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 57 | }, |
| 58 | "faultRecord": { |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 59 | "type": "object", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 60 | "description": "Fault record as defined in the VT-d specification", |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 61 | "required": [ |
| 62 | "faultInformation", |
| 63 | "sourceIdentifier", |
| 64 | "privelegeModeRequested", |
| 65 | "executePermissionRequested", |
| 66 | "pasidPresent", |
| 67 | "faultReason", |
| 68 | "pasidValue", |
| 69 | "addressType", |
| 70 | "type" |
| 71 | ], |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 72 | "properties": { |
| 73 | "faultInformation": { |
| 74 | "type": "integer" |
| 75 | }, |
| 76 | "sourceIdentifier": { |
| 77 | "type": "integer" |
| 78 | }, |
| 79 | "privelegeModeRequested": { |
| 80 | "type": "boolean" |
| 81 | }, |
| 82 | "executePermissionRequested": { |
| 83 | "type": "boolean" |
| 84 | }, |
| 85 | "pasidPresent": { |
| 86 | "type": "boolean" |
| 87 | }, |
| 88 | "faultReason": { |
| 89 | "type": "integer" |
| 90 | }, |
| 91 | "pasidValue": { |
| 92 | "type": "integer" |
| 93 | }, |
| 94 | "addressType": { |
| 95 | "type": "integer" |
| 96 | }, |
| 97 | "type": { |
| 98 | "type": "object", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 99 | "$ref": "./common/cper-json-nvp.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 100 | } |
| 101 | } |
| 102 | }, |
| 103 | "rootEntry": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 104 | "type": "string", |
| 105 | "description": "Value from the root entry table for the given requester-ID." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 106 | }, |
| 107 | "contextEntry": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 108 | "type": "string", |
| 109 | "description": "Value from the context entry table for the given requester-ID." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 110 | }, |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 111 | "pageTableEntry_Level6": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 112 | "type": "integer", |
| 113 | "description": "PTE entry for device virtual address in page level 6." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 114 | }, |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 115 | "pageTableEntry_Level5": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 116 | "type": "integer", |
| 117 | "description": "PTE entry for device virtual address in page level 5." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 118 | }, |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 119 | "pageTableEntry_Level4": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 120 | "type": "integer", |
| 121 | "description": "PTE entry for device virtual address in page level 4." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 122 | }, |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 123 | "pageTableEntry_Level3": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 124 | "type": "integer", |
| 125 | "description": "PTE entry for device virtual address in page level 3." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 126 | }, |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 127 | "pageTableEntry_Level2": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 128 | "type": "integer", |
| 129 | "description": "PTE entry for device virtual address in page level 2." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 130 | }, |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 131 | "pageTableEntry_Level1": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 132 | "type": "integer", |
| 133 | "description": "PTE entry for device virtual address in page level 1." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 134 | } |
| 135 | } |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 136 | } |