Commit 487df68
iommu/vt-d: Remove has_iotlb_device flag
The has_iotlb_device flag was used to indicate if a domain had attached
devices with ATS enabled. Domains without this flag didn't require device
TLB invalidation during unmap operations, optimizing performance by
avoiding unnecessary device iteration.
With the introduction of cache tags, this flag is no longer needed. The
code to iterate over attached devices was removed by commit 06792d0
("iommu/vt-d: Cleanup use of iommu_flush_iotlb_psi()").
Remove has_iotlb_device to avoid unnecessary code.
Suggested-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Lu Baolu <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>1 parent 2c13012 commit 487df68
3 files changed
+1
-37
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
488 | | - | |
489 | 488 | | |
490 | 489 | | |
491 | 490 | | |
| |||
1263 | 1262 | | |
1264 | 1263 | | |
1265 | 1264 | | |
1266 | | - | |
1267 | | - | |
1268 | | - | |
1269 | | - | |
1270 | | - | |
1271 | | - | |
1272 | | - | |
1273 | | - | |
1274 | | - | |
1275 | | - | |
1276 | | - | |
1277 | | - | |
1278 | | - | |
1279 | | - | |
1280 | | - | |
1281 | | - | |
1282 | | - | |
1283 | | - | |
1284 | | - | |
1285 | | - | |
1286 | | - | |
1287 | | - | |
1288 | | - | |
1289 | | - | |
1290 | | - | |
1291 | | - | |
1292 | 1265 | | |
1293 | 1266 | | |
1294 | 1267 | | |
| |||
1325 | 1298 | | |
1326 | 1299 | | |
1327 | 1300 | | |
1328 | | - | |
| 1301 | + | |
1329 | 1302 | | |
1330 | | - | |
1331 | | - | |
1332 | 1303 | | |
1333 | 1304 | | |
1334 | 1305 | | |
| |||
1343 | 1314 | | |
1344 | 1315 | | |
1345 | 1316 | | |
1346 | | - | |
1347 | 1317 | | |
1348 | 1318 | | |
1349 | 1319 | | |
| |||
1517 | 1487 | | |
1518 | 1488 | | |
1519 | 1489 | | |
1520 | | - | |
1521 | 1490 | | |
1522 | 1491 | | |
1523 | 1492 | | |
| |||
3518 | 3487 | | |
3519 | 3488 | | |
3520 | 3489 | | |
3521 | | - | |
3522 | 3490 | | |
3523 | 3491 | | |
3524 | 3492 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
591 | | - | |
592 | 591 | | |
593 | 592 | | |
594 | 593 | | |
| |||
1104 | 1103 | | |
1105 | 1104 | | |
1106 | 1105 | | |
1107 | | - | |
1108 | 1106 | | |
1109 | 1107 | | |
1110 | 1108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | 69 | | |
72 | 70 | | |
73 | 71 | | |
| |||
0 commit comments