summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMukesh Ojha <quic_mojha@quicinc.com>2024-03-21 18:24:02 +0300
committerBjorn Andersson <andersson@kernel.org>2024-04-21 20:08:06 +0300
commit2e4955167ec5c04534cebea9e8273a907e7a75e1 (patch)
tree6cfef42d27b7b60ac8a2ffba781aedd28ee2b0a3 /tools/perf/scripts/python/stackcollapse.py
parent398a4c58f3f29ac3ff4d777dc91fe40a07bbca8c (diff)
downloadlinux-2e4955167ec5c04534cebea9e8273a907e7a75e1.tar.xz
firmware: qcom: scm: Fix __scm and waitq completion variable initialization
It is possible qcom_scm_is_available() gives wrong indication that if __scm is initialized while __scm->dev is not and similar issue is also possible with __scm->waitq_comp. Fix this appropriately by the use of release barrier and read barrier that will make sure if __scm is initialized so, is all of its field variable. Fixes: d0f6fa7ba2d6 ("firmware: qcom: scm: Convert SCM to platform driver") Fixes: 6bf325992236 ("firmware: qcom: scm: Add wait-queue handling logic") Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com> Link: https://lore.kernel.org/r/1711034642-22860-4-git-send-email-quic_mojha@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions