mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86/cpuid: fix raw FEATURESET_7d0 reporting
Commit 62b1879693 ("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>
This commit is contained in:
1 parent
44c709e630
commit
f99bc153d2
1 file changed
+1
-1
@@ -113,7 +113,7 @@ static void __init calculate_raw_featureset(void)
|
||||
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],
|
||||
|
||||