Commit 3753311
iommu/vt-d: Refactor PCI PRI enabling/disabling callbacks
Commit 0095bf8 ("iommu: Improve iopf_queue_remove_device()")
specified the flow for disabling the PRI on a device. Refactor the
PRI callbacks in the intel iommu driver to better manage PRI
enabling and disabling and align it with the device queue interfaces
in the iommu core.
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20240701112317.94022-3-baolu.lu@linux.intel.com
Link: https://lore.kernel.org/r/20240702130839.108139-8-baolu.lu@linux.intel.com
Signed-off-by: Will Deacon <will@kernel.org>1 parent f90584f commit 3753311
3 files changed
Lines changed: 61 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4244 | 4244 | | |
4245 | 4245 | | |
4246 | 4246 | | |
| 4247 | + | |
| 4248 | + | |
| 4249 | + | |
| 4250 | + | |
| 4251 | + | |
| 4252 | + | |
| 4253 | + | |
| 4254 | + | |
| 4255 | + | |
| 4256 | + | |
| 4257 | + | |
| 4258 | + | |
| 4259 | + | |
| 4260 | + | |
| 4261 | + | |
| 4262 | + | |
| 4263 | + | |
| 4264 | + | |
| 4265 | + | |
| 4266 | + | |
| 4267 | + | |
| 4268 | + | |
| 4269 | + | |
| 4270 | + | |
| 4271 | + | |
| 4272 | + | |
| 4273 | + | |
| 4274 | + | |
| 4275 | + | |
| 4276 | + | |
| 4277 | + | |
4247 | 4278 | | |
4248 | 4279 | | |
4249 | 4280 | | |
| |||
4273 | 4304 | | |
4274 | 4305 | | |
4275 | 4306 | | |
| 4307 | + | |
| 4308 | + | |
| 4309 | + | |
| 4310 | + | |
4276 | 4311 | | |
4277 | | - | |
4278 | | - | |
4279 | | - | |
4280 | | - | |
| 4312 | + | |
| 4313 | + | |
4281 | 4314 | | |
4282 | 4315 | | |
4283 | 4316 | | |
4284 | 4317 | | |
| 4318 | + | |
| 4319 | + | |
| 4320 | + | |
| 4321 | + | |
| 4322 | + | |
| 4323 | + | |
4285 | 4324 | | |
4286 | 4325 | | |
4287 | 4326 | | |
| |||
4292 | 4331 | | |
4293 | 4332 | | |
4294 | 4333 | | |
| 4334 | + | |
| 4335 | + | |
| 4336 | + | |
| 4337 | + | |
| 4338 | + | |
| 4339 | + | |
| 4340 | + | |
| 4341 | + | |
| 4342 | + | |
4295 | 4343 | | |
4296 | 4344 | | |
4297 | 4345 | | |
| |||
4302 | 4350 | | |
4303 | 4351 | | |
4304 | 4352 | | |
4305 | | - | |
4306 | 4353 | | |
4307 | 4354 | | |
4308 | 4355 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1045 | 1045 | | |
1046 | 1046 | | |
1047 | 1047 | | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
1048 | 1057 | | |
1049 | 1058 | | |
1050 | 1059 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
752 | 752 | | |
753 | 753 | | |
754 | 754 | | |
755 | | - | |
756 | | - | |
757 | 755 | | |
758 | 756 | | |
759 | 757 | | |
| |||
0 commit comments