OSDN Git Service

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)
commit1f7166fdae55b52803d1f381e017ecbd45142a2d
tree1e6f9d9378a29d2540c1b5aa7c8b1538eda600bd
parentb30a2a72b84e2355b4db12393407ca48be89e267
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