Re: [Qemu-devel] [PATCH-for-4.2 2/2] target/riscv/pmp: Convert qemu_log_mask(LOG_TRACE) to trace events

2019-07-23 Thread Alistair Francis
On Tue, Jul 23, 2019 at 5:08 AM Philippe Mathieu-Daudé wrote: > > Use the always-compiled trace events, remove the now unused > RISCV_DEBUG_PMP definition. > > Note pmpaddr_csr_read() could previously do out-of-bound accesses > passing addr_index >= MAX_RISCV_PMPS. > > Signed-off-by: Philippe Math

[Qemu-devel] [PATCH-for-4.2 2/2] target/riscv/pmp: Convert qemu_log_mask(LOG_TRACE) to trace events

2019-07-23 Thread Philippe Mathieu-Daudé
Use the always-compiled trace events, remove the now unused RISCV_DEBUG_PMP definition. Note pmpaddr_csr_read() could previously do out-of-bound accesses passing addr_index >= MAX_RISCV_PMPS. Signed-off-by: Philippe Mathieu-Daudé --- target/riscv/pmp.c| 31 ++