]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: qcom_scm-32: Move SMCCC register filling to qcom_scm_call
authorElliot Berman <eberman@codeaurora.org>
Tue, 7 Jan 2020 21:04:21 +0000 (13:04 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 8 Jan 2020 06:14:29 +0000 (22:14 -0800)
commit1e8eb0f12a3b905003aba28730c94e85b85ca0df
tree0c291c35e0418432b2c8d0f3c81fb6ff2823bb4c
parent894eeb4d4a3d14eeb4c9bccd008339cbca5766bb
firmware: qcom_scm-32: Move SMCCC register filling to qcom_scm_call

Move SMCCC register filling to qcom_scm_call so that __scm_legacy_do
only needs to concern itself with retry mechanism. qcom_scm_call then is
responsible for translating qcom_scm_desc into the complete set of
register arguments and passing onto qcom_scm_call_do.

Tested-by: Brian Masney <masneyb@onstation.org> # arm32
Tested-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Link: https://lore.kernel.org/r/1578431066-19600-13-git-send-email-eberman@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/firmware/qcom_scm-32.c