On Sat, May 2, 2020 at 6:08 PM Pragnesh Patel <pragnesh.pa...@sifive.com> wrote: > > The cpu clock is probably already enabled if we are executing code (though > we could be executing from a different core). This patch prevents the cpu > clock or its parents from being disabled. > > Signed-off-by: Sean Anderson <sean...@gmail.com> > Signed-off-by: Pragnesh Patel <pragnesh.pa...@sifive.com> > Reviewed-by: Bin Meng <bmeng...@gmail.com> > --- > drivers/cpu/riscv_cpu.c | 33 +++++++++++++++++++++++++++++++++ > 1 file changed, 33 insertions(+) >
Tested-by: Bin Meng <bmeng...@gmail.com>