From: Paolo Bonzini Date: Thu, 4 Dec 2014 14:11:11 +0000 (+0100) Subject: KVM: cpuid: mask more bits in leaf 0xd and subleaves X-Git-Tag: omap-for-v3.20/drop-legacy-3517~40^2~13 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=404e0a19e155e2303a081109f3ae5e625ac8030a;p=pandora-kernel.git KVM: cpuid: mask more bits in leaf 0xd and subleaves - EAX=0Dh, ECX=1: output registers EBX/ECX/EDX are reserved. - EAX=0Dh, ECX>1: output register ECX bit 0 is clear for all the CPUID leaves we support, because variable "supported" comes from XCR0 and not XSS. Bits above 0 are reserved, so ECX is overall zero. Output register EDX is reserved. Source: Intel Architecture Instruction Set Extensions Programming Reference, ref. number 319433-022 Reviewed-by: Radim Krčmář Tested-by: Wanpeng Li Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed