commit | 5c755fc21c8e84aff1230e27646fe4277a19451d | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Fri Sep 02 14:19:50 2011 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Oct 03 11:40:20 2011 -0700 |
tree | 1e2961b51886bb7d58a4533eb4d5bbfa28e8d84d | |
parent | bfa826f82f1383593e18ad180eb816221627a917 [diff] |
iommu/amd: Don't take domain->lock recursivly commit e33acde91140f1809952d1c135c36feb66a51887 upstream. The domain_flush_devices() function takes the domain->lock. But this function is only called from update_domain() which itself is already called unter the domain->lock. This causes a deadlock situation when the dma-address-space of a domain grows larger than 1GB. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>