armv8: layerscape: add PSCI support for cpu release
authorJiafei Pan <Jiafei.Pan@nxp.com>
Wed, 21 Apr 2021 04:12:49 +0000 (12:12 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 17 Jun 2021 06:16:11 +0000 (11:46 +0530)
commit84c2e044a9372945c5ef6b83ab49f9cb2ba74c0d
tree69fc3339373c631a4cf708761c65f112d268cf32
parentc0eeb730f8038565a168a73f74b3ed56d8eac16c
armv8: layerscape: add PSCI support for cpu release

For cpu release command, check whether PSCI is supported firstly,
if supported, use PSCI to kick off secondary cores, otherwise still
use spin table.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
[Fixed checkpatch alignment CHECKs]
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
arch/arm/cpu/armv8/fsl-layerscape/cpu.h
arch/arm/cpu/armv8/fsl-layerscape/mp.c