aboutsummaryrefslogtreecommitdiff
path: root/drivers/iommu/iova.c
diff options
context:
space:
mode:
authorNicolin Chen2020-11-25 02:10:10 -0800
committerWill Deacon2020-11-25 11:04:41 +0000
commitd5f583bf8654c231b781096bc1a186065cda72b3 (patch)
tree385127dad29fbae9c10111164f6ae043f69aaa1c /drivers/iommu/iova.c
parentcf910f61aff3c1c7cac4dc0706811389051c0f98 (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