add two debug interfaces: 1.when set cmdline "sys_restart_mode=warm", the kernel will reset with WARM way. 2.when set cmdline "sys_restart_mode=panic", the kernel will enter into ramdump when it normal reset. Change-Id: Id70063bac7d0951622c6e074c2ba2ec024374022 Signed-off-by: xizx <xizx@motorola.com> Reviewed-on: https://gerrit.mot.com/1117501 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Submit-Approved: Jira Key Reviewed-on: https://gerrit.mot.com/1345290 Reviewed-on: https://gerrit.mot.com/1406867 Reviewed-on: https://gerrit.mot.com/1463612 Reviewed-on: https://gerrit.mot.com/1509723