kernel-ark/arch/riscv
Vincent Chen e0c0fc18f1 riscv: avoid sending a SIGTRAP to a user thread trapped in WARN()
On RISC-V, when the kernel runs code on behalf of a user thread, and the
kernel executes a WARN() or WARN_ON(), the user thread will be sent
a bogus SIGTRAP.  Fix the RISC-V kernel code to not send a SIGTRAP when
a WARN()/WARN_ON() is executed.

Signed-off-by: Vincent Chen <vincent.chen@sifive.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
[paul.walmsley@sifive.com: fixed subject]
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
2019-10-07 12:59:40 -07:00
..
boot riscv: dts: sifive: Drop "clock-frequency" property of cpu nodes 2019-09-20 08:37:24 -07:00
configs RISC-V: Enable VIRTIO drivers in RV64 and RV32 defconfig 2019-09-19 05:44:35 -07:00
include RISC-V: Clear load reservations while restoring hart contexts 2019-10-01 13:16:40 -07:00
kernel riscv: avoid sending a SIGTRAP to a user thread trapped in WARN() 2019-10-07 12:59:40 -07:00
lib riscv: Using CSR numbers to access CSRs 2019-08-30 11:04:19 -07:00
mm riscv: Fix memblock reservation for device tree blob 2019-10-01 13:22:39 -07:00
net bpf, riscv: Enable zext optimization for more RV64G ALU ops 2019-07-05 23:55:41 +02:00
Kbuild riscv: add arch/riscv/Kbuild 2019-08-30 17:34:00 -07:00
Kconfig riscv: make mmap allocation top-down by default 2019-09-24 15:54:12 -07:00
Kconfig.debug
Kconfig.socs riscv: select SiFive platform drivers with SOC_SIFIVE 2019-07-01 13:20:01 -07:00
Makefile Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00