File x86-CPUID-raw-featureset-7d0.patch of Package xen.7652
x86/cpuid: fix raw FEATURESET_7d0 reporting
Commit 62b1879693e0 ("x86: further CPUID handling adjustments") added
FEATURESET_7d0 reporting but forgot to update calculate_raw_featureset()
function. As result, the value reported by xen-cpuid contains 0.
Fix that by properly filling raw_featureset[FEATURESET_7d0].
Signed-off-by: Sergey Dyasli <sergey.dyasli@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
--- sle12sp2.orig/xen/arch/x86/cpuid.c 2018-03-28 16:33:59.000000000 +0200
+++ sle12sp2/xen/arch/x86/cpuid.c 2018-05-17 16:03:06.000000000 +0200
@@ -113,7 +113,7 @@ static void __init calculate_raw_feature
cpuid_count(0x7, 0, &tmp,
&raw_featureset[FEATURESET_7b0],
&raw_featureset[FEATURESET_7c0],
- &tmp);
+ &raw_featureset[FEATURESET_7d0]);
if ( max >= 0xd )
cpuid_count(0xd, 1,
&raw_featureset[FEATURESET_Da1],