iommu/vt-d: Only remove domain when device is removed
authorJoerg Roedel <jroedel@suse.de>
Tue, 30 Sep 2014 11:02:03 +0000 (13:02 +0200)
committerJoerg Roedel <jroedel@suse.de>
Thu, 2 Oct 2014 09:18:58 +0000 (11:18 +0200)
commit1196c2fb0407683c2df92d3d09f9144d42830894
tree71b7a7eb4fa1e714f39d8a6ebb03cc5404242d51
parent599bad38cf7163123af7c9efea0fcf228bc74fe1
iommu/vt-d: Only remove domain when device is removed

This makes sure any RMRR mappings stay in place when the
driver is unbound from the device.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Tested-by: Jerry Hoemann <jerry.hoemann@hp.com>
drivers/iommu/intel-iommu.c