[PATCH 1/2] riscv: cpu: Add callback to init each core