From 7358232cc48474c0023d41b183ee0b0bcd061e7c Mon Sep 17 00:00:00 2001 From: Xorg Date: Sun, 23 Sep 2018 22:06:53 +0200 Subject: [PATCH] DB: Add Kaby Lake-U --- libcpuid/recog_intel.c | 8 ++- tests/intel/lakes/kaby-lake-i7-u.test | 100 ++++++++++++++++++++++++++ 2 files changed, 107 insertions(+), 1 deletion(-) create mode 100644 tests/intel/lakes/kaby-lake-i7-u.test diff --git a/libcpuid/recog_intel.c b/libcpuid/recog_intel.c index c23a354..d683a26 100644 --- a/libcpuid/recog_intel.c +++ b/libcpuid/recog_intel.c @@ -341,7 +341,13 @@ const struct match_entry_t cpudb_intel[] = { { 6, 14, -1, -1, 158, 2, -1, -1, NC, CORE_|_I_|_3 , 0, "Kaby Lake (Core i3)" }, { 6, 14, -1, -1, 158, 2, -1, -1, NC, PENTIUM_ , 0, "Kaby Lake (Pentium)" }, { 6, 14, -1, -1, 158, 2, -1, -1, NC, CELERON_ , 0, "Kaby Lake (Celeron)" }, - { 6, 14, -1, -1, 158, 2, -1, -1, NC, CORE_|_M_|_3 , 0, "Kaby Lake (Core m3)" }, + { 6, 14, -1, -1, 142, 2, -1, -1, NC, CORE_|_I_|_7 , 0, "Kaby Lake-U (Core i7)" }, + { 6, 14, -1, -1, 142, 2, -1, -1, NC, CORE_|_I_|_5 , 0, "Kaby Lake-U (Core i5)" }, + { 6, 14, -1, -1, 142, 2, -1, -1, NC, CORE_|_I_|_3 , 0, "Kaby Lake-U (Core i3)" }, + { 6, 14, -1, -1, 142, 2, -1, -1, NC, PENTIUM_ , 0, "Kaby Lake-U (Pentium)" }, + { 6, 14, -1, -1, 142, 2, -1, -1, NC, CELERON_ , 0, "Kaby Lake-U (Celeron)" }, + { 6, 14, -1, -1, 142, 2, -1, -1, NC, CORE_|_M_|_3 , 0, "Kaby Lake-U (Core m3)" }, + /* Coffee Lake CPUs (14nm): */ { 6, 14, -1, -1, 158, 6, -1, -1, NC, CORE_|_I_|_7 , 0, "Coffee Lake (Core i7)" }, diff --git a/tests/intel/lakes/kaby-lake-i7-u.test b/tests/intel/lakes/kaby-lake-i7-u.test new file mode 100644 index 0000000..0fdc653 --- /dev/null +++ b/tests/intel/lakes/kaby-lake-i7-u.test @@ -0,0 +1,100 @@ +basic_cpuid[0]=00000016 756e6547 6c65746e 49656e69 +basic_cpuid[1]=000806e9 03100800 7ffafbbf bfebfbff +basic_cpuid[2]=76036301 00f0b5ff 00000000 00c30000 +basic_cpuid[3]=00000000 00000000 00000000 00000000 +basic_cpuid[4]=1c004121 01c0003f 0000003f 00000000 +basic_cpuid[5]=00000040 00000040 00000003 11142120 +basic_cpuid[6]=000027f7 00000002 00000009 00000000 +basic_cpuid[7]=00000000 029c67af 00000000 9c000000 +basic_cpuid[8]=00000000 00000000 00000000 00000000 +basic_cpuid[9]=00000000 00000000 00000000 00000000 +basic_cpuid[10]=07300404 00000000 00000000 00000603 +basic_cpuid[11]=00000001 00000002 00000100 00000003 +basic_cpuid[12]=00000000 00000000 00000000 00000000 +basic_cpuid[13]=0000001f 00000440 00000440 00000000 +basic_cpuid[14]=00000000 00000000 00000000 00000000 +basic_cpuid[15]=00000000 00000000 00000000 00000000 +basic_cpuid[16]=00000000 00000000 00000000 00000000 +basic_cpuid[17]=00000000 00000000 00000000 00000000 +basic_cpuid[18]=00000000 00000000 00000000 00000000 +basic_cpuid[19]=00000000 00000000 00000000 00000000 +basic_cpuid[20]=00000001 0000000f 00000007 00000000 +basic_cpuid[21]=00000002 000000f2 00000000 00000000 +basic_cpuid[22]=00000b54 00000dac 00000064 00000000 +basic_cpuid[23]=00000b54 00000dac 00000064 00000000 +basic_cpuid[24]=00000b54 00000dac 00000064 00000000 +basic_cpuid[25]=00000b54 00000dac 00000064 00000000 +basic_cpuid[26]=00000b54 00000dac 00000064 00000000 +basic_cpuid[27]=00000b54 00000dac 00000064 00000000 +basic_cpuid[28]=00000b54 00000dac 00000064 00000000 +basic_cpuid[29]=00000b54 00000dac 00000064 00000000 +basic_cpuid[30]=00000b54 00000dac 00000064 00000000 +basic_cpuid[31]=00000b54 00000dac 00000064 00000000 +ext_cpuid[0]=80000008 00000000 00000000 00000000 +ext_cpuid[1]=00000000 00000000 00000121 2c100800 +ext_cpuid[2]=65746e49 2952286c 726f4320 4d542865 +ext_cpuid[3]=37692029 3035372d 43205530 40205550 +ext_cpuid[4]=372e3220 7a484730 00000000 00000000 +ext_cpuid[5]=00000000 00000000 00000000 00000000 +ext_cpuid[6]=00000000 00000000 01006040 00000000 +ext_cpuid[7]=00000000 00000000 00000000 00000100 +ext_cpuid[8]=00003027 00000000 00000000 00000000 +ext_cpuid[9]=00000b54 00000dac 00000064 00000000 +ext_cpuid[10]=00000b54 00000dac 00000064 00000000 +ext_cpuid[11]=00000b54 00000dac 00000064 00000000 +ext_cpuid[12]=00000b54 00000dac 00000064 00000000 +ext_cpuid[13]=00000b54 00000dac 00000064 00000000 +ext_cpuid[14]=00000b54 00000dac 00000064 00000000 +ext_cpuid[15]=00000b54 00000dac 00000064 00000000 +ext_cpuid[16]=00000b54 00000dac 00000064 00000000 +ext_cpuid[17]=00000b54 00000dac 00000064 00000000 +ext_cpuid[18]=00000b54 00000dac 00000064 00000000 +ext_cpuid[19]=00000b54 00000dac 00000064 00000000 +ext_cpuid[20]=00000b54 00000dac 00000064 00000000 +ext_cpuid[21]=00000b54 00000dac 00000064 00000000 +ext_cpuid[22]=00000b54 00000dac 00000064 00000000 +ext_cpuid[23]=00000b54 00000dac 00000064 00000000 +ext_cpuid[24]=00000b54 00000dac 00000064 00000000 +ext_cpuid[25]=00000b54 00000dac 00000064 00000000 +ext_cpuid[26]=00000b54 00000dac 00000064 00000000 +ext_cpuid[27]=00000b54 00000dac 00000064 00000000 +ext_cpuid[28]=00000b54 00000dac 00000064 00000000 +ext_cpuid[29]=00000b54 00000dac 00000064 00000000 +ext_cpuid[30]=00000b54 00000dac 00000064 00000000 +ext_cpuid[31]=00000b54 00000dac 00000064 00000000 +intel_fn4[0]=1c004121 01c0003f 0000003f 00000000 +intel_fn4[1]=1c004122 01c0003f 0000003f 00000000 +intel_fn4[2]=1c004143 00c0003f 000003ff 00000000 +intel_fn4[3]=1c03c163 03c0003f 00000fff 00000006 +intel_fn4[4]=00000000 00000000 00000000 00000000 +intel_fn4[5]=00000000 00000000 00000000 00000000 +intel_fn4[6]=00000000 00000000 00000000 00000000 +intel_fn4[7]=00000000 00000000 00000000 00000000 +intel_fn11[0]=00000001 00000002 00000100 00000003 +intel_fn11[1]=00000004 00000004 00000201 00000003 +intel_fn11[2]=00000000 00000000 00000002 00000003 +intel_fn11[3]=00000000 00000000 00000003 00000003 +-------------------------------------------------------------------------------- +6 +14 +9 +6 +142 +2 +4 +32 +32 +256 +4096 +-1 +8 +4 +16 +-1 +64 +64 +64 +-1 +128 (non-authoritative) +Kaby Lake-U (Core i7) +fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni pclmul dts64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 syscall xd movbe popcnt aes xsave osxsave avx rdtscp lm lahf_lm constant_tsc fma3 f16c rdrand x2apic avx2 bmi1 bmi2 sgx rdseed adx