[PATCH 1/2] driver core: Add BUS_NOTIFY_REMOVED_DEVICE event

2014-09-30 Thread Joerg Roedel
From: Joerg Roedel This event closes an important gap in the bus notifiers. There is already the BUS_NOTIFY_DEL_DEVICE event, but that is sent when the device is still bound to its device driver. This is too early for the IOMMU code to destroy any mappings for the device, as they might still be

[PATCH 1/2] driver core: Add BUS_NOTIFY_REMOVED_DEVICE event

2014-09-30 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de This event closes an important gap in the bus notifiers. There is already the BUS_NOTIFY_DEL_DEVICE event, but that is sent when the device is still bound to its device driver. This is too early for the IOMMU code to destroy any mappings for the device, as they