On 8/9/21 12:22 PM, Claudio Imbrenda wrote:
On Mon, 9 Aug 2021 10:48:54 +0200
Pierre Morel <pmorel@xxxxxxxxxxxxx> wrote:
STSI with function code 15 is used to store the CPU configuration
topology.
...
+static void check_sysinfo_15_1_x(struct sysinfo_15_1_x *info)
+{
+ struct topology_container *tc, *end;
+ struct topology_core *cpus;
+ int nb_nl0 = 0, nb_nl1 = 0, nb_nl2 = 0, nb_nl3 = 0;
+
+ if (mnest > 5)
+ report(info->mag6 == 0, "topology level 6");
+ if (mnest > 4)
+ report(info->mag5 == nodes, "Maximum number of
nodes");
+ if (mnest > 3)
+ report(info->mag4 == drawers, "Maximum number of
drawers");
+ if (mnest > 2)
+ report(info->mag3 == books, "Maximum number of
book");
* books
right, thanks
...
regards,
Pierre
--
Pierre Morel
IBM Lab Boeblingen