commit | 37a107ff6dcd773da4dc75b62b9bf4349dd7300f | [log] [tgz] |
---|---|---|
author | Andreas Schwab <schwab@suse.de> | Tue Dec 11 11:20:40 2018 +0100 |
committer | Palmer Dabbelt <palmer@sifive.com> | Mon Jan 07 08:19:19 2019 -0800 |
tree | 3c958f7b8b007b28e3dd91aa823697458d7cab67 | |
parent | 8fd6e05c7463b635e51ec7df0a1858c1b5a6e350 [diff] |
riscv: don't stop itself in smp_send_stop Add IPI_CPU_STOP message and use it in smp_send_stop to stop other cpus, but not itself. Mark cpu offline on reception of IPI_CPU_STOP. Signed-off-by: Andreas Schwab <schwab@suse.de> Reviewed-by: Atish Patra <atish.patra@wdc.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>