Skip to contentSkip to conversation

tools/cpuid: Update xen-cpuid for Coffee Lake processors

PATCH In review Andrew Cooper 2 participants 3 messages Mar 13, 2019 – Mar 14, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/cpuid: Update xen-cpuid for Coffee Lake processors

Just SGX Launch Configuration is missing for one of my test boxes.

---
CC: Jan Beulich <[email protected]>
CC: Wei Liu <[email protected]>
CC: Roger Pau Monné <[email protected]>

---
 tools/misc/xen-cpuid.c | 2 ++
 1 file changed, 2 insertions(+)
tools/misc/xen-cpuid.c +2 -0
index d87a72e..2e4ca57 100644
@@ -127,6 +127,8 @@ static const char *str_7c0[32] =
     [14] = "avx512_vpopcntdq",
 
     [22] = "rdpid",
+
+    [30] = "sgx-lc",
 };
 
 static const char *str_e7d[32] =
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#1 lore raw

tools/misc/xen-cpuid.c static const char *str_7c0[32] = · line 134

Quoted 12 lines
Quoted 1 line
Quoted 1 line · On 13.03.19 at 20:37, <[email protected]> wrote:
tools/misc/xen-cpuid.c +2 -0
@@ -127,6 +127,8 @@ static const char *str_7c0[32] =
     [14] = "avx512_vpopcntdq",
 
     [22] = "rdpid",
+
+    [30] = "sgx-lc",
 };
 
 static const char *str_e7d[32] =

Hmm, to be honest I don't see why this needs to go in ahead of
https://lists.xenproject.org/archives/html/xen-devel/2018-12/msg01813.html
posted almost 3 months ago, and already taking care of the bit. I'm fine to switch from underscore to dash there if that's desired, but it looks inconsistent with pre-existing entries (as the context of your patch also shows).

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#2 lore raw
Quoted 11 lines · Jan Beulich
Quoted 11 lines
Quoted 1 line
Quoted 1 line · On 13.03.19 at 20:37, <[email protected]> wrote:
tools/misc/xen-cpuid.c +2 -0
@@ -127,6 +127,8 @@ static const char *str_7c0[32] =
     [14] = "avx512_vpopcntdq",
 
     [22] = "rdpid",
+
+    [30] = "sgx-lc",
 };
 
Quoted 4 lines

tools/misc/xen-cpuid.c static const char *str_7c0[32] = · line 134

Quoted 1 line
tools/misc/xen-cpuid.c +0 -0
 static const char *str_e7d[32] =

Hmm, to be honest I don't see why this needs to go in ahead of
https://lists.xenproject.org/archives/html/xen-devel/2018-12/msg01813.html
posted almost 3 months ago, and already taking care of the bit.

Because its hidden at the end of a series I haven't gotten to the end of yet.  But yes - it does look to be a more complete patch so lets start there.

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel