nuttx/arch/risc-v
Eero Nurkkala b7d2b38700 risc-v/mpfs: opensbi: fix random boot failures
After the commit b8b541f, the system would not start up properly
with certain coldboot conditions. For example, if the OpenSBI picked
hart4 as the coldboot hart in preference to hart3, the system would
get stuck due to stack corruption. OpenSBI uses a lottery mechanism
to pick the coldboot hart.

Also fix g_scratches area in such a manner than it will not get
initialized to zero. If several harts initialize the area to zero, there's
danger the stack pointer gets wiped out.

Now any coldboot hart works.

Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-11-05 00:37:51 +08:00
..
include riscv: Dump trap val in exception handler 2022-08-30 14:55:33 +08:00
src risc-v/mpfs: opensbi: fix random boot failures 2022-11-05 00:37:51 +08:00
Kconfig arch: risc-v: Remove FPU support from qemu-rv 2022-09-20 11:40:40 +08:00