-
Notifications
You must be signed in to change notification settings - Fork 77
intel-microcode 3.20220510.0ubuntu0.22.04.1 disables AVX-512 on Alder Lake #61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It also fuses it off right, so you can no longer downgrade the ucode, or more accurately when you do it does not restore AVX512. |
The proper way to test this requires that your motherboard firmware be old enough to not disable AVX512 in the first place. Otherwise, the more probable explanation is that microcode downgrades do not undo the change to the AVX512 chicken bit. If that's what you meant, then yes, this is very likely... |
My understanding is that microcode downgrades either don't happen or don't enable AVX-512. I.e. the loaded microcode version can only go up. So, to have AVX-512 enabled, you need:
Neither BIOS nor the OS permanently overwrites the factory-fused microcode, so upgrading and then reverting back should not permanently disable AVX-512. At least, with Ubuntu microcode packages I confirmed exactly that, as I first noticed the lack of AVX-512 when I updated the package and then restored AVX-512 when I reverted. |
"The proper way to test this requires that your motherboard firmware be old enough to not disable AVX512 in the first place." Even if you downgrade BIOS Intel ME cannot always be downgraded. "I.e. the loaded microcode version can only go up. " That is not how it works because there is no way to overwrite ucode. Ucode uploads into Bigcore, and it behaves lile RAM. |
ME firmware has nothing to do with CPU microcode or AVX-512 in particular. |
Intel ME Minix CRBUS is what uploads intel ucode into the Bigcore. And deRSAs it. And does RSA PSS on it to verify the signature. And many other things. |
Sure, may be, I don't know the details how the microcode is uploaded. But what's important is that the microcode is provided by either BIOS or the OS. |
Fuses that can be switched and disable parts of silicon, like AVX 512 part of silicon, or part of silicon that got demaged are switched off by Intel ME. To switch them back you need Fuse decryption key. |
This is not how it works. You can run the latest ME firmware and still have AVX-512 enabled. I'm telling because that's what I do. |
Reported in Ubuntu: https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1979123
Updating intel-microcode to 3.20220510.0ubuntu0.22.04.1 results in AVX-512 inaccessible on Alder Lake CPU, even if the BIOS supports it and it is enabled in the BIOS. The problematic firmware is /lib/firmware/intel-ucode/06-97-02.
Last known working version of intel-microcode is 3.20210608.2ubuntu1. That package version does not contain the microcode (presumably, the version loaded by the BIOS is used).
lscpu:
The text was updated successfully, but these errors were encountered: