fix several incorrect ucode version numbers

This commit is contained in:
Stéphane Lesimple 2018-08-16 10:51:55 +02:00
parent fc1dffd09a
commit a7afc585a9

View File

@ -1274,15 +1274,13 @@ is_latest_known_ucode()
ucode_latest="latest microcode version of your CPU is not known to this script"
is_intel || return 2
# https://www.intel.com/content/dam/www/public/us/en/documents/sa00115-microcode-update-guidance.pdf
# ps2txt sa00115-microcode-update-guidance.ps | grep -Eo '[0-9A-F]+ [0-9A-F]+ [^ ]+ Production 0x[A-F0-9]+ 0x[A-F0-9]+' | awk '{print "0x"$1","$6" \\"}' | sort -u
# ps2txt sa00115-microcode-update-guidance.ps | grep -Eo '[0-9A-F]+ [0-9A-F]+ [^ ]+ Production 0x[A-F0-9]+ 0x[A-F0-9]+' | awk '{print "0x"$1","$6" \\"}' | uniq
# cpuid,ucode
for tuple in \
0x106A5,0x1D \
0x106E5,0x0A \
0x20652,0x11A \
0x20652,0x11C \
0x20652,0x11 \
0x20655,0x7 \
0x20655,0x7C \
0x206A7,0x2E \
0x206C2,0x1F \
0x206D6,0x61D \
@ -1291,34 +1289,30 @@ is_latest_known_ucode()
0x206F2,0x3B \
0x306A9,0x20 \
0x306C3,0x25 \
0x306D4,0x2BB \
0x306D4,0x2B \
0x306E4,0x42D \
0x306E7,0x714 \
0x306F2,0x3D \
0x306F4,0x12 \
0x40651,0x24 \
0x40661,0x1A \
0x40671,0x1EB \
0x40671,0x1E \
0x406E3,0xC6 \
0x406F1,0xB00002E \
0x406F1,0xB00002EB \
0x50654,0x200004D \
0x50662,0x17B \
0x50663,0x7000013B \
0x50664,0xF000012B \
0x50665,0xE00000AB \
0x506C2,0x14C \
0x50662,0x17 \
0x50663,0x7000013 \
0x50664,0xF000012 \
0x50665,0xE00000A \
0x506C2,0x14 \
0x506E3,0xC6 \
0x506F1,0x24 \
0x706A1,0x28 \
0x806E9,0x8E \
0x806EA,0x96 \
0x806EA,0x96C \
0x906E9,0x8E \
0x906EA,0x96 \
0x906EA,0x96C \
0x906EA,0x96D \
0x906EB,0x8EC
0x906EB,0x8E
do
cpuid_decimal=$(( $(echo "$tuple" | cut -d, -f1) ))
ucode_decimal=$(( $(echo "$tuple" | cut -d, -f2) ))