Re: [PATCH 1/4] hw/riscv: Allow creating multiple instances of CLINT

2020-05-21 Thread Palmer Dabbelt
On Fri, 15 May 2020 23:37:43 PDT (-0700), Anup Patel wrote: We extend CLINT emulation to allow multiple instances of CLINT in a QEMU RISC-V machine. To achieve this, we remove first HART id zero assumption from CLINT emulation. Signed-off-by: Anup Patel --- hw/riscv/sifive_clint.c | 20

Re: [PATCH 1/4] hw/riscv: Allow creating multiple instances of CLINT

2020-05-19 Thread Alistair Francis
On Fri, May 15, 2020 at 11:39 PM Anup Patel wrote: > > We extend CLINT emulation to allow multiple instances of CLINT in > a QEMU RISC-V machine. To achieve this, we remove first HART id > zero assumption from CLINT emulation. > > Signed-off-by: Anup Patel Reviewed-by: Alistair Francis Alistai

[PATCH 1/4] hw/riscv: Allow creating multiple instances of CLINT

2020-05-15 Thread Anup Patel
We extend CLINT emulation to allow multiple instances of CLINT in a QEMU RISC-V machine. To achieve this, we remove first HART id zero assumption from CLINT emulation. Signed-off-by: Anup Patel --- hw/riscv/sifive_clint.c | 20 hw/riscv/sifive_e.c | 2 +-