Page MenuHomeFreeBSD

Add the CPU identification string to the data which is visible in the bootloader.
ClosedPublic

Authored by rpokala on Apr 8 2025, 6:09 AM.
Tags
None
Referenced Files
F133555026: D49708.diff
Sun, Oct 26, 3:21 PM
Unknown Object (File)
Wed, Oct 22, 11:02 PM
Unknown Object (File)
Fri, Oct 10, 8:17 AM
Unknown Object (File)
Wed, Oct 8, 9:32 PM
Unknown Object (File)
Wed, Oct 8, 2:35 PM
Unknown Object (File)
Wed, Oct 8, 7:16 AM
Unknown Object (File)
Fri, Oct 3, 7:17 AM
Unknown Object (File)
Wed, Oct 1, 2:15 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 63384
Build 60268: arc lint + arc unit

Event Timeline

rpokala retitled this revision from Add the CPU identification string to the data which is visible in the bootloader. MFC after: 1 week Sponsored by: Vdura to Add the CPU identification string to the data which is visible in the bootloader..Apr 8 2025, 6:10 AM
rpokala added a reviewer: imp.
This revision is now accepted and ready to land.Apr 8 2025, 8:36 AM
imp requested changes to this revision.Apr 8 2025, 8:39 AM

So what is version? A number or a description? Thinking about it after I click approve i waz suddenly unsure about this detail

This revision now requires changes to proceed.Apr 8 2025, 8:39 AM
In D49708#1133390, @imp wrote:

So what is version? A number or a description? Thinking about it after I click approve i waz suddenly unsure about this detail

It's the identification string embedded in the CPUID, which is reported in DMI section 4:

[threepio:~] rpokala% sudo dmidecode -t 4 | grep Version
	Version: AMD Ryzen 9 7900 12-Core Processor             
[threepio:~] rpokala% kenv smbios.processor.version
AMD Ryzen 9 7900 12-Core Processor             
[threepio:~] rpokala% kenv | grep smbios.processor.version
smbios.processor.version="AMD Ryzen 9 7900 12-Core Processor             "
[threepio:~] rpokala% /usr/local/bin/cpuid | grep -E '^(8000000[234]|Vendor ID|Processor name string)'
80000002 20444d41 657a7952 2039206e 30303937
80000003 2d323120 65726f43 6f725020 73736563
80000004 2020726f 20202020 20202020 00202020
Vendor ID: "AuthenticAMD"; CPUID level 16
Processor name string: AMD Ryzen 9 7900 12-Core Processor             
[threepio:~] rpokala%

@imp: ping? I answered your question.

This revision is now accepted and ready to land.Apr 11 2025, 2:43 AM