ARM: hisi/hip04: remove the MCPM overhead
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 18 Mar 2015 03:37:58 +0000 (23:37 -0400)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 6 May 2015 15:42:01 +0000 (11:42 -0400)
commit905cdf9dda5d89d843667b2f11da2308d1fd1c34
tree46754681c2868c7e086595ce9f6905adc169d6c9
parentb787f68c36d49bb1d9236f403813641efa74a031
ARM: hisi/hip04: remove the MCPM overhead

This platform is currently relying on the MCPM infrastructure for no
apparent reason.  The MCPM concurrency handling brings no benefits here
as there is no asynchronous CPU wake-ups to be concerned about (this is
used for CPU hotplug and secondary boot only, not for CPU idle).

This platform is also different from the other MCPM users because a given
CPU can't shut itself down completely without the assistance of another
CPU. This is at odds with the on-going MCPM backend refactoring.

To simplify things, this is converted to hook directly into the
smp_operations callbacks, bypassing the MCPM infrastructure.

Tested-by: Wei Xu <xuwei5@hisilicon.com>
Cc: Haojian Zhuang <haojian.zhuang@linaro.org>
Signed-off-by: Nicolas Pitre <nico@linaro.org>
arch/arm/mach-hisi/platmcpm.c