[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] x86/decode: Decode remaining TigerLake features
On 26.01.2022 19:47, Andrew Cooper wrote: > These are the two remaining TGL features which xen-cpuid doesn't know yet. Well, for KeyLocker that's only part of the truth. The KeyLocker leaf has further (sub-)features. > --- 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}, In my KeyLocker series I name this just "kl", matching how the spec refers to it. But first of all - this is unrelated to xen-cpuid and not very useful to have without the settings actually being possible to use sensibly. > --- 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", Like above, matching the spec I call this just "kl" in my patch. I can certainly post what I have, maybe at least the first of those patches would actually make sense to take. Whether the actual emulator changes are very useful to have right away (i.e. without other infrastructure in place to really make use of KL) is less clear. I didn't post them yet for this reason as well as them sitting on top of the stalled AMX series. Jan
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |