Commit ec61389
committed
iommu/amd: Improve amd_iommu_release_device()
JIRA: https://issues.redhat.com/browse/RHEL-78701
Upstream Status: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
commit 18f5a6b
Author: Vasant Hegde <[email protected]>
Date: Wed Oct 30 06:35:56 2024 +0000
iommu/amd: Improve amd_iommu_release_device()
Previous patch added ops->release_domain support. Core will attach
devices to release_domain->attach_dev() before calling this function.
Devices are already detached their current domain and attached to
blocked domain.
This is mostly dummy function now. Just throw warning if device is still
attached to domain.
Suggested-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Vasant Hegde <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Signed-off-by: Eder Zulian <[email protected]>1 parent 5f0c88d commit ec61389
1 file changed
+6
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | 80 | | |
83 | 81 | | |
84 | 82 | | |
| |||
563 | 561 | | |
564 | 562 | | |
565 | 563 | | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | 564 | | |
583 | 565 | | |
584 | 566 | | |
| |||
2249 | 2231 | | |
2250 | 2232 | | |
2251 | 2233 | | |
2252 | | - | |
2253 | | - | |
2254 | | - | |
2255 | | - | |
| 2234 | + | |
2256 | 2235 | | |
2257 | | - | |
2258 | | - | |
2259 | | - | |
| 2236 | + | |
2260 | 2237 | | |
2261 | | - | |
2262 | | - | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
2263 | 2242 | | |
2264 | 2243 | | |
2265 | 2244 | | |
| |||
0 commit comments