@mjg59 What I don't understand is why all of this functionality is implemented on the CPU at all, rather than on the EC/BMC.
(and then have the EC/BMC expose a standardized, abstracted API to the OS for things like voltage/temperature sensors)
Power management also seems like the kind of thing that makes more sense to have been architected as an out of band feature that software was unaware of except for giving high level directives to the EC.