]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: qcom_scm-64: Add SCM results struct
authorElliot Berman <eberman@codeaurora.org>
Tue, 7 Jan 2020 21:04:15 +0000 (13:04 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 8 Jan 2020 06:14:14 +0000 (22:14 -0800)
commitc2968bf0053357db991ad36946709e876c302b1b
tree1e6f9d9378a29d2540c1b5aa7c8b1538eda600bd
parent09df05f004d15e5720bfaf2545e1e35bd16d16f2
firmware: qcom_scm-64: Add SCM results struct

Remove knowledge of arm_smccc_res struct from client wrappers so that
client wrappers only work QCOM SCM data structures. SCM calls may have
up to 3 arguments, so qcom_scm_call_smccc is responsible now for filling
those 3 arguments accordingly. This is necessary to support merging
legacy and SMC conventions in an upcoming patch.

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-7-git-send-email-eberman@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/firmware/qcom_scm-64.c