Re: [PATCH] hw/intc: sifive_plic: Avoid overflowing the addr_config buffer

2022-06-01 Thread Alistair Francis
On Wed, Jun 1, 2022 at 11:36 AM Alistair Francis wrote: > > From: Alistair Francis > > Since commit ad40be27 "target/riscv: Support start kernel directly by > KVM" we have been overflowing the addr_config on "M,MS..." > configurations, as reported > https://gitlab.com/qemu-project/qemu/-/issues/

Re: [PATCH] hw/intc: sifive_plic: Avoid overflowing the addr_config buffer

2022-06-01 Thread Philippe Mathieu-Daudé via
On 1/6/22 03:36, Alistair Francis wrote: From: Alistair Francis Since commit ad40be27 "target/riscv: Support start kernel directly by KVM" we have been overflowing the addr_config on "M,MS..." configurations, as reported https://gitlab.com/qemu-project/qemu/-/issues/1050. This commit changes t

RE: [PATCH] hw/intc: sifive_plic: Avoid overflowing the addr_config buffer

2022-05-31 Thread limingwang (A)
> > From: Alistair Francis > > Since commit ad40be27 "target/riscv: Support start kernel directly by KVM" we > have been overflowing the addr_config on "M,MS..." > configurations, as reported > https://gitlab.com/qemu-project/qemu/-/issues/1050. > > This commit changes the loop in sifive_plic_

[PATCH] hw/intc: sifive_plic: Avoid overflowing the addr_config buffer

2022-05-31 Thread Alistair Francis
From: Alistair Francis Since commit ad40be27 "target/riscv: Support start kernel directly by KVM" we have been overflowing the addr_config on "M,MS..." configurations, as reported https://gitlab.com/qemu-project/qemu/-/issues/1050. This commit changes the loop in sifive_plic_create() from iterat