Re: [ PATCH v3 01/10] target/riscv: Fix PMU CSR predicate function

2021-11-04 Thread Bin Meng
On Tue, Oct 26, 2021 at 4:39 AM Atish Patra wrote: > > The predicate function calculates the counter index incorrectly for > hpmcounterx. Fix the counter index to reflect correct CSR number. > Fixes: e39a8320b088 ("target/riscv: Support the Virtual Instruction fault") > Signed-off-by: Atish

Re: [ PATCH v3 01/10] target/riscv: Fix PMU CSR predicate function

2021-11-02 Thread Alistair Francis
On Tue, Oct 26, 2021 at 6:39 AM Atish Patra wrote: > > The predicate function calculates the counter index incorrectly for > hpmcounterx. Fix the counter index to reflect correct CSR number. > > Signed-off-by: Atish Patra Reviewed-by: Alistair Francis Alistair > --- > target/riscv/csr.c |

[ PATCH v3 01/10] target/riscv: Fix PMU CSR predicate function

2021-10-25 Thread Atish Patra
The predicate function calculates the counter index incorrectly for hpmcounterx. Fix the counter index to reflect correct CSR number. Signed-off-by: Atish Patra --- target/riscv/csr.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/target/riscv/csr.c