Re: [PATCH 06/15] riscv: cleanup the default power off implementation

2019-10-17 Thread Anup Patel
On Thu, Oct 17, 2019 at 11:08 PM Christoph Hellwig wrote: > > Move the sbi poweroff to a separate function and file that is only > compiled if CONFIG_SBI is set. Provide a new default fallback > power off that just sits in a wfi loop to save some power. > > Signed-off-by: Christoph Hellwig >

[PATCH 06/15] riscv: cleanup the default power off implementation

2019-10-17 Thread Christoph Hellwig
Move the sbi poweroff to a separate function and file that is only compiled if CONFIG_SBI is set. Provide a new default fallback power off that just sits in a wfi loop to save some power. Signed-off-by: Christoph Hellwig Reviewed-by: Atish Patra --- arch/riscv/kernel/Makefile | 1 +