Commit 1fbf734
iommu: Consolidate the ops->remove_dev_pasid usage into a helper
Add a wrapper for the ops->remove_dev_pasid, this consolidates the iommu_ops
fetching and callback invoking. It is also a preparation for starting the
transition from using remove_dev_pasid op to detach pasid to the way using
blocked_domain to detach pasid.
Reviewed-by: Vasant Hegde <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Lu Baolu <[email protected]>
Signed-off-by: Yi Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>1 parent fb3de9f commit 1fbf734
1 file changed
+11
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3312 | 3312 | | |
3313 | 3313 | | |
3314 | 3314 | | |
| 3315 | + | |
| 3316 | + | |
| 3317 | + | |
| 3318 | + | |
| 3319 | + | |
| 3320 | + | |
| 3321 | + | |
| 3322 | + | |
3315 | 3323 | | |
3316 | 3324 | | |
3317 | 3325 | | |
| |||
3330 | 3338 | | |
3331 | 3339 | | |
3332 | 3340 | | |
3333 | | - | |
3334 | | - | |
3335 | 3341 | | |
3336 | 3342 | | |
3337 | | - | |
| 3343 | + | |
3338 | 3344 | | |
3339 | 3345 | | |
3340 | 3346 | | |
| |||
3344 | 3350 | | |
3345 | 3351 | | |
3346 | 3352 | | |
3347 | | - | |
3348 | 3353 | | |
3349 | | - | |
3350 | | - | |
3351 | | - | |
3352 | | - | |
| 3354 | + | |
| 3355 | + | |
3353 | 3356 | | |
3354 | 3357 | | |
3355 | 3358 | | |
| |||
0 commit comments