[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-s390
Subject:    Re: [kvm-unit-tests PATCH 08/10] s390x: topology: Rewrite topology list test
From:       Janosch Frank <frankja () linux ! ibm ! com>
Date:       2023-10-27 13:57:57
Message-ID: e27698dd-76e7-4c5c-a1c9-a146e239da7f () linux ! ibm ! com
[Download RAW message or body]

On 10/20/23 16:48, Nina Schoetterl-Glausch wrote:
> Rewrite recursion with separate functions for checking containers,
> containers containing CPUs and CPUs.
> This improves comprehension and allows for more tests.
> We now also test for ordering of CPU TLEs and number of child entries.
> 
> Signed-off-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>

So, I've spent some time with the STSI specification and most of what 
I've read makes sense, the other parts likely need more research on my 
end. Anyway:

Acked-by: Janosch Frank <frankja@linux.ibm.com>

> ---
>   lib/s390x/stsi.h |  36 +++++----
>   s390x/topology.c | 201 ++++++++++++++++++++++++++++-------------------
>   2 files changed, 142 insertions(+), 95 deletions(-)
> 
> diff --git a/lib/s390x/stsi.h b/lib/s390x/stsi.h
> index 1e9d0958..f2290ca7 100644
> --- a/lib/s390x/stsi.h
> +++ b/lib/s390x/stsi.h
[...]
>   #define CPU_TOPOLOGY_MAX_LEVEL 6
> diff --git a/s390x/topology.c b/s390x/topology.c
> index df158aef..037d22cd 100644
> --- a/s390x/topology.c
> +++ b/s390x/topology.c
> @@ -2,7 +2,7 @@
>   /*
>    * CPU Topology
>    *
> - * Copyright IBM Corp. 2022
> + * Copyright IBM Corp. 2022, 2023
>    *
>    * Authors:
>    *  Pierre Morel <pmorel@linux.ibm.com>

If you touch this anyway, it might make sense to add your name to the 
authors :)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic