diff options
author | 2016-02-29 23:49:47 +0100 | |
---|---|---|
committer | 2016-02-29 23:55:16 +0100 | |
commit | e6a8c9b337eed56eb481e1b4dd2180c25a1e5310 (patch) | |
tree | 8877331f815a1e08dde63e6f91b19ca3cfc29381 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | iommu/amd: Detach device from domain before removal (diff) | |
download | wireguard-linux-e6a8c9b337eed56eb481e1b4dd2180c25a1e5310.tar.xz wireguard-linux-e6a8c9b337eed56eb481e1b4dd2180c25a1e5310.zip |
iommu/vt-d: Use BUS_NOTIFY_REMOVED_DEVICE in hotplug path
In the PCI hotplug path of the Intel IOMMU driver, replace
the usage of the BUS_NOTIFY_DEL_DEVICE notifier, which is
executed before the driver is unbound from the device, with
BUS_NOTIFY_REMOVED_DEVICE, which runs after that.
This fixes a kernel BUG being triggered in the VT-d code
when the device driver tries to unmap DMA buffers and the
VT-d driver already destroyed all mappings.
Reported-by: Stefani Seibold <stefani@seibold.net>
Cc: stable@vger.kernel.org # v4.3+
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions