Like Xu
d65af288a8
i386: Update new x86_apicid parsing rules with die_offset support
...
In new sockets/dies/cores/threads model, the apicid of logical cpu could
imply die level info of guest cpu topology thus x86_apicid_from_cpu_idx()
need to be refactored with #dies value, so does apicid_*_offset().
To keep semantic compatibility, the legacy pkg_offset which helps to
generate CPUIDs such as 0x3 for L3 cache should be mapping to die_offset.
Signed-off-by: Like Xu <like.xu@linux.intel.com>
Message-Id: <20190612084104.34984-5-like.xu@linux.intel.com>
[ehabkost: squash unit test patch]
Message-Id: <20190612084104.34984-6-like.xu@linux.intel.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2019-07-05 17:08:03 -03:00
..
2019-07-01 19:02:10 -03:00
2019-06-16 16:44:44 -04:00
2019-03-12 09:46:58 -07:00
2019-06-24 16:01:04 +02:00
2019-06-12 13:20:21 +02:00
2019-07-01 19:02:10 -03:00
2019-03-08 12:26:45 +01:00
2019-06-04 15:20:41 +02:00
2019-06-12 18:35:26 +02:00
2019-07-04 11:40:50 +01:00
2019-07-02 14:20:24 +02:00
2019-06-12 13:20:20 +02:00
2019-07-04 19:23:07 +01:00
2019-03-14 16:02:13 +01:00
2019-06-12 13:18:33 +02:00
2019-05-20 18:40:02 -04:00
2019-05-20 18:40:02 -04:00
2019-03-12 07:40:59 +01:00
2019-06-16 16:44:44 -04:00
2019-06-05 15:54:15 -04:00
2019-04-12 12:40:35 +02:00
2019-03-07 22:05:54 +01:00
2019-06-12 13:20:21 +02:00
2019-06-12 13:20:21 +02:00
2019-05-21 10:00:41 +02:00
2019-05-08 17:45:54 +02:00
2019-06-03 14:03:02 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-03-06 10:10:36 +01:00
2019-05-23 14:10:31 +02:00
2019-05-21 10:00:46 +02:00
2019-03-07 16:50:04 +01:00
2019-05-08 16:59:28 +02:00
2019-06-12 13:20:20 +02:00
2019-03-06 10:10:36 +01:00
2019-03-06 10:10:36 +01:00
2019-06-12 13:18:33 +02:00
2019-05-08 17:45:54 +02:00
2019-06-11 20:22:09 +02:00
2019-06-05 12:44:03 +02:00
2019-03-07 22:16:22 +01:00
2019-07-02 14:17:15 +02:00
2019-07-04 15:58:46 +01:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-05-21 10:00:32 +02:00
2019-06-12 13:18:33 +02:00
2019-06-03 14:03:02 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-07-02 02:34:55 +02:00
2019-03-12 14:33:05 +11:00
2019-03-12 16:07:14 +11:00
2019-03-12 16:07:14 +11:00
2019-05-21 10:00:27 +02:00
2019-05-08 16:59:28 +02:00
2019-05-21 10:00:37 +02:00
2019-06-12 13:18:33 +02:00
2019-05-26 17:45:02 +02:00
2019-03-07 17:28:07 +01:00
2019-03-07 22:16:22 +01:00
2019-03-08 16:31:34 +00:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:20:21 +02:00
2019-06-12 13:18:33 +02:00
2019-05-08 16:59:28 +02:00
2019-03-07 22:16:22 +01:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-04 16:55:58 +02:00
2019-06-04 15:22:22 +02:00
2019-06-04 15:22:22 +02:00
2019-06-04 15:22:22 +02:00
2019-06-18 16:41:10 +02:00
2019-06-12 13:18:33 +02:00
2019-03-07 22:16:22 +01:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-05-08 16:59:28 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-03-18 10:48:06 -05:00
2019-03-11 16:33:49 +01:00
2019-06-12 18:35:17 +02:00
2019-06-03 14:03:00 +02:00
2019-06-12 13:18:33 +02:00
2019-04-02 13:52:02 +01:00
2019-06-18 08:14:17 +02:00
2019-06-12 13:18:33 +02:00
2019-07-05 17:08:03 -03:00
2019-06-03 14:03:02 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-05-13 08:58:55 +02:00
2019-05-08 16:59:28 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-03-07 16:50:04 +01:00
2019-06-12 13:18:33 +02:00
2019-07-04 17:00:32 -04:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-07-02 10:21:07 +08:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-05-20 18:40:02 -04:00
2019-06-12 13:18:33 +02:00