commit | 594e9cd10ee7a3739e9d1a7b477582ca43fb830f | [log] [tgz] |
---|---|---|
author | Laura Abbott <lauraa@codeaurora.org> | Sat Apr 27 18:27:38 2013 -0700 |
committer | Laura Abbott <lauraa@codeaurora.org> | Mon Apr 29 10:40:14 2013 -0700 |
tree | da4258b7e7fa41cd5f642d14037cca9460a48696 | |
parent | 9d82ef7e5c34ed84d4fd9e977bc8f2b8f94572a7 [diff] |
msm: iommu: Lock the genpool allocation Previously, IOMMU allocation and mapping was handled through Ion. Ion provided very coarse locking that essentially serialized access to iova allocation. Now that IOMMU allocation is out of Ion, the genpool allocation for IOVAs needs to be serialized again. Take the pool lock for each IOVA pool to prevent against races. Change-Id: I6d38995549cabd3d082697e440e3aafc1bdcfaa5 CRs-Fixed: 481328 Signed-off-by: Laura Abbott <lauraa@codeaurora.org>