[PORT FROM R2][REVERTME] cpu: trigger a BUG() when boot cpu1 failed when being woke up from S3.
BZ: 36367
From yanmin:
It's hard to reproduce this issue and we don't know where CPU 1 is
running when it happens. A potential patch is to call BUG() to trigger
a panic when CPU 0 couldn't boot CPU 1, so system would reboot by
software WDT and wouldn't consume power unconsciously.
Change-Id: I32624a6875b435655dc0fe7e3f647dbbeb6d793a
Orig-Change-Id: I700068ab629cf60061ac24315733aeedb5710b86
Signed-off-by: Yanmin Zhang <yanmin.zhang@intel.com>
Signed-off-by: ShuoX Liu <shuox.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/52325
Reviewed-by: Popescu, CatalinX <catalinx.popescu@intel.com>
Reviewed-by: Hogander, Jouni <jouni.hogander@intel.com>
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>