Re: [PATCH v2 2/3] hw/timer: Initial commit of Ibex Timer

2021-06-18 Thread Alistair Francis
On Fri, Jun 11, 2021 at 9:52 PM Paolo Bonzini wrote: > > On 11/06/21 01:01, Alistair Francis wrote: > > On Wed, Jun 9, 2021 at 5:57 PM Paolo Bonzini wrote: > >> > >> On 09/06/21 01:48, Alistair Francis wrote: > >>> Add support for the Ibex timer. This is used with the RISC-V > >>> mtime/mtimecmp

Re: [PATCH v2 2/3] hw/timer: Initial commit of Ibex Timer

2021-06-11 Thread Paolo Bonzini
On 11/06/21 01:01, Alistair Francis wrote: On Wed, Jun 9, 2021 at 5:57 PM Paolo Bonzini wrote: On 09/06/21 01:48, Alistair Francis wrote: Add support for the Ibex timer. This is used with the RISC-V mtime/mtimecmp similar to the SiFive CLINT. We currently don't support changing the prescale

Re: [PATCH v2 2/3] hw/timer: Initial commit of Ibex Timer

2021-06-10 Thread Alistair Francis
On Wed, Jun 9, 2021 at 5:57 PM Paolo Bonzini wrote: > > On 09/06/21 01:48, Alistair Francis wrote: > > Add support for the Ibex timer. This is used with the RISC-V > > mtime/mtimecmp similar to the SiFive CLINT. > > > > We currently don't support changing the prescale or the timervalue. > > > > Si

Re: [PATCH v2 2/3] hw/timer: Initial commit of Ibex Timer

2021-06-10 Thread Alistair Francis
On Wed, Jun 9, 2021 at 11:44 AM Bin Meng wrote: > > On Wed, Jun 9, 2021 at 7:49 AM Alistair Francis > wrote: > > > > Add support for the Ibex timer. This is used with the RISC-V > > mtime/mtimecmp similar to the SiFive CLINT. > > > > We currently don't support changing the prescale or the timerva

Re: [PATCH v2 2/3] hw/timer: Initial commit of Ibex Timer

2021-06-09 Thread Paolo Bonzini
On 09/06/21 01:48, Alistair Francis wrote: Add support for the Ibex timer. This is used with the RISC-V mtime/mtimecmp similar to the SiFive CLINT. We currently don't support changing the prescale or the timervalue. Signed-off-by: Alistair Francis Any chance this could have a qtest? It woul

Re: [PATCH v2 2/3] hw/timer: Initial commit of Ibex Timer

2021-06-08 Thread Bin Meng
On Wed, Jun 9, 2021 at 7:49 AM Alistair Francis wrote: > > Add support for the Ibex timer. This is used with the RISC-V > mtime/mtimecmp similar to the SiFive CLINT. > > We currently don't support changing the prescale or the timervalue. > > Signed-off-by: Alistair Francis > --- > include/hw/tim

[PATCH v2 2/3] hw/timer: Initial commit of Ibex Timer

2021-06-08 Thread Alistair Francis
Add support for the Ibex timer. This is used with the RISC-V mtime/mtimecmp similar to the SiFive CLINT. We currently don't support changing the prescale or the timervalue. Signed-off-by: Alistair Francis --- include/hw/timer/ibex_timer.h | 52 ++ hw/timer/ibex_timer.c | 305 ++