Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 75f1e034 authored by Laura Abbott's avatar Laura Abbott Committed by Stephen Boyd
Browse files

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: default avatarLaura Abbott <lauraa@codeaurora.org>
parent 1d860f1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment