arm: PSCI: use definitions provided by asm/smccc.h
authorVolodymyr Babchuk <volodymyr_babchuk@epam.com>
Tue, 10 Oct 2017 15:52:49 +0000 (18:52 +0300)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 11 Oct 2017 19:42:04 +0000 (12:42 -0700)
commit4f5ddf8f6ccf7c9376da8c4fd8d389a5a2591b15
tree75ce88ad34c06a8c2b50d97d418a7f39be99cf84
parent72e3353dc474d79d30292544361826a30d7e417b
arm: PSCI: use definitions provided by asm/smccc.h

smccc.h provides definitions to construct SMC call function number according
to SMCCC. We don't need multiple definitions for one thing, and definitions
in smccc.h are more generic than ones used in psci.h.

So psci.h will only provide function codes, while whole SMC function
identifier will be constructed using generic macros from smccc.h.

Function psci_mode_check() in vsmc.c will be removed in a next patch,
so there are no need to review it. I had to rework it, because
PSCI_0_2_64BIT definition is dropped now.

Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/platforms/seattle.c
xen/arch/arm/psci.c
xen/arch/arm/vsmc.c
xen/include/asm-arm/psci.h