qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] tests/unit/test-smp-parse.c: Add more CPU topology test cases
@ 2024-01-18 14:48 Zhao Liu
  2024-01-18 14:48 ` [PATCH 1/8] tests/unit/test-smp-parse.c: Use CPU number macros in invalid topology case Zhao Liu
                   ` (9 more replies)
  0 siblings, 10 replies; 20+ messages in thread
From: Zhao Liu @ 2024-01-18 14:48 UTC (permalink / raw)
  To: Eduardo Habkost, Marcel Apfelbaum, Philippe Mathieu-Daudé,
	Yanan Wang
  Cc: qemu-devel, Xiaoling Song, Zhao Liu

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



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2024-03-01  8:01 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-18 14:48 [PATCH 0/8] tests/unit/test-smp-parse.c: Add more CPU topology test cases Zhao Liu
2024-01-18 14:48 ` [PATCH 1/8] tests/unit/test-smp-parse.c: Use CPU number macros in invalid topology case Zhao Liu
2024-03-01  7:37   ` Thomas Huth
2024-01-18 14:48 ` [PATCH 2/8] tests/unit/test-smp-parse.c: Bump max_cpus to 4096 Zhao Liu
2024-03-01  7:40   ` Thomas Huth
2024-03-01  7:59     ` Zhao Liu
2024-01-18 14:48 ` [PATCH 3/8] tests/unit/test-smp-parse.c: Make test cases aware of the book/drawer Zhao Liu
2024-03-01  7:49   ` Thomas Huth
2024-01-18 14:48 ` [PATCH 4/8] tests/unit/test-smp-parse.c: Test "books" parameter in -smp Zhao Liu
2024-03-01  7:52   ` Thomas Huth
2024-01-18 14:48 ` [PATCH 5/8] tests/unit/test-smp-parse.c: Test "drawers" " Zhao Liu
2024-03-01  7:56   ` Thomas Huth
2024-01-18 14:48 ` [PATCH 6/8] tests/unit/test-smp-parse.c: Test "drawers" and "books" combination case Zhao Liu
2024-01-18 14:48 ` [PATCH 7/8] tests/unit/test-smp-parse.c: Test the full 7-levels topology hierarchy Zhao Liu
2024-03-01  7:59   ` Thomas Huth
2024-01-18 14:48 ` [PATCH 8/8] tests/unit/test-smp-parse.c: Test smp_props.has_clusters Zhao Liu
2024-03-01  8:01   ` Thomas Huth
2024-01-29  2:37 ` [PATCH 0/8] tests/unit/test-smp-parse.c: Add more CPU topology test cases Song, Xiaoling
2024-01-29  9:38 ` Zhao Liu
2024-02-21  6:47   ` Zhao Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).