Page MenuHomeFreeBSD

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

Authored by rpokala on Tue, Apr 8, 6:09 AM.
Tags
None
Referenced Files
F115928744: D49708.id153297.diff
Wed, Apr 30, 1:07 PM
F115912307: D49708.diff
Wed, Apr 30, 8:07 AM
Unknown Object (File)
Sun, Apr 27, 11:38 AM
Unknown Object (File)
Mon, Apr 14, 12:36 AM
Unknown Object (File)
Mon, Apr 14, 12:36 AM
Unknown Object (File)
Mon, Apr 14, 12:36 AM
Unknown Object (File)
Mon, Apr 14, 12:36 AM
Unknown Object (File)
Mon, Apr 14, 12:36 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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..Tue, Apr 8, 6:10 AM
rpokala added a reviewer: imp.
This revision is now accepted and ready to land.Tue, Apr 8, 8:36 AM
imp requested changes to this revision.Tue, Apr 8, 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.Tue, Apr 8, 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.Fri, Apr 11, 2:43 AM