summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMitchel Humpherys <mitchelh@codeaurora.org>2015-02-18 15:19:16 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:11:50 -0700
commit19fe116e06b146c4792c2892b818b55065bf9e47 (patch)
tree9a45d88e3b302b541c66e8d0e8308a14da6c7828 /include/linux
parent25252ab2ab8cc183a20f81c868f6355d7ade301a (diff)
iommu/arm-smmu: fix races on domain->smmu
Clients are allowed to attach/detach and map/unmap independently. I.e., they don't have to be attached at the time they map or unmap. Currently if they detach and unmap at the same time there's a race condition where the SMMU associated with the domain could go away while we try to use it. Fix this by locking the domain lock everywhere that domain->smmu is used. Change-Id: I2b74c0863c28e3bb87e8bd45dae363c8e67e008b Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions