a5ds: Add handler for when user tries to switch off secondary cores
authorUsama Arif <usama.arif@arm.com>
Thu, 26 Sep 2019 15:07:53 +0000 (16:07 +0100)
committerUsama Arif <usama.arif@arm.com>
Thu, 3 Oct 2019 09:09:04 +0000 (10:09 +0100)
commit59ffec157ca8d675165f122c901c1ff198a810bc
tree7b98f70c616bab85b3698ebd3f1b8bb4587a83cf
parentace23683beb81354d6edbc61c087ab8c384d0631
a5ds: Add handler for when user tries to switch off secondary cores

a5ds only has always-on power domain and there is no power control
present. However, without the pwr_domain_off handler, the kernel
panics when the user will try to switch off secondary cores. The
a5ds_pwr_domain_off handler will prevent kernel from crashing,
i.e. the kernel will attempt but fail to shut down the secondary CPUs
if the user tries to switch them offline.

Change-Id: I3c2239a1b6f035113ddbdda063c8495000cbe30c
Signed-off-by: Usama Arif <usama.arif@arm.com>
plat/arm/board/a5ds/a5ds_pm.c