Re: [PATCH v2 2/5] target/riscv: Update VS timer whenever htimedelta changes

2023-01-18 Thread Alistair Francis
On Mon, Jan 16, 2023 at 3:20 PM Anup Patel wrote: > > Hi Alistair, > > On Tue, Jan 3, 2023 at 9:43 PM Anup Patel wrote: > > > > Hi Alistair, > > > > On Wed, Dec 28, 2022 at 11:08 AM Alistair Francis > > wrote: > > > > > > On Fri, Dec 23, 2022 at 11:14 PM Anup Patel > > > wrote: > > > > > > >

Re: [PATCH v2 2/5] target/riscv: Update VS timer whenever htimedelta changes

2023-01-15 Thread Anup Patel
Hi Alistair, On Tue, Jan 3, 2023 at 9:43 PM Anup Patel wrote: > > Hi Alistair, > > On Wed, Dec 28, 2022 at 11:08 AM Alistair Francis > wrote: > > > > On Fri, Dec 23, 2022 at 11:14 PM Anup Patel wrote: > > > > > > On Thu, Dec 15, 2022 at 8:55 AM Alistair Francis > > > wrote: > > > > > > > > O

Re: [PATCH v2 2/5] target/riscv: Update VS timer whenever htimedelta changes

2023-01-03 Thread Anup Patel
Hi Alistair, On Wed, Dec 28, 2022 at 11:08 AM Alistair Francis wrote: > > On Fri, Dec 23, 2022 at 11:14 PM Anup Patel wrote: > > > > On Thu, Dec 15, 2022 at 8:55 AM Alistair Francis > > wrote: > > > > > > On Mon, Dec 12, 2022 at 9:12 PM Anup Patel > > > wrote: > > > > > > > > On Mon, Dec 12,

Re: [PATCH v2 2/5] target/riscv: Update VS timer whenever htimedelta changes

2022-12-27 Thread Alistair Francis
On Fri, Dec 23, 2022 at 11:14 PM Anup Patel wrote: > > On Thu, Dec 15, 2022 at 8:55 AM Alistair Francis wrote: > > > > On Mon, Dec 12, 2022 at 9:12 PM Anup Patel wrote: > > > > > > On Mon, Dec 12, 2022 at 11:23 AM Alistair Francis > > > wrote: > > > > > > > > On Thu, Dec 8, 2022 at 6:41 PM Anu

Re: [PATCH v2 2/5] target/riscv: Update VS timer whenever htimedelta changes

2022-12-23 Thread Anup Patel
On Thu, Dec 15, 2022 at 8:55 AM Alistair Francis wrote: > > On Mon, Dec 12, 2022 at 9:12 PM Anup Patel wrote: > > > > On Mon, Dec 12, 2022 at 11:23 AM Alistair Francis > > wrote: > > > > > > On Thu, Dec 8, 2022 at 6:41 PM Anup Patel wrote: > > > > > > > > On Thu, Dec 8, 2022 at 9:00 AM Alistai

Re: [PATCH v2 2/5] target/riscv: Update VS timer whenever htimedelta changes

2022-12-14 Thread Alistair Francis
On Mon, Dec 12, 2022 at 9:12 PM Anup Patel wrote: > > On Mon, Dec 12, 2022 at 11:23 AM Alistair Francis > wrote: > > > > On Thu, Dec 8, 2022 at 6:41 PM Anup Patel wrote: > > > > > > On Thu, Dec 8, 2022 at 9:00 AM Alistair Francis > > > wrote: > > > > > > > > On Tue, Nov 8, 2022 at 11:07 PM An

Re: [PATCH v2 2/5] target/riscv: Update VS timer whenever htimedelta changes

2022-12-12 Thread Anup Patel
On Mon, Dec 12, 2022 at 11:23 AM Alistair Francis wrote: > > On Thu, Dec 8, 2022 at 6:41 PM Anup Patel wrote: > > > > On Thu, Dec 8, 2022 at 9:00 AM Alistair Francis > > wrote: > > > > > > On Tue, Nov 8, 2022 at 11:07 PM Anup Patel > > > wrote: > > > > > > > > The htimedelta[h] CSR has impact

Re: [PATCH v2 2/5] target/riscv: Update VS timer whenever htimedelta changes

2022-12-11 Thread Alistair Francis
On Thu, Dec 8, 2022 at 6:41 PM Anup Patel wrote: > > On Thu, Dec 8, 2022 at 9:00 AM Alistair Francis wrote: > > > > On Tue, Nov 8, 2022 at 11:07 PM Anup Patel wrote: > > > > > > The htimedelta[h] CSR has impact on the VS timer comparison so we > > > should call riscv_timer_write_timecmp() whenev

Re: [PATCH v2 2/5] target/riscv: Update VS timer whenever htimedelta changes

2022-12-08 Thread Anup Patel
On Thu, Dec 8, 2022 at 9:00 AM Alistair Francis wrote: > > On Tue, Nov 8, 2022 at 11:07 PM Anup Patel wrote: > > > > The htimedelta[h] CSR has impact on the VS timer comparison so we > > should call riscv_timer_write_timecmp() whenever htimedelta changes. > > > > Fixes: 3ec0fe18a31f ("target/risc

Re: [PATCH v2 2/5] target/riscv: Update VS timer whenever htimedelta changes

2022-12-07 Thread Alistair Francis
On Tue, Nov 8, 2022 at 11:07 PM Anup Patel wrote: > > The htimedelta[h] CSR has impact on the VS timer comparison so we > should call riscv_timer_write_timecmp() whenever htimedelta changes. > > Fixes: 3ec0fe18a31f ("target/riscv: Add vstimecmp suppor") > Signed-off-by: Anup Patel > Reviewed-by:

[PATCH v2 2/5] target/riscv: Update VS timer whenever htimedelta changes

2022-11-08 Thread Anup Patel
The htimedelta[h] CSR has impact on the VS timer comparison so we should call riscv_timer_write_timecmp() whenever htimedelta changes. Fixes: 3ec0fe18a31f ("target/riscv: Add vstimecmp suppor") Signed-off-by: Anup Patel Reviewed-by: Alistair Francis --- target/riscv/csr.c | 16