[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] x86/decode: Decode remaining TigerLake features
- To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- Date: Wed, 26 Jan 2022 18:47:58 +0000
- Authentication-results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
- Delivery-date: Wed, 26 Jan 2022 18:48:31 +0000
- Ironport-data: A9a23:iI2eC6O5BuzpZb/vrR1xkMFynXyQoLVcMsEvi/4bfWQNrUol0zRVx mdMCGzUaPeCMTf3f4sjOty2pBxQsMfSztdjTgto+SlhQUwRpJueD7x1DKtR0wB+jCHnZBg6h ynLQoCYdKjYdpJYz/uUGuCJQUNUjMlkfZKhTr6UUsxNbVU8En150Eg9w7RRbrNA2rBVPSvc4 bsenOWHULOV82Yc3rU8sv/rRLtH5ZweiRtA1rAMTakjUGz2zhH5OKk3N6CpR0YUd6EPdgKMq 0Qv+5nilo/R109F5tpICd8XeGVSKlLZFVDmZna7x8FOK/WNz8A/+v9TCRYSVatYoxyS2MB82 NlhjsWLRlwANZzwpO0cTzANRkmSPYUekFPGCX22sMjVxEzaaXr8hf5pCSnaP6VBpLwxWzsXs 6VFdnZdNXhvhMrvqF6/YsBqit4uM4/AO4QHt2s75TrYEewnUdbIRKCiCdpwgm1q150RRK+2i 8wxdR9/TQ/heCB2PV4vJ6xknuf4hV7CSmgNwL6SjfVuuDWCpOBr65DyNPLFd9rMQt9a9m66j G/b+2XyAjkBKceSjzGC9xqEluLJ2C/2Ro8WPLm57eJxxk2ewHQJDx8bXkf9puO24nNSQPoGd RZSoHB36/Fvqgr7FbERQiFUvlatpVkMVspcP9Zj0w7W46Hl3zqQB3QtG2sphMMdiOc6Q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w4CSeZMAeuTovkgAWfLyPFsua/cEto8JT9qCQp28qz4+pAhX flRaAUScUFrqodAjIsTeIJCqZsYE9yvrN7iggTEvUiUok9he7hKTnX0WatCCIEJnsG0kjAY/D1 3hTLKyu5hRXaPHDuxxIO6678XoiNAuMv7pGLTCTbes9BQ0vmerLH1j1LQv926tDTbCQEEMCf7u Z+YOZEq52atY/qQgzhyS9wVL+v29kr7dYQxDu7jUWAxtTk15jhC8s5ztjdyUk6XcevT0dLdr7w C6pqpK0ImAfETX8k3JcgDBy3
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
These are the two remaining TGL features which xen-cpuid doesn't know yet.
Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
CC: Jan Beulich <JBeulich@xxxxxxxx>
CC: Roger Pau Monné <roger.pau@xxxxxxxxxx>
CC: Wei Liu <wl@xxxxxxx>
---
tools/libs/light/libxl_cpuid.c | 2 ++
tools/misc/xen-cpuid.c | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/tools/libs/light/libxl_cpuid.c b/tools/libs/light/libxl_cpuid.c
index e1acf6648db4..28c2fa6a0350 100644
--- a/tools/libs/light/libxl_cpuid.c
+++ b/tools/libs/light/libxl_cpuid.c
@@ -208,8 +208,10 @@ int libxl_cpuid_parse_config(libxl_cpuid_policy_list
*cpuid, const char* str)
{"vpclmulqdq", 0x00000007, 0, CPUID_REG_ECX, 10, 1},
{"avx512-vnni", 0x00000007, 0, CPUID_REG_ECX, 11, 1},
{"avx512-bitalg",0x00000007, 0, CPUID_REG_ECX, 12, 1},
+ {"tme", 0x00000007, 0, CPUID_REG_ECX, 13, 1},
{"avx512-vpopcntdq",0x00000007,0,CPUID_REG_ECX, 14, 1},
{"rdpid", 0x00000007, 0, CPUID_REG_ECX, 22, 1},
+ {"keylocker", 0x00000007, 0, CPUID_REG_ECX, 23, 1},
{"cldemote", 0x00000007, 0, CPUID_REG_ECX, 25, 1},
{"avx512-4vnniw",0x00000007, 0, CPUID_REG_EDX, 2, 1},
diff --git a/tools/misc/xen-cpuid.c b/tools/misc/xen-cpuid.c
index a3003245f12a..28842f56fcb2 100644
--- a/tools/misc/xen-cpuid.c
+++ b/tools/misc/xen-cpuid.c
@@ -127,10 +127,10 @@ static const char *const str_7c0[32] =
[ 6] = "avx512-vbmi2", [ 7] = "cet-ss",
[ 8] = "gfni", [ 9] = "vaes",
[10] = "vpclmulqdq", [11] = "avx512-vnni",
- [12] = "avx512-bitalg",
+ [12] = "avx512-bitalg", [13] = "tme",
[14] = "avx512-vpopcntdq",
- [22] = "rdpid",
+ [22] = "rdpid", [23] = "keylocker",
/* 24 */ [25] = "cldemote",
/* 26 */ [27] = "movdiri",
[28] = "movdir64b", [29] = "enqcmd",
--
2.11.0
|