Skip to content

Cleanup on SMP and its test

Zhao Liu qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest13 patches 7 repliesIn review
  2. v114 patches 17 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13hw/core/machine-smp: Remove deprecated "parameter=0" SMP configurationsdocs/about/deprecated.rst docs/about/removed-features.rst hw/core/machine-smp.c+18 -180 replies
2/13hw/core/machine-smp: Deprecate unsupported "parameter=1" SMP configurationsdocs/about/deprecated.rst hw/core/machine-smp.c+61 -161 reply
3/13hw/core/machine-smp: Calculate total CPUs once in machine_parse_smp_config()hw/core/machine-smp.c+4 -40 replies
4/13tests/unit/test-smp-parse: Drop the unsupported "dies=1" casetests/unit/test-smp-parse.c+0 -50 replies
5/13tests/unit/test-smp-parse: Use CPU number macros in invalid topology casetests/unit/test-smp-parse.c+14 -80 replies
6/13tests/unit/test-smp-parse: Bump max_cpus to 4096tests/unit/test-smp-parse.c+7 -70 replies
7/13tests/unit/test-smp-parse: Make test cases aware of the book/drawertests/unit/test-smp-parse.c+22 -30 replies
8/13tests/unit/test-smp-parse: Test "books" parameter in -smptests/unit/test-smp-parse.c+105 -00 replies
9/13tests/unit/test-smp-parse: Test "drawers" parameter in -smptests/unit/test-smp-parse.c+89 -00 replies
10/13tests/unit/test-smp-parse: Test "drawers" and "books" combination casetests/unit/test-smp-parse.c+103 -00 replies
11/13tests/unit/test-smp-parse: Test the full 7-levels topology hierarchytests/unit/test-smp-parse.c+143 -00 replies
12/13tests/unit/test-smp-parse: Test smp_props.has_clusterstests/unit/test-smp-parse.c+14 -60 replies
13/13tests/unit/test-smp-parse: Test "parameter=0" SMP configurationstests/unit/test-smp-parse.c+92 -00 replies

Reviews trailers per patch

All 13 patches have a Reviewed-by or Acked-by.

PatchXiaoling SongThomas HuthPhilippe Mathieu-DaudéPrasad Pandit
1/13R-b R-b
2/13R-b
3/13R-b
4/13R-b
5/13T-b R-b
6/13T-b R-b
7/13T-b R-b
8/13T-b R-b
9/13T-b R-b
10/13T-b R-b
11/13T-b A-b
12/13T-b A-b
13/13R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 00/13] Cleanup on SMP and its test

From: Zhao Liu <[email protected]>

Hi,

This is v2 to cleanup SMP and its test cases.

Compared with v1, v2 have these changes:
* Dropped the patch [2] about making default initialization based on SMPConfiguration members. (Thomas)
* Fixed typos. (Thomas)

This series includes:
* [Patch 1] Remove deprecated "parameter=0" SMP configurations, which is marked as deprecated in v6.2.
* [Patch 2] Deprecate unsupported "parameter=1" SMP configurations.
* [Patch 3] Minor code cleanup for machine_parse_smp_config().
* [Patch 4 ~ 13] Test case enhancements to cover more SMP API changes.

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

Thanks for your review!

Best Regards,
Zhao
---
Zhao Liu (13):
hw/core/machine-smp: Remove deprecated "parameter=0" SMP
configurations
hw/core/machine-smp: Deprecate unsupported "parameter=1" SMP
configurations
hw/core/machine-smp: Calculate total CPUs once in
machine_parse_smp_config()
tests/unit/test-smp-parse: Drop the unsupported "dies=1" case tests/unit/test-smp-parse: Use CPU number macros in invalid topology
case
tests/unit/test-smp-parse: Bump max_cpus to 4096 tests/unit/test-smp-parse: Make test cases aware of the book/drawer tests/unit/test-smp-parse: Test "books" parameter in -smp tests/unit/test-smp-parse: Test "drawers" parameter in -smp tests/unit/test-smp-parse: Test "drawers" and "books" combination case tests/unit/test-smp-parse: Test the full 7-levels topology hierarchy tests/unit/test-smp-parse: Test smp_props.has_clusters tests/unit/test-smp-parse: Test "parameter=0" SMP configurations

 docs/about/deprecated.rst       |  30 +-
 docs/about/removed-features.rst |  15 +
 hw/core/machine-smp.c           |  76 ++--
 tests/unit/test-smp-parse.c     | 612 ++++++++++++++++++++++++++++++--
 4 files changed, 669 insertions(+), 64 deletions(-)
Signature · 1 line
2.34.1