[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/8] tests/unit/test-smp-parse.c: Add more CPU topology test case
|
From: |
Zhao Liu |
|
Subject: |
[PATCH 0/8] tests/unit/test-smp-parse.c: Add more CPU topology test cases |
|
Date: |
Thu, 18 Jan 2024 22:48:49 +0800 |
From: Zhao Liu <zhao1.liu@intel.com>
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/20231208122611.32311-1-anisinha@redhat.com/
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(-)
--
2.34.1
- [PATCH 0/8] tests/unit/test-smp-parse.c: Add more CPU topology test cases,
Zhao Liu <=
- [PATCH 5/8] tests/unit/test-smp-parse.c: Test "drawers" parameter in -smp, Zhao Liu, 2024/01/18
- [PATCH 4/8] tests/unit/test-smp-parse.c: Test "books" parameter in -smp, Zhao Liu, 2024/01/18
- [PATCH 1/8] tests/unit/test-smp-parse.c: Use CPU number macros in invalid topology case, Zhao Liu, 2024/01/18
- [PATCH 2/8] tests/unit/test-smp-parse.c: Bump max_cpus to 4096, Zhao Liu, 2024/01/18
- [PATCH 3/8] tests/unit/test-smp-parse.c: Make test cases aware of the book/drawer, Zhao Liu, 2024/01/18
- [PATCH 8/8] tests/unit/test-smp-parse.c: Test smp_props.has_clusters, Zhao Liu, 2024/01/18
- [PATCH 7/8] tests/unit/test-smp-parse.c: Test the full 7-levels topology hierarchy, Zhao Liu, 2024/01/18
- [PATCH 6/8] tests/unit/test-smp-parse.c: Test "drawers" and "books" combination case, Zhao Liu, 2024/01/18
- Re: [PATCH 0/8] tests/unit/test-smp-parse.c: Add more CPU topology test cases, Song, Xiaoling, 2024/01/29
- Re: [PATCH 0/8] tests/unit/test-smp-parse.c: Add more CPU topology test cases, Zhao Liu, 2024/01/29