Commit 7b8aa99
iommu/vt-d: Remove unnecessary checks in iopf disabling path
iommu_unregister_device_fault_handler() and iopf_queue_remove_device()
are called after device has stopped issuing new page falut requests and
all outstanding page requests have been drained. They should never fail.
Trigger a warning if it happens unfortunately.
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20230324120234.313643-7-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>1 parent fbcde5b commit 7b8aa99
1 file changed
Lines changed: 8 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4707 | 4707 | | |
4708 | 4708 | | |
4709 | 4709 | | |
4710 | | - | |
4711 | 4710 | | |
4712 | 4711 | | |
4713 | 4712 | | |
| |||
4723 | 4722 | | |
4724 | 4723 | | |
4725 | 4724 | | |
4726 | | - | |
4727 | | - | |
4728 | | - | |
4729 | | - | |
4730 | | - | |
4731 | | - | |
4732 | | - | |
| 4725 | + | |
| 4726 | + | |
| 4727 | + | |
| 4728 | + | |
| 4729 | + | |
| 4730 | + | |
| 4731 | + | |
4733 | 4732 | | |
4734 | | - | |
| 4733 | + | |
4735 | 4734 | | |
4736 | 4735 | | |
4737 | 4736 | | |
| |||
0 commit comments