tests/unit/test-smp-parse.c: Add more CPU topology test cases
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | tests/unit/test-smp-parse.c: Use CPU number macros in invalid topology casetests/ | +14 | 1 reply | |
| 2/8 | tests/unit/test-smp-parse.c: Bump max_cpus to 4096tests/ | +7 | 2 replies | |
| 3/8 | tests/unit/test-smp-parse.c: Make test cases aware of the book/drawertests/ | +22 | 1 reply | |
| 4/8 | tests/unit/test-smp-parse.c: Test "books" parameter in -smptests/ | +105 | 1 reply | |
| 5/8 | tests/unit/test-smp-parse.c: Test "drawers" parameter in -smptests/ | +89 | 1 reply | |
| 6/8 | tests/unit/test-smp-parse.c: Test "drawers" and "books" combination casetests/ | +103 | 0 replies | |
| 7/8 | tests/unit/test-smp-parse.c: Test the full 7-levels topology hierarchytests/ | +143 | 1 reply | |
| 8/8 | tests/unit/test-smp-parse.c: Test smp_props.has_clusterstests/ | +14 | 1 reply |
Reviews trailers per patch
6 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Xiaoling Song | Thomas Huth |
|---|---|---|
| Series | T-b | |
| 1/8 | R-b | |
| 2/8 | ||
| 3/8 | R-b | |
| 4/8 | R-b | |
| 5/8 | R-b | |
| 6/8 | ||
| 7/8 | A-b | |
| 8/8 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] tests/unit/test-smp-parse.c: Add more CPU topology test cases
From: Zhao Liu <[email protected]>
Hi list,
Currently, test-smp-parse lacks the following cases:
* The case to cover drawer and book parameters parsing in -smp.
* The case to cover the full topology (with total 7 levels) to ensure that the topology-related calculations are correct.
* The case to check smp_props.has_clusters of MachineClass.
Thus, add the above cases to improve test coverage.
In addition, people is trying to bump max_cpus to 4096 for PC machine [1]. Without considering other changes, it's only a matter of time before the maximum CPUs is raised. Therefore, aslo bump max_cpus to 4096 in -smp related test cases as a start.
[1]: https://lore.kernel.org/qemu-devel/[email protected]/
Regards,
Zhao
---
Zhao Liu (8):
tests/unit/test-smp-parse.c: Use CPU number macros in invalid topology
case
tests/unit/test-smp-parse.c: Bump max_cpus to 4096 tests/unit/test-smp-parse.c: Make test cases aware of the book/drawer tests/unit/test-smp-parse.c: Test "books" parameter in -smp tests/unit/test-smp-parse.c: Test "drawers" parameter in -smp tests/unit/test-smp-parse.c: Test "drawers" and "books" combination
case
tests/unit/test-smp-parse.c: Test the full 7-levels topology hierarchy tests/unit/test-smp-parse.c: Test smp_props.has_clusters
tests/unit/test-smp-parse.c | 515 ++++++++++++++++++++++++++++++++++-- 1 file changed, 494 insertions(+), 21 deletions(-)
Signature · 1 line
2.34.1