Skip to content
Commit c1eee67b authored by Chris Wright's avatar Chris Wright Committed by Joerg Roedel
Browse files

amd iommu: properly detach from protection domain on ->remove



Some drivers may use the dma api during ->remove which will
cause a protection domain to get reattached to a device.  Delay the
detach until after the driver is completely unbound.

[ joro: added a little merge helper ]

[ Impact: fix too early device<->domain removal ]

Signed-off-by: default avatarChris Wright <chrisw@redhat.com>
Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent 0bc252f4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment