commit | 94924a6ca3ce301617676626d6ba5d538409c71f | [log] [tgz] |
---|---|---|
author | Volodymyr Babchuk <Volodymyr_Babchuk@epam.com> | Tue Jan 05 20:03:11 2021 +0000 |
committer | Tom Rini <trini@konsulko.com> | Wed Jan 27 16:58:57 2021 -0500 |
tree | 075ffa4c6f809908aac1d46fca68baeb6ba3429a | |
parent | 8d82a20c6dba2f39e9071ce5ef8bb19d5eaa938e [diff] |
smccc: fix sign bit expansion Signed ARM_SMCCC_FAST_CALL value is shifted to 31'st bit. Then, it is expanded to 64 bit value, which results in 1s in higher 32 bits. This causes corrupted values in 64-bit SMC IDs and issues in buggy handlers of 32-bit calls. We need to make ARM_SMCCC_FAST_CALL unsigned long, so it would work properly on 32 bit architectures. Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>