firmware: qcom_scm-64: Add atomic version of qcom_scm_call
authorVivek Gautam <vivek.gautam@codeaurora.org>
Fri, 20 Sep 2019 08:04:27 +0000 (13:34 +0530)
committerWill Deacon <will@kernel.org>
Mon, 4 Nov 2019 17:48:37 +0000 (17:48 +0000)
commit1a5ea3b7a6ac6c133660b9aeda95b2087c8eec47
tree89ea565a6aa0466f6201187df27402301d1b4531
parentff34f3cce278a0982a7b66b1afaed6295141b1fc
firmware: qcom_scm-64: Add atomic version of qcom_scm_call

There are scnenarios where drivers are required to make a
scm call in atomic context, such as in one of the qcom's
arm-smmu-500 errata [1].

[1] ("https://source.codeaurora.org/quic/la/kernel/msm-4.9/
      tree/drivers/iommu/arm-smmu.c?h=msm-4.9#n4842")

Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Acked-by: Andy Gross <agross@kernel.org>
Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/firmware/qcom_scm-64.c