-
Notifications
You must be signed in to change notification settings - Fork 0
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
英雄帖: Support for SMBIOS Type 44 LoongArch supplement tables #28
Comments
✋ I will work on dmidecode. WIP version: https://github.com/jiegec/dmidecode. I found a issue decoding Raw info from 3C5000:
Fields:
Update: 0x007CCFC7 equals to CPUCFG[1], but does not equal to EUEN according to the spec. Currently decoded info:
RFC: how to name these ISA extensions? |
The latest version of dmidecode seems to support SMBIOS V3.6 and V3.7: https://savannah.nongnu.org/news/?id=10634 |
Thanks for the triage. It contained CPUID handling but apparently not Type 44 table support yet, so this issue is still TODO. |
For the record, the decoding of Type 4 (Processor Information) table by
The "Processor Identity" part is truncated to 4 bytes, which may or may not be a bug (I have already forgotten the details). The rest looks okay to me. |
The problem is, the firmware does not generate Type 44 entry according to SMBIOS standard, see loongson/Firmware#82 |
Ha, I understand now. |
Either way is okay, as long as they match. |
From a cost's perspective, the approach to take likely depends on "which is cheaper / takes less time, amending the spec or fixing the firmware implementation for future models". (Current versions of firmware may or may not get fixed, depending on users and/or difficulty arranging with vendors / codebases.) |
If I adjust the SPEC, what kind bit-field do you like?
|
Right now there are SMBIOS Type 44 tables on LoongArch systems, that cannot be decoded with current versions of
dmidecode
and other known tools:This is actually well-defined in the LoongArch SMBIOS supplement spec (rendered), and worth supporting.
Places to look at:
It could be helpful if anyone communicate here first before stepping up and writing code.
The text was updated successfully, but these errors were encountered: