Commit e8e4398
iommu/arm-smmu-v3: Add a type for the CD entry
Instead of passing a naked __le16 * around to represent a CD table entry
wrap it in a "struct arm_smmu_cd" with an array of the correct size. This
makes it much clearer which functions will comprise the "CD API".
Tested-by: Nicolin Chen <[email protected]>
Tested-by: Shameer Kolothum <[email protected]>
Reviewed-by: Michael Shavit <[email protected]>
Reviewed-by: Moritz Fischer <[email protected]>
Reviewed-by: Nicolin Chen <[email protected]>
Reviewed-by: Mostafa Saleh <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>1 parent 86e5ca0 commit e8e4398
2 files changed
+17
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1209 | 1209 | | |
1210 | 1210 | | |
1211 | 1211 | | |
1212 | | - | |
| 1212 | + | |
| 1213 | + | |
1213 | 1214 | | |
1214 | 1215 | | |
1215 | 1216 | | |
| |||
1218 | 1219 | | |
1219 | 1220 | | |
1220 | 1221 | | |
1221 | | - | |
| 1222 | + | |
| 1223 | + | |
1222 | 1224 | | |
1223 | 1225 | | |
1224 | 1226 | | |
| |||
1232 | 1234 | | |
1233 | 1235 | | |
1234 | 1236 | | |
1235 | | - | |
| 1237 | + | |
1236 | 1238 | | |
1237 | 1239 | | |
1238 | 1240 | | |
| |||
1251 | 1253 | | |
1252 | 1254 | | |
1253 | 1255 | | |
1254 | | - | |
| 1256 | + | |
1255 | 1257 | | |
1256 | 1258 | | |
1257 | 1259 | | |
| |||
1262 | 1264 | | |
1263 | 1265 | | |
1264 | 1266 | | |
1265 | | - | |
| 1267 | + | |
1266 | 1268 | | |
1267 | 1269 | | |
1268 | 1270 | | |
| |||
1279 | 1281 | | |
1280 | 1282 | | |
1281 | 1283 | | |
1282 | | - | |
1283 | | - | |
1284 | | - | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
1285 | 1287 | | |
1286 | 1288 | | |
1287 | 1289 | | |
| |||
1313 | 1315 | | |
1314 | 1316 | | |
1315 | 1317 | | |
1316 | | - | |
| 1318 | + | |
1317 | 1319 | | |
1318 | 1320 | | |
1319 | 1321 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
286 | 291 | | |
287 | 292 | | |
288 | 293 | | |
| |||
592 | 597 | | |
593 | 598 | | |
594 | 599 | | |
595 | | - | |
| 600 | + | |
596 | 601 | | |
597 | 602 | | |
598 | 603 | | |
| |||
0 commit comments