Re: [PATCH 3/4] riscv: Correct the handling of unexpected ebreak in do_trap_break()

2019-10-04 Thread Paul Walmsley
On Mon, 23 Sep 2019, Vincent Chen wrote: > For the kernel space, all ebreak instructions are determined at compile > time because the kernel space debugging module is currently unsupported. > Hence, it should be treated as a bug if an ebreak instruction which does > not belong to BUG_TRAP_TYPE_WAR

Re: [PATCH 3/4] riscv: Correct the handling of unexpected ebreak in do_trap_break()

2019-09-27 Thread Christoph Hellwig
Looks ok: Reviewed-by: Christoph Hellwig

[PATCH 3/4] riscv: Correct the handling of unexpected ebreak in do_trap_break()

2019-09-22 Thread Vincent Chen
For the kernel space, all ebreak instructions are determined at compile time because the kernel space debugging module is currently unsupported. Hence, it should be treated as a bug if an ebreak instruction which does not belong to BUG_TRAP_TYPE_WARN or BUG_TRAP_TYPE_BUG is executed in kernel space