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-06-16 16:16:52 -04:00
2016-10-04 13:28:07 +01:00
2019-07-01 17:29:00 +01:00
2019-05-13 08:58:55 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2018-03-02 11:03:45 +00:00
2019-05-13 08:58:55 +02:00
2017-01-27 18:07:59 +01:00
2019-06-13 09:34:38 +02:00
2019-06-12 13:20:20 +02:00
2019-07-05 17:07:36 -03:00
2019-01-07 15:23:47 +00:00
2018-10-19 13:44:14 +02:00
2019-07-03 10:51:35 +02:00
2019-07-05 17:08:03 -03:00
2019-02-22 09:42:13 +00:00
2019-04-29 17:57:21 +01:00
2019-05-13 08:58:55 +02:00
2016-05-18 15:04:27 +03:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:21 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:21 +02:00
2019-03-11 10:44:21 -03:00
2019-06-12 13:20:21 +02:00
2019-07-01 17:29:00 +01:00
2019-06-12 13:20:20 +02:00
2019-05-23 14:10:31 +02:00
2019-07-04 17:00:32 -04:00
2019-06-12 13:20:21 +02:00
2019-06-12 14:43:47 +01:00
2019-07-02 09:43:58 +10:00
2019-03-16 15:52:44 +02:00
2019-06-27 02:47:06 -07:00
2019-06-24 17:27:57 +02:00
2019-06-04 15:22:22 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 17:53:22 +01:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:21 +02:00
2019-07-01 17:28:59 +01:00
2019-07-01 17:28:59 +01:00
2016-07-12 16:19:16 +02:00
2017-12-18 17:07:02 +03:00
2018-02-09 10:40:30 +00:00
2019-07-02 13:12:53 -06:00
2019-07-04 17:00:32 -04:00
2019-07-01 17:29:00 +01:00
2019-06-24 10:42:30 +01:00
2019-05-13 08:58:55 +02:00
2019-07-05 17:07:36 -03:00
2017-01-27 18:07:59 +01:00
2019-02-05 16:50:16 +01:00
2016-07-12 16:20:46 +02:00
2019-06-12 13:20:20 +02:00
2018-12-11 15:45:22 -02:00
2019-06-12 13:18:33 +02:00
2019-01-25 14:52:12 -05:00
2018-03-02 11:03:45 +00:00
2018-02-09 05:05:11 +01:00
2019-02-05 16:50:16 +01:00
2019-06-12 13:20:20 +02:00
2018-06-15 15:23:34 +01:00
2019-01-22 05:14:32 +01:00
2018-05-10 18:10:56 +01:00
2019-06-12 13:20:20 +02:00
2019-05-20 18:40:02 -04:00
2019-06-12 13:20:21 +02:00
2019-06-04 15:22:22 +02:00
2013-04-08 18:13:10 +02:00
2018-03-01 11:05:43 +00:00
2018-02-09 05:05:11 +01:00
2019-06-12 13:20:20 +02:00
2019-05-29 11:39:46 +10:00
2019-01-11 15:46:55 +01:00