]> xenbits.xensource.com Git - xen.git/commit
x86/AMD: distinguish compute units from hyper-threads
authorJan Beulich <jbeulich@suse.com>
Mon, 30 Jul 2018 12:19:05 +0000 (14:19 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 30 Jul 2018 12:19:05 +0000 (14:19 +0200)
commitcf7d9d1f3a04b6626e00c0683d414be933b9d011
tree902e985d63ff2720fd7f0c8ee2b11091fe7b9519
parent170c48b71880d00353b71f09100d1fd1ba07868e
x86/AMD: distinguish compute units from hyper-threads

Fam17 replaces CUs by HTs, which we should reflect accordingly, even if
the difference is not very big. The most relevant change (requiring some
code restructuring) is that the topoext feature no longer means there is
a valid CU ID.

Take the opportunity and convert wrongly plain int variables in
set_cpu_sibling_map() to unsigned int.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Brian Woods <brian.woods@amd.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: 9429b07a0af7f92a5f25e4068e11db881e157495
master date: 2018-07-19 09:42:42 +0200
xen/arch/x86/cpu/amd.c
xen/arch/x86/smpboot.c