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)
Sun, Oct 12, 9:42 PM
Unknown Object (File)
Sun, Oct 12, 7:22 PM
Unknown Object (File)
Sun, Oct 12, 1:20 AM
Unknown Object (File)
Wed, Oct 1, 3:13 PM
Unknown Object (File)
Tue, Sep 30, 6:14 PM
Unknown Object (File)
Wed, Sep 24, 4:16 AM
Unknown Object (File)
Sun, Sep 21, 12:16 AM
Unknown Object (File)
Sep 13 2025, 4:31 PM
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.