[Bug 262933] cpucontrol: incorrect detection of Intel CPU revision - wrong microcode file selected

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 30 Mar 2022 17:30:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262933

--- Comment #2 from moon300web@gmx.net ---
(In reply to Ed Maste from comment #1)
From devcpu-data-intel:
pkg info -l devcpu-data-intel | grep 06-86
        /usr/local/share/cpucontrol/06-86-05.01

According to
https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/best-practices/microcode-update-guidance.html
the file correctly encodes the CPU revision:
od -t x4 /usr/local/share/cpucontrol/06-86-05.01 | head -1
0000000          00000001        0b00000f        02172021        00080665

0b00000f: version
00080665: CPU revision for 06-86-05

Compare with:
d -t x4 /usr/local/share/cpucontrol/06-8e-0c |head -1
0000000          00000001        000000ec        04282021        000806ec

000000ec: version
000806ec: CPU revision for 06-8e-0c

So it seems:
01234567: CPU revision for x5-36-x7 (not sure which 0's are taken)

-- 
You are receiving this mail because:
You are the assignee for the bug.