xen/arm: vsmc: The function identifier is always 32-bit
authorJulien Grall <julien.grall@arm.com>
Thu, 16 May 2019 22:31:46 +0000 (23:31 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 29 Oct 2019 18:39:20 +0000 (11:39 -0700)
commit1b1609327da4aaacc6d65c2a05f2303de02da39b
treed88e6a51788c21f566b0592b8c68a4f572711674
parentce7b549d231fe0666b384b2e70be6a35358e5281
xen/arm: vsmc: The function identifier is always 32-bit

On Arm64, the SMCCC function identifier is always stored in the first 32-bit
of x0 register. The rest of the bits are not defined and should be
ignored.

This means the variable funcid should be an uint32_t rather than
register_t.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
(cherry picked from commit 7f4217cc60574866cb90d67d9750228c6b86c91e)
xen/arch/arm/vsmc.c