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

2022-07-20 Thread Alistair Francis
On Thu, Jul 21, 2022 at 5:32 AM Atish Patra wrote: > > On Wed, Jun 15, 2022 at 8:25 PM Anup Patel wrote: > > > > On Thu, Jun 16, 2022 at 8:08 AM Alistair Francis > > wrote: > > > > > > On Thu, Jun 16, 2022 at 4:21 AM Atish Kumar Patra > > > wrote: > > > > > > > > On Wed, Jun 8, 2022 at 12:19

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

2022-07-20 Thread Atish Patra
On Wed, Jun 15, 2022 at 8:25 PM Anup Patel wrote: > > On Thu, Jun 16, 2022 at 8:08 AM Alistair Francis wrote: > > > > On Thu, Jun 16, 2022 at 4:21 AM Atish Kumar Patra > > wrote: > > > > > > On Wed, Jun 8, 2022 at 12:19 AM Alistair Francis > > > wrote: > > > > > > > > On Mon, Jun 6, 2022 at 2

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

2022-06-15 Thread Anup Patel
On Thu, Jun 16, 2022 at 8:08 AM Alistair Francis wrote: > > On Thu, Jun 16, 2022 at 4:21 AM Atish Kumar Patra wrote: > > > > On Wed, Jun 8, 2022 at 12:19 AM Alistair Francis > > wrote: > > > > > > On Mon, Jun 6, 2022 at 2:23 AM Atish Patra wrote: > > > > > > > > On Thu, Jun 2, 2022 at 12:02 AM

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

2022-06-15 Thread Alistair Francis
On Thu, Jun 16, 2022 at 4:21 AM Atish Kumar Patra wrote: > > On Wed, Jun 8, 2022 at 12:19 AM Alistair Francis wrote: > > > > On Mon, Jun 6, 2022 at 2:23 AM Atish Patra wrote: > > > > > > On Thu, Jun 2, 2022 at 12:02 AM Alistair Francis > > > wrote: > > > > > > > > On Wed, Jun 1, 2022 at 4:16 A

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

2022-06-15 Thread Atish Kumar Patra
On Wed, Jun 8, 2022 at 12:19 AM Alistair Francis wrote: > > On Mon, Jun 6, 2022 at 2:23 AM Atish Patra wrote: > > > > On Thu, Jun 2, 2022 at 12:02 AM Alistair Francis > > wrote: > > > > > > On Wed, Jun 1, 2022 at 4:16 AM Atish Patra wrote: > > > > > > > > stimecmp allows the supervisor mode to

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

2022-06-08 Thread Alistair Francis
On Mon, Jun 6, 2022 at 2:23 AM Atish Patra wrote: > > On Thu, Jun 2, 2022 at 12:02 AM Alistair Francis wrote: > > > > On Wed, Jun 1, 2022 at 4:16 AM Atish Patra wrote: > > > > > > stimecmp allows the supervisor mode to update stimecmp CSR directly > > > to program the next timer interrupt. This

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

2022-06-05 Thread Atish Patra
On Thu, Jun 2, 2022 at 12:02 AM Alistair Francis wrote: > > On Wed, Jun 1, 2022 at 4:16 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

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

2022-06-02 Thread Alistair Francis
On Wed, Jun 1, 2022 at 4:16 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 v5 2/3] target/riscv: Add stimecmp support

2022-05-31 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 | 5 ++ target/riscv/cpu_b