Commit e57db50
iommu/dart: Track if the DART is locked
Some DARTs are locked at boot-time. That means they are already
configured and we cannot change their configuration, which requires
special handling. Locked DARTs are identified in the configuration
register. Check this bit when probing and save the result so we can
handle accordingly.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Signed-off-by: Janne Grunau <j@jannau.net>1 parent a373a2c commit e57db50
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
| |||
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
| 221 | + | |
220 | 222 | | |
221 | 223 | | |
222 | 224 | | |
| |||
809 | 811 | | |
810 | 812 | | |
811 | 813 | | |
| 814 | + | |
| 815 | + | |
812 | 816 | | |
813 | 817 | | |
814 | 818 | | |
| |||
1097 | 1101 | | |
1098 | 1102 | | |
1099 | 1103 | | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
1100 | 1109 | | |
1101 | 1110 | | |
1102 | 1111 | | |
| |||
1164 | 1173 | | |
1165 | 1174 | | |
1166 | 1175 | | |
| 1176 | + | |
1167 | 1177 | | |
1168 | 1178 | | |
1169 | 1179 | | |
| |||
1189 | 1199 | | |
1190 | 1200 | | |
1191 | 1201 | | |
1192 | | - | |
| 1202 | + | |
1193 | 1203 | | |
1194 | | - | |
| 1204 | + | |
1195 | 1205 | | |
1196 | 1206 | | |
1197 | 1207 | | |
| |||
0 commit comments