arm: traps: use only least 32 bits of fid in PSCI handler
authorVolodymyr Babchuk <volodymyr_babchuk@epam.com>
Tue, 10 Oct 2017 15:52:41 +0000 (18:52 +0300)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 11 Oct 2017 19:39:36 +0000 (12:39 -0700)
commit248b8eee6faf7c229c5c50b6c524175e1a5f7851
tree86e3a09ed43990336fc6308e56b206d5d5de466e
parente692f0f9a2e5898a3251c956d3c9d18c7260186a
arm: traps: use only least 32 bits of fid in PSCI handler

According to SMCCC (ARM DEN 0028B, page 12), function id is
stored in least 32 bits of r0/x0 register:

    The least significant 32-bits are used, and the most significant
    32-bits are zero.

Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/traps.c