diff options
| author | Vasant Hegde <[email protected]> | 2024-10-30 06:35:50 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2024-10-30 10:06:43 +0000 |
| commit | 07bbd660dbd6ff03907d9ddbdfe9deabbd18ac4d (patch) | |
| tree | ac736de2b1a093778f6a541c5cedbc0fee36a1bb /drivers/iommu/intel/nested.c | |
| parent | iommu/amd: Remove unused amd_iommus variable (diff) | |
| download | kernel-07bbd660dbd6ff03907d9ddbdfe9deabbd18ac4d.tar.gz kernel-07bbd660dbd6ff03907d9ddbdfe9deabbd18ac4d.zip | |
iommu/amd: Do not detach devices in domain free path
All devices attached to a protection domain must be freed before
calling domain free. Hence do not try to free devices in domain
free path. Continue to throw warning if pdom->dev_list is not empty
so that any potential issues can be fixed.
Signed-off-by: Vasant Hegde <[email protected]>
Reviewed-by: Joerg Roedel <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/iommu/intel/nested.c')
0 files changed, 0 insertions, 0 deletions
