mbox series

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

Message ID 20240529061925.350323-1-zhao1.liu@intel.com (mailing list archive)
Headers show
Series tests/unit/test-smp-sparse: Misc Cleanup and Add Module Test | expand

Message

Zhao Liu May 29, 2024, 6:19 a.m. UTC
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(-)

Comments

Ma, Yongwei May 30, 2024, 2:49 a.m. UTC | #1
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