linux/arch/riscv
Atish Patra e15c6e3706
RISC-V: Do not wait indefinitely in __cpu_up
In SMP path, __cpu_up waits for other CPU to come online indefinitely.
This is wrong as other CPU might be disabled in machine mode and
possible CPU is set to the cpus present in DT.

Introduce a completion variable and waits only for a second.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2019-03-04 10:40:36 -08:00
..
boot RISC-V: Build flat and compressed kernel images 2018-11-20 05:19:09 -08:00
configs RISC-V: defconfig: Add CRYPTO_DEV_VIRTIO=y 2019-01-23 14:09:01 -08:00
include riscv: Add pte bit to distinguish swap from invalid 2019-02-11 15:24:45 -08:00
kernel RISC-V: Do not wait indefinitely in __cpu_up 2019-03-04 10:40:36 -08:00
lib RISC-V: lib: minor asm cleanup 2018-12-21 08:17:02 -08:00
mm riscv: fixup max_low_pfn with PFN_DOWN. 2019-01-23 17:51:53 -08:00
Kconfig riscv: remove the HAVE_KPROBES option 2019-02-19 13:55:18 -08:00
Kconfig.debug RISC-V: Remove EARLY_PRINTK support 2018-12-17 10:23:46 -08:00
Makefile RISC-V: Build flat and compressed kernel images 2018-11-20 05:19:09 -08:00