commit | 6c5cc8015793cdfd56d9997bcfddf2740ff716c5 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <jroedel@suse.de> | Wed Apr 01 14:58:44 2015 +0200 |
committer | Joerg Roedel <jroedel@suse.de> | Thu Apr 02 13:31:07 2015 +0200 |
tree | be7cf43bb83895b4ea47bd4db4e23db129798649 | |
parent | 940f700dfbe91d37a56ebd26e0a7a681d387326a [diff] |
iommu/amd: Use BUS_NOTIFY_REMOVED_DEVICE Use the new device-notifier event instead of the old BUS_NOTIFY_DEL_DEVICE to make sure the device driver had a chance to uninit the device before all its mappings are teared down. Tested-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>