summaryrefslogtreecommitdiff
path: root/Documentation/mutex-design.txt
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2014-07-15 14:22:24 +0400
committerWill Deacon <will.deacon@arm.com>2014-09-02 13:04:33 +0400
commit43b412bedb782e27a8771b61870dd45a24975266 (patch)
treeb8abdc086bb801a3cb58b1389bff2a370a691c87 /Documentation/mutex-design.txt
parent93b14135cf24668b45eb57348312b627a8539bc4 (diff)
downloadlinux-43b412bedb782e27a8771b61870dd45a24975266.tar.xz
iommu/arm-smmu: fix s2cr and smr teardown on device detach from domain
When we attach a device to a domain, we configure the SMRs (if we have any) to match the Stream IDs for the corresponding SMMU master and program the s2crs accordingly. However, on detach we tear down the s2crs assuming stream-indexing (as opposed to stream-matching) and SMRs assuming they are present. This patch fixes the device detach code so that it operates as a converse of the attach code. Cc: <stable@vger.kernel.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'Documentation/mutex-design.txt')
0 files changed, 0 insertions, 0 deletions