arm: vsmc: remove 64 bit mode check in PSCI handler
authorVolodymyr Babchuk <volodymyr_babchuk@epam.com>
Tue, 10 Oct 2017 15:52:50 +0000 (18:52 +0300)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 11 Oct 2017 19:42:04 +0000 (12:42 -0700)
commit6f9afc47314e11a3ec20c31df991b95571d98da3
tree563971734e7227ba253f51b2941a16c0b9578573
parent4f5ddf8f6ccf7c9376da8c4fd8d389a5a2591b15
arm: vsmc: remove 64 bit mode check in PSCI handler

PSCI handling code had helper routine that checked calling convention.
It does not needed anymore, because:

 - Generic handler checks that 64 bit calls can be made only by
   64 bit guests.

 - SMCCC requires that 64-bit handler should support both 32 and 64 bit
   calls even if they originate from 64 bit caller.

This patch removes that extra check.

Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Reviewed-by: Julien Grall <julien.grall@linaro.org>
xen/arch/arm/vsmc.c