Skip to contentSkip to conversation

docs/system/riscv: update 'virt' machine core limit

PATCH Applied Daniel Henrique Barboza 2 participants 4 messages Oct 20, 2023 – Oct 23, 2023 RISC-V

lore
Share & tools
lore
#0 lore raw

v2 cover docs/system/riscv: update 'virt' machine core limit

Hi,

Re-sending it with a more adequate commit title.

Changes from v1:
- change commit title from "remove core limit from virt machine" to
"update 'virt' machine core limit"
- v1 link: https://lore.kernel.org/qemu-riscv/[email protected]/

Daniel Henrique Barboza (1):
docs/system/riscv: update 'virt' machine core limit

 docs/system/riscv/virt.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.41.0
#1 lore raw

PATCH v2 1/1 docs/system/riscv: update 'virt' machine core limit

The 'virt' RISC-V machine does not have a 8 core limit. The current limit is set in include/hw/riscv/virt.h, VIRT_CPUS_MAX, set to 512 at this moment.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1945

---
 docs/system/riscv/virt.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/system/riscv/virt.rst +1 -1
index f9a2eac544..f5fa7b8b29 100644
@@ -12,7 +12,7 @@ Supported devices
 
 The ``virt`` machine supports the following devices:
 
-* Up to 8 generic RV32GC/RV64GC cores, with optional extensions
+* Up to 512 generic RV32GC/RV64GC cores, with optional extensions
 * Core Local Interruptor (CLINT)
 * Platform-Level Interrupt Controller (PLIC)
 * CFI parallel NOR flash memory
Signature · 1 line
2.41.0
Reviewed-by on v2 1/1
#2 lore raw
Quoted 7 lines · Daniel Henrique Barboza

The 'virt' RISC-V machine does not have a 8 core limit. The current limit is set in include/hw/riscv/virt.h, VIRT_CPUS_MAX, set to 512 at this moment.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1945

Alistair

Quoted 21 lines
---
 docs/system/riscv/virt.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/system/riscv/virt.rst +1 -2
index f9a2eac544..f5fa7b8b29 100644
@@ -12,7 +12,7 @@ Supported devices
 
 The ``virt`` machine supports the following devices:
 
-* Up to 8 generic RV32GC/RV64GC cores, with optional extensions
+* Up to 512 generic RV32GC/RV64GC cores, with optional extensions
 * Core Local Interruptor (CLINT)
 * Platform-Level Interrupt Controller (PLIC)
 * CFI parallel NOR flash memory
--

2.41.0

#3 lore raw
In reply to Daniel Henrique Barboza
Quoted 5 lines · Daniel Henrique Barboza

Hi,

Re-sending it with a more adequate commit title.

Quoted 7 lines

Changes from v1:
- change commit title from "remove core limit from virt machine" to
"update 'virt' machine core limit"
- v1 link: https://lore.kernel.org/qemu-riscv/[email protected]/

Daniel Henrique Barboza (1):
docs/system/riscv: update 'virt' machine core limit

Thanks!

Applied to riscv-to-apply.next

Alistair

Quoted 8 lines
 docs/system/riscv/virt.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.41.0