Re: [PATCH 2/2] riscv: Add sifive test device to sifive_u target

2020-10-26 Thread Bin Meng
Hi Keith, On Sat, Oct 24, 2020 at 8:17 AM Keith Packard via wrote: > > Alistair Francis writes: > > > I also don't see this in the FU540 memory map. > > Same as for the FE310 -- this is a QEMU-only device. In addition, > OpenSBI expects to use this when built for QEMU. I agree with Alistair.

Re: [PATCH 2/2] riscv: Add sifive test device to sifive_u target

2020-10-23 Thread Keith Packard
Alistair Francis writes: > I also don't see this in the FU540 memory map. Same as for the FE310 -- this is a QEMU-only device. In addition, OpenSBI expects to use this when built for QEMU. -- -keith signature.asc Description: PGP signature

Re: [PATCH 2/2] riscv: Add sifive test device to sifive_u target

2020-10-23 Thread Alistair Francis
On Fri, Oct 23, 2020 at 2:48 PM Keith Packard via wrote: > > The SiFive test device provides a mechanism for terminating the qemu > instance from the emulated system. This patch adds that device to the > sifive_u target, including constructing a suitable FDT node. > > Signed-off-by: Keith Packard

[PATCH 2/2] riscv: Add sifive test device to sifive_u target

2020-10-23 Thread Keith Packard via
The SiFive test device provides a mechanism for terminating the qemu instance from the emulated system. This patch adds that device to the sifive_u target, including constructing a suitable FDT node. Signed-off-by: Keith Packard --- hw/riscv/sifive_u.c | 15 +++