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