diff options
author | Elliot Berman | 2020-01-07 13:04:17 -0800 |
---|---|---|
committer | Bjorn Andersson | 2020-01-07 22:14:19 -0800 |
commit | 5dad8deee29b7a64854e8bceb90337fa4db610de (patch) | |
tree | 898a7a4e4eddd8bccb3ff6b9a08d6e490a85a91f /usr | |
parent | 3f951ea627dae878e353c51dfeb10baaccb10101 (diff) |
firmware: qcom_scm-64: Improve SMC convention detection
Improve the calling convention detection to use
__qcom_scm_is_call_available() and not blindly assume 32-bit mode if
the checks fails. BUG() if neither 32-bit or 64-bit mode works.
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-9-git-send-email-eberman@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions