Skip to content

hw/cpu/cluster: Restrict CPU cluster to a particular CPU type

Philippe Mathieu-Daudé qemu-arm qemu-devel qemu-riscv 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5hw/cpu: Extend CPUState::cluster_index documentationaccel/tcg/tcg-accel-ops.c include/hw/core/cpu.h+14 -11 reply
2/5hw/cpu/cluster: Only add CPU objects to CPU clusterhw/cpu/cluster.c+14 -61 reply
3/5hw/cpu/cluster: Restrict CPU cluster to a particular CPU typehw/cpu/cluster.c include/hw/cpu/cluster.h+17 -31 reply
4/5hw/arm: Restrict CPU clusters to the expected typehw/arm/armsse.c hw/arm/xlnx-zynqmp.c+5 -00 replies
5/5hw/riscv: Restrict CPU clusters to the expected typehw/riscv/microchip_pfsoc.c hw/riscv/sifive_u.c+6 -00 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchPeter Maydell
1/5R-b
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] hw/cpu/cluster: Restrict CPU cluster to a particular CPU type

Following Alex's comment [1] on "Introduce hybrid CPU topology" RFC [2], this series strengthen a bit the CPU cluster by restricting it to a particular CPU type.

We'd rather have a single way of creating heterogeneous (hybrid) CPU topology. Note the CPU cluster is not user-creatable, so few more work is required in this area.

Based-on: <[email protected]>
[3] "Have object_child_foreach() take Error* and return boolean"

[1] https://lore.kernel.org/qemu-devel/[email protected]/
[2] https://lore.kernel.org/qemu-devel/[email protected]/
[3] https://lore.kernel.org/qemu-devel/[email protected]/

Philippe Mathieu-Daudé (5):
hw/cpu: Extend CPUState::cluster_index documentation hw/cpu/cluster: Only add CPU objects to CPU cluster hw/cpu/cluster: Restrict CPU cluster to a particular CPU type hw/arm: Restrict CPU clusters to the expected type hw/riscv: Restrict CPU clusters to the expected type

 accel/tcg/tcg-accel-ops.c  | 13 ++++++++++++-
 hw/arm/armsse.c            |  1 +
 hw/arm/xlnx-zynqmp.c       |  4 ++++
 hw/cpu/cluster.c           | 33 +++++++++++++++++++++++++++------
 hw/riscv/microchip_pfsoc.c |  4 ++++
 hw/riscv/sifive_u.c        |  2 ++
 include/hw/core/cpu.h      |  2 ++
 include/hw/cpu/cluster.h   |  1 +
 8 files changed, 53 insertions(+), 7 deletions(-)
Signature · 1 line
2.38.1