diff options
author | Nicolin Chen | 2020-11-25 02:10:10 -0800 |
---|---|---|
committer | Will Deacon | 2020-11-25 11:04:41 +0000 |
commit | d5f583bf8654c231b781096bc1a186065cda72b3 (patch) | |
tree | 385127dad29fbae9c10111164f6ae043f69aaa1c /drivers/iommu/iova.c | |
parent | cf910f61aff3c1c7cac4dc0706811389051c0f98 (diff) |
iommu/tegra-smmu: Expand mutex protection range
This is used to protect potential race condition at use_count.
since probes of client drivers, calling attach_dev(), may run
concurrently.
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20201125101013.14953-3-nicoleotsuka@gmail.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/iommu/iova.c')
0 files changed, 0 insertions, 0 deletions