[PATCH] x86/CPUID: correct FEATURESET_7d2 comment

Jan Beulich posted 1 patch 2 years, 2 months ago
Failed in applying to current master (apply log)
[PATCH] x86/CPUID: correct FEATURESET_7d2 comment
Posted by Jan Beulich 2 years, 2 months ago
Signed-off-by: Jan Beulich <jbeulich@suse.com>

--- a/xen/include/xen/lib/x86/cpuid.h
+++ b/xen/include/xen/lib/x86/cpuid.h
@@ -17,7 +17,7 @@
 #define FEATURESET_7a1   10 /* 0x00000007:1.eax    */
 #define FEATURESET_e21a  11 /* 0x80000021.eax      */
 #define FEATURESET_7b1   12 /* 0x00000007:1.ebx    */
-#define FEATURESET_7d2   13 /* 0x80000007:2.edx    */
+#define FEATURESET_7d2   13 /* 0x00000007:2.edx    */
 
 struct cpuid_leaf
 {
Re: [PATCH] x86/CPUID: correct FEATURESET_7d2 comment
Posted by Andrew Cooper 2 years, 2 months ago
On 28/02/2022 10:55, Jan Beulich wrote:
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
>
> --- a/xen/include/xen/lib/x86/cpuid.h
> +++ b/xen/include/xen/lib/x86/cpuid.h
> @@ -17,7 +17,7 @@
>  #define FEATURESET_7a1   10 /* 0x00000007:1.eax    */
>  #define FEATURESET_e21a  11 /* 0x80000021.eax      */
>  #define FEATURESET_7b1   12 /* 0x00000007:1.ebx    */
> -#define FEATURESET_7d2   13 /* 0x80000007:2.edx    */
> +#define FEATURESET_7d2   13 /* 0x00000007:2.edx    */

Oops.

Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>