Volodymyr Babchuk b7cfe32e18 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>
2021-01-27 16:58:57 -05:00
..
2021-01-27 16:58:57 -05:00
2019-12-06 16:44:20 -05:00
2019-12-06 16:44:20 -05:00
2019-12-06 16:44:20 -05:00
2021-01-12 10:21:41 +05:30
2019-05-20 13:50:34 +02:00
2020-05-11 01:30:49 +05:30
2020-08-24 16:37:53 +02:00
2019-11-07 00:24:59 +01:00
2019-12-06 16:44:20 -05:00
2020-02-05 19:33:46 -07:00
2019-12-06 16:44:19 -05:00
2019-05-05 08:48:50 -04:00