Page MenuHomeFreeBSD

Add a hw.model sysctl oid for arm64
ClosedPublic

Authored by ganbold on May 1 2019, 5:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 19, 10:15 AM
Unknown Object (File)
Feb 19 2024, 9:33 PM
Unknown Object (File)
Jan 16 2024, 10:19 AM
Unknown Object (File)
Dec 19 2023, 7:44 PM
Unknown Object (File)
Dec 13 2023, 8:19 AM
Unknown Object (File)
Nov 15 2023, 1:04 PM
Unknown Object (File)
Sep 16 2023, 9:23 AM
Unknown Object (File)
Aug 15 2023, 6:13 AM
Subscribers

Details

Summary

Add a hw.model sysctl oid for arm64 which reports the CPU model similar to armv6/7.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Comment and title should be:

Add a hw.model sysctl oid for arm64 which reports the CPU model similar to armv6/7.

ganbold retitled this revision from Add a hw.model sysctl oid for armv64 to Add a hw.model sysctl oid for arm64.May 1 2019, 5:52 AM
ganbold edited the summary of this revision. (Show Details)

How does this work in a big.LITTLE SoC?

This revision is now accepted and ready to land.May 1 2019, 12:41 PM

root@rockpro64:~ # sysctl hw.model
hw.model: ARM Cortex-A53 r0p4

This is the little cores, since we boot from it, it will always report this one.
I'm ok with this change but don't think that we should rely too much on the value.

This revision was automatically updated to reflect the committed changes.