[PATCH 0/8] tests/unit/test-smp-sparse: Misc Cleanup and Add Module Test

Zhao Liu posted 8 patches 1 year, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240529061925.350323-1-zhao1.liu@intel.com
Maintainers: Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>
tests/unit/test-smp-parse.c | 373 ++++++++++++++++++++++++++++++------
1 file changed, 311 insertions(+), 62 deletions(-)
[PATCH 0/8] tests/unit/test-smp-sparse: Misc Cleanup and Add Module Test
Posted by Zhao Liu 1 year, 5 months ago
Hi,

Since the module support has landed in x86, and it's time to add the
module's -smp test cases to cover the relevant code path.

This series adds the module tests to ensure that this new level does
not break the current topology information calculations. It also
includes some misc cleanup.

Thanks and Best Regadrs,
Zhao
---
Zhao Liu (8):
  tests/unit/test-smp-parse: Fix comments of drawers and books case
  tests/unit/test-smp-parse: Fix comment of parameters=1 case
  tests/unit/test-smp-parse: Fix an invalid topology case
  tests/unit/test-smp-parse: Use default parameters=0 when not set in
    -smp
  tests/unit/test-smp-parse: Make test cases aware of module level
  tests/unit/test-smp-parse: Test "modules" parameter in -smp
  tests/unit/test-smp-parse: Test "modules" and "dies" combination case
  tests/unit/test-smp-parse: Test the full 8-levels topology hierarchy

 tests/unit/test-smp-parse.c | 373 ++++++++++++++++++++++++++++++------
 1 file changed, 311 insertions(+), 62 deletions(-)

-- 
2.34.1
RE: [PATCH 0/8] tests/unit/test-smp-sparse: Misc Cleanup and Add Module Test
Posted by Ma, Yongwei 1 year, 5 months ago
On 2024/5/30 10:45, Yongwei Ma wrote:
> Hi,
> 
> Since the module support has landed in x86, and it's time to add the
> module's -smp test cases to cover the relevant code path.
> 
> This series adds the module tests to ensure that this new level does not
> break the current topology information calculations. It also includes some
> misc cleanup.
> 
> Thanks and Best Regadrs,
> Zhao
> ---
> Zhao Liu (8):
>   tests/unit/test-smp-parse: Fix comments of drawers and books case
>   tests/unit/test-smp-parse: Fix comment of parameters=1 case
>   tests/unit/test-smp-parse: Fix an invalid topology case
>   tests/unit/test-smp-parse: Use default parameters=0 when not set in
>     -smp
>   tests/unit/test-smp-parse: Make test cases aware of module level
>   tests/unit/test-smp-parse: Test "modules" parameter in -smp
>   tests/unit/test-smp-parse: Test "modules" and "dies" combination case
>   tests/unit/test-smp-parse: Test the full 8-levels topology hierarchy
> 
>  tests/unit/test-smp-parse.c | 373 ++++++++++++++++++++++++++++++------
>  1 file changed, 311 insertions(+), 62 deletions(-)
> 
> --
> 2.34.1
Tested on my x86 Ice Lake platform, 'test-smp-parse' case could PASS.
Tested-by: Yongwei Ma<yongwei.ma@intel.com>

Thanks and Best Regards,
Yongwei Ma