mirror of
https://github.com/torvalds/linux.git
synced 2026-11-23 23:11:40 +00:00
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 <[email protected]> Cc: [email protected] # v4.3+ Signed-off-by: Joerg Roedel <[email protected]>