[Bug 291810] CPU frequency not reported for Ampere Altra

[email protected]
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291810

            Bug ID: 291810
           Summary: CPU frequency not reported for Ampere Altra
           Product: Base System
           Version: 15.0-RELEASE
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 266374
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266374&action=edit
acpidump -t output

Expected:

sysctl dev.cpu.0.freq
reports the actual CPU frequency

Actual:

sysctl dev.cpu.0.freq
sysctl: unknown oid 'dev.cpu.0.freq'

$ sysctl dev.cpu.0
dev.cpu.0.cx_usage_counters: 0
dev.cpu.0.cx_usage: 0.00% last 1000000us
dev.cpu.0.cx_lowest: C1
dev.cpu.0.cx_supported: C1/1/0
dev.cpu.0.%iommu: 
dev.cpu.0.%parent: acpi0
dev.cpu.0.%pnpinfo: _HID=ACPI0007 _UID=6656 _CID=none
dev.cpu.0.%location: handle=\_SB_.SYST.CL1A.C052
dev.cpu.0.%driver: cpu
dev.cpu.0.%desc: ACPI CPU
$

However, dmidecode does show it:

Handle 0x006D, DMI type 4, 48 bytes
Processor Information
        Socket Designation: CPU1
        Type: Central Processor
        Family: ARMv8
        Manufacturer: Ampere(R)
        ID: 01 00 16 0A A1 00 00 00
        Signature: JEP-106 Bank 0x0a Manufacturer 0x16, SoC ID 0x0001, SoC
Revision 0x000000a1
        Version: Ampere(R) Altra(R) Processor
        Voltage: 0.9 V
        External Clock: 1250 MHz
        Max Speed: 2200 MHz
        Current Speed: 2200 MHz
        Status: Populated, Enabled
        Upgrade: None
        L1 Cache Handle: Not Provided
        L2 Cache Handle: Not Provided
        L3 Cache Handle: Not Provided
        Serial Number: 000000000000000090130207033865B0
        Asset Tag: 00000001
        Part Number: Q64-22
        Core Count: 64
        Core Enabled: 64
        Thread Count: 64
        Characteristics:
                64-bit capable
                Multi-Core
                Power/Performance Control
                128-bit Capable
                Arm64 SoC ID

$ dmesg|grep ^acpi0
acpi0: <Ampere Altra>
acpi0: Sleep Button (fixed)
acpi0: Could not update all GPEs: AE_NOT_CONFIGURED

OS: FreeBSD 15.0-RELEASE releng/15.0-n280995-7aedc8de6446 GENERIC arm64

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.