[Qemu-devel] [PULL 15/34] target/riscv: Add the mcountinhibit CSR

2019-06-28 Thread Palmer Dabbelt
From: Alistair Francis 1.11 defines mcountinhibit, which has the same numeric CSR value as mucounteren from 1.09.1 but has different semantics. This patch enables the CSR for 1.11-based targets, which is trivial to implement because the counters in QEMU never tick (legal according to the spec).

[Qemu-devel] [PULL 15/34] target/riscv: Add the mcountinhibit CSR

2019-06-27 Thread Palmer Dabbelt
From: Alistair Francis 1.11 defines mcountinhibit, which has the same numeric CSR value as mucounteren from 1.09.1 but has different semantics. This patch enables the CSR for 1.11-based targets, which is trivial to implement because the counters in QEMU never tick (legal according to the spec).