summaryrefslogtreecommitdiffstats
path: root/security/commoncap.c
diff options
context:
space:
mode:
authorElliot Berman <eberman@codeaurora.org>2020-01-07 22:04:22 +0100
committerBjorn Andersson <bjorn.andersson@linaro.org>2020-01-08 07:14:32 +0100
commit84528486ad7b28d26137b69a674cbfa53e01b592 (patch)
tree4f895fe8313ebaf56bbda26bba146d8f70a794bc /security/commoncap.c
parentfirmware: qcom_scm-32: Move SMCCC register filling to qcom_scm_call (diff)
downloadlinux-84528486ad7b28d26137b69a674cbfa53e01b592.tar.xz
linux-84528486ad7b28d26137b69a674cbfa53e01b592.zip
firmware: qcom_scm-32: Create common legacy atomic call
Per [1], legacy calling convention supports up to 5 arguments and 3 return values. Create one function to support this combination, and remove the original "atomic1" and "atomic2" variants for 1 and 2 arguments. This more closely aligns scm_legacy implementation with scm_smc implementation. [1]: https://source.codeaurora.org/quic/la/kernel/msm-4.9/tree/drivers/soc/qcom/scm.c?h=kernel.lnx.4.9.r28-rel#n1024 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-14-git-send-email-eberman@codeaurora.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'security/commoncap.c')
0 files changed, 0 insertions, 0 deletions