summaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2011-03-04 14:52:16 -0700
committerDavid Woodhouse <David.Woodhouse@intel.com>2011-03-12 14:37:26 +0000
commita97590e56d0d58e1dd262353f7cbd84e81d8e600 (patch)
tree8e85cd61adfb8b40f0fb4af0d46e652c665da099 /arch/um
parent7a6610139a1e1d9297dd1c5d178022eac36839cb (diff)
downloadop-kernel-dev-a97590e56d0d58e1dd262353f7cbd84e81d8e600.zip
op-kernel-dev-a97590e56d0d58e1dd262353f7cbd84e81d8e600.tar.gz
intel-iommu: Unlink domain from iommu
When we remove a device, we unlink the iommu from the domain, but we never do the reverse unlinking of the domain from the iommu. This means that we never clear iommu->domain_ids, eventually leading to resource exhaustion if we repeatedly bind and unbind a device to a driver. Also free empty domains to avoid a resource leak. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Acked-by: Donald Dutile <ddutile@redhat.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Cc: stable@kernel.org
Diffstat (limited to 'arch/um')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud