Hi Michal, Sorry somehow missed this email.
On 19/07/18 11:47, Michal Simek wrote: > On 9.7.2018 15:21, Sudeep Holla wrote: [...] >> >> I think with efi_reboot, if user execute the command "reboot warm", it >> will set REBOOT_WARM. I was thinking something similar for psci too. I >> can drop REBOOT_SOFT if that's not correct. > > Have you found more details about efi_reboot and passing information in > case of reboot warm? > I was just referring to drivers/firmware/efi/reboot.c- function efi_reboot. Anyways the function reboot_setup in kernel/reboot.c sets the reboot mode parsing the string passed by the user(e.g.: warm, cold, hard, gpio, soft,..etc it just scans the first character TBH) -- Regards, Sudeep

