Gavin Shan
e280ecb39b
qtest/numa-test: Correct CPU and NUMA association in aarch64_numa_cpu()
...
In aarch64_numa_cpu(), the CPU and NUMA association is something
like below. Two threads in the same core/cluster/socket are
associated with two individual NUMA nodes, which is unreal as
Igor Mammedov mentioned. We don't expect the association to break
NUMA-to-socket boundary, which matches with the real world.
NUMA-node socket cluster core thread
------------------------------------------
0 0 0 0 0
1 0 0 0 1
This corrects the topology for CPUs and their association with
NUMA nodes. After this patch is applied, the CPU and NUMA
association becomes something like below, which looks real.
Besides, socket/cluster/core/thread IDs are all checked when
the NUMA node IDs are verified. It helps to check if the CPU
topology is properly populated or not.
NUMA-node socket cluster core thread
------------------------------------------
0 1 0 0 0
1 0 0 0 0
Suggested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Gavin Shan <gshan@redhat.com>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20220503140304.855514-5-gshan@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2022-05-09 11:47:55 +01:00
..
2022-05-03 15:47:38 +04:00
2022-05-03 15:17:08 +04:00
2022-05-03 15:16:51 +04:00
2022-04-06 14:31:55 +02:00
2022-05-03 15:16:51 +04:00
2021-07-08 14:41:59 -05:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-02 17:03:04 +02:00
2022-05-03 09:13:17 -07:00
2022-03-06 16:06:16 -05:00
2022-04-06 14:31:55 +02:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-04-06 14:31:55 +02:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-04-06 14:31:55 +02:00
2022-05-03 15:16:51 +04:00
2021-06-17 07:10:32 -05:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:23 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-02-21 10:13:23 +01:00
2022-05-03 15:16:51 +04:00
2022-03-21 10:25:21 +01:00
2022-04-06 14:31:55 +02:00
2022-05-03 15:16:51 +04:00
2022-03-08 18:46:48 +01:00
2022-05-03 15:46:08 +04:00
2022-05-03 15:17:08 +04:00
2022-05-03 15:17:08 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:17:08 +04:00
2022-05-03 15:17:08 +04:00
2022-05-03 15:16:51 +04:00
2022-02-08 10:56:29 +00:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2021-07-08 14:42:00 -05:00
2022-05-03 15:16:51 +04:00
2022-05-07 07:46:58 +02:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-04-06 14:31:55 +02:00
2022-05-03 15:16:51 +04:00
2022-04-06 14:31:43 +02:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-09 11:47:55 +01:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-04-06 14:31:55 +02:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2021-12-22 08:13:05 +01:00
2022-04-06 14:31:55 +02:00
2021-06-17 07:10:32 -05:00
2022-05-03 15:16:51 +04:00
2021-08-31 17:33:11 -04:00
2021-08-31 17:33:12 -04:00
2022-05-03 15:16:51 +04:00
2021-06-03 16:43:27 +01:00
2022-05-03 15:16:51 +04:00
2021-08-31 17:33:11 -04:00
2022-05-03 15:16:51 +04:00
2021-08-31 17:33:11 -04:00
2021-08-31 17:33:10 -04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-04-06 10:50:37 +02:00
2022-05-03 15:53:15 +04:00
2022-03-21 15:44:44 +01:00
2022-04-06 10:50:37 +02:00
2022-03-06 05:08:23 -05:00
2022-05-03 15:16:51 +04:00
2022-04-06 14:31:55 +02:00
2022-05-03 15:16:51 +04:00
2021-06-04 13:47:08 +02:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00