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
F106786097: D20123.diff
Sun, Jan 5, 9:42 AM
Unknown Object (File)
Mon, Dec 30, 3:13 PM
Unknown Object (File)
Dec 2 2024, 5:32 PM
Unknown Object (File)
Dec 2 2024, 1:52 AM
Unknown Object (File)
Dec 2 2024, 1:50 AM
Unknown Object (File)
Dec 2 2024, 1:41 AM
Unknown Object (File)
Nov 7 2024, 8:03 PM
Unknown Object (File)
Oct 29 2024, 5:16 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 24032

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.