]> git.baikalelectronics.ru Git - kernel.git/commit
xen: mask extended topology info in cpuid
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 22 Oct 2009 23:41:15 +0000 (16:41 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 3 Nov 2009 19:09:12 +0000 (11:09 -0800)
commit7a123a58df089896aecc4976c9d69fda02298d27
treef4d95a9159234b66d26e4e8ebe661e105929234b
parente00d14a3a00937841e6105807b270bf0ca2608a9
xen: mask extended topology info in cpuid

A Xen guest never needs to know about extended topology, and knowing
would just confuse it.

This patch just zeros ebx in leaf 0xb which indicates no topology info,
preventing a crash under Xen on cpus which support this leaf.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stable Kernel <stable@kernel.org>
arch/x86/xen/enlighten.c