Re: [PATCH linux 2/6] hwmon: occ: Add sysfs interface
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2017-01-10 17:46:58
Also in:
linux-hwmon, linux-i2c, lkml
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2017-01-10 17:46:58
Also in:
linux-hwmon, linux-i2c, lkml
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.