mirror of
https://github.com/dikeckaan/mu300-linux.git
synced 2026-12-06 08:03:36 +00:00
Review of the first commit: one flaky sensor made the whole virtual zone unreadable while its cooling maps stayed bound, and thermal-guard trusted the bindings alone - nothing would have throttled. mu300_thermal now reports the hottest of the zones that read and fails only when none does (the core then skips the update and the sysfs temp read fails). thermal-guard hands over only when the bound zone also has a passive trip at or below HOT and reads a number within 15 C of the hottest reading of the round; a missing, non-numeric or stale reading, or trips above HOT, keep it capping. Tests for each, for mainline without the zone, and for the 105 C power-off under native cooling. System > CPU gets a read-only Thermal card from standard thermal sysfs (mu300-cpu status --json: "thermal", every zone's type, temperature, trips and bound cooling devices with their states), in the 31 catalogs. FINDINGS 48 has the device tree facts, the module-or-DT decision and its evidence, how the kernel's QoS cap and the profile ceiling compose, and the handoff rules; the upstream README, the panel wiki page and tests/README follow. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE