HomeFreeBSD

asmc: add system state and board identity sysctls

Description

asmc: add system state and board identity sysctls

Add dev.asmc.0.system subtree with read-only sysctls for SMC diagnostic
and identity keys: shutdown_cause (MSSD), sleep_cause (MSSP),
thermal_status (MSAL), time_of_day (CLKT), power_state (MSPS),
board_id (RPlt), and chip_gen (RGEN).

Each sysctl is registered only if the key exists on the hardware.

Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D57853

Details

Provenance
seurosAuthored on Jul 1 2026, 12:15 AM
adrianCommitted on Jul 1 2026, 12:18 AM
Reviewer
adrian
Differential Revision
D57853: asmc: add system state and board identity sysctls
Parents
rGbb1e071be47f: asmc: try PIO before MMIO to avoid false T2 detection
Branches
Unknown
Tags
Unknown