diff options
author | Fenghua Yu <fenghua.yu@intel.com> | 2009-11-11 07:23:06 -0800 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-11-12 02:28:45 +0000 |
commit | 99dcadede42f8898d4c963ef69192ef4b9b76ba8 (patch) | |
tree | 36db26e700bfa17f56a30ef05b4092372149e147 /kernel/stop_machine.c | |
parent | e8bb910d1bbc65e7081e73aab4b3a3dd8630332c (diff) |
intel-iommu: Support PCIe hot-plug
To support PCIe hot plug in IOMMU, we register a notifier to respond to device
change action.
When the notifier gets BUS_NOTIFY_UNBOUND_DRIVER, it removes the device
from its DMAR domain.
A hot added device will be added into an IOMMU domain when it first does IOMMU
op. So there is no need to add more code for hot add.
Without the patch, after a hot-remove, a hot-added device on the same
slot will not work.
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Tested-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'kernel/stop_machine.c')
0 files changed, 0 insertions, 0 deletions