[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 11/12] riscv: sifive_u: Allow up to 4 CPUs to be
From: |
Alistair Francis |
Subject: |
[Qemu-devel] [PATCH v1 11/12] riscv: sifive_u: Allow up to 4 CPUs to be created |
Date: |
Sat, 16 Mar 2019 01:21:29 +0000 |
Signed-off-by: Alistair Francis <address@hidden>
---
hw/riscv/sifive_u.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/hw/riscv/sifive_u.c b/hw/riscv/sifive_u.c
index 7bc25820fe..3199238ba0 100644
--- a/hw/riscv/sifive_u.c
+++ b/hw/riscv/sifive_u.c
@@ -398,7 +398,10 @@ static void riscv_sifive_u_machine_init(MachineClass *mc)
{
mc->desc = "RISC-V Board compatible with SiFive U SDK";
mc->init = riscv_sifive_u_init;
- mc->max_cpus = 1;
+ /* The real hardware has 5 CPUs, but one of them is a small embedded power
+ * management CPU.
+ */
+ mc->max_cpus = 4;
}
DEFINE_MACHINE("sifive_u", riscv_sifive_u_machine_init)
--
2.21.0
- [Qemu-devel] [PATCH v1 00/12] Upstream RISC-V fork patches, part 4, Alistair Francis, 2019/03/15
- Re: [Qemu-devel] [PATCH v1 00/12] Upstream RISC-V fork patches, part 4, Alistair Francis, 2019/03/15
- [Qemu-devel] [PATCH v1 12/12] target/riscv: Remove unused struct, Alistair Francis, 2019/03/15
- [Qemu-devel] [PATCH v1 03/12] RISC-V: Allow interrupt controllers to claim interrupts, Alistair Francis, 2019/03/15
- [Qemu-devel] [PATCH v1 11/12] riscv: sifive_u: Allow up to 4 CPUs to be created,
Alistair Francis <=
- [Qemu-devel] [PATCH v1 10/12] RISC-V: Update load reservation comment in do_interrupt, Alistair Francis, 2019/03/15
- [Qemu-devel] [PATCH v1 09/12] RISC-V: Convert trap debugging to trace events, Alistair Francis, 2019/03/15
- [Qemu-devel] [PATCH v1 07/12] RISC-V: Change local interrupts from edge to level, Alistair Francis, 2019/03/15
- [Qemu-devel] [PATCH v1 08/12] RISC-V: Add support for vectored interrupts, Alistair Francis, 2019/03/15
- [Qemu-devel] [PATCH v1 06/12] RISC-V: linux-user support for RVE ABI, Alistair Francis, 2019/03/15
- [Qemu-devel] [PATCH v1 04/12] RISC-V: Remove unnecessary disassembler constraints, Alistair Francis, 2019/03/15
- [Qemu-devel] [PATCH v1 05/12] elf: Add RISC-V PSABI ELF header defines, Alistair Francis, 2019/03/15
- [Qemu-devel] [PATCH v1 02/12] RISC-V: Replace __builtin_popcount with ctpop8 in PLIC, Alistair Francis, 2019/03/15
- [Qemu-devel] [PATCH v1 01/12] riscv: pmp: Log pmp access errors as guest errors, Alistair Francis, 2019/03/15