Re: [kvm-unit-tests PATCH v1 4/4] s390x: Topology: checking Configuration Topology Information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux