Messages in this thread | | | Subject | Re: [PATCH linux 2/6] hwmon: occ: Add sysfs interface | From | Benjamin Herrenschmidt <> | Date | Tue, 10 Jan 2017 11:45:08 -0600 |
| |
On Mon, 2017-01-09 at 10:22 +1030, Andrew Jeffery wrote: > Alternatively, in the style of your first para, we could push the > host > CPU state management into the kernel and expose a boot/reboot/power- > off > API to userspace. That would give us a place to hook calls for > configuring and cleaning up any host-dependent drivers on the BMC.
That's nasty. Each machine has a subtly different way of controller host power, that would mean a different kernel driver for each of them, which we are trying to avoid.
This is userspace policy.
Cheers, Ben.
| |