Re: [PATCH v4 2/3] target/riscv: Add stimecmp support

2022-05-27 Thread Atish Kumar Patra
On Thu, May 26, 2022 at 7:07 PM Alistair Francis wrote: > > On Thu, May 26, 2022 at 5:16 PM Atish Patra wrote: > > > > On Wed, May 25, 2022 at 10:11 PM Alistair Francis > > wrote: > > > > > > On Sat, May 14, 2022 at 4:39 AM Atish Patra wrote: > > > > > > > > stimecmp allows the supervisor

Re: [PATCH v4 2/3] target/riscv: Add stimecmp support

2022-05-26 Thread Alistair Francis
On Thu, May 26, 2022 at 5:16 PM Atish Patra wrote: > > On Wed, May 25, 2022 at 10:11 PM Alistair Francis > wrote: > > > > On Sat, May 14, 2022 at 4:39 AM Atish Patra wrote: > > > > > > stimecmp allows the supervisor mode to update stimecmp CSR directly > > > to program the next timer

Re: [PATCH v4 2/3] target/riscv: Add stimecmp support

2022-05-26 Thread Atish Patra
On Wed, May 25, 2022 at 10:11 PM Alistair Francis wrote: > > On Sat, May 14, 2022 at 4:39 AM Atish Patra wrote: > > > > stimecmp allows the supervisor mode to update stimecmp CSR directly > > to program the next timer interrupt. This CSR is part of the Sstc > > extension which was ratified

Re: [PATCH v4 2/3] target/riscv: Add stimecmp support

2022-05-25 Thread Alistair Francis
On Sat, May 14, 2022 at 4:39 AM Atish Patra wrote: > > stimecmp allows the supervisor mode to update stimecmp CSR directly > to program the next timer interrupt. This CSR is part of the Sstc > extension which was ratified recently. > > Signed-off-by: Atish Patra > --- > target/riscv/cpu.c

[PATCH v4 2/3] target/riscv: Add stimecmp support

2022-05-13 Thread Atish Patra
stimecmp allows the supervisor mode to update stimecmp CSR directly to program the next timer interrupt. This CSR is part of the Sstc extension which was ratified recently. Signed-off-by: Atish Patra --- target/riscv/cpu.c | 8 target/riscv/cpu.h | 7 +++