xen/arm: optee: The function identifier is always 32-bit
authorRoman Skakun <roman_skakun@epam.com>
Wed, 6 Jan 2021 11:26:57 +0000 (13:26 +0200)
committerJulien Grall <jgrall@amazon.com>
Fri, 8 Jan 2021 10:24:23 +0000 (10:24 +0000)
commitede2583fa1a28a969c5609b86aa82a7ba9f19a26
tree774aa362fce64eda456313a221fc9d1610f358b0
parent994f6478a48a60e3b407c7defc2d36a80f880b04
xen/arm: optee: The function identifier is always 32-bit

Per the SMCCC specification (see section 3.1 in ARM DEN 0028D), the
function identifier is only stored in the least significant 32-bits.
The most significant 32-bits should be ignored.

Signed-off-by: Roman Skakun <roman_skakun@epam.com>
Acked-by: Volodymyr Babchyk <volodymyr_babchuk@epam.com>
[jgrall: Reword the commit message and comment]
Acked-by: Julien Grall <jgrall@amazon.com>
xen/arch/arm/tee/optee.c