Messages in this thread | ![/](/images/icornerl.gif) | | From | Michael Ellerman <> | Subject | Re: [PATCH] powerpc/powernv : Add support to enable sensor groups | Date | Tue, 28 Nov 2017 22:37:36 +1100 |
| |
Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> writes:
> Adds support to enable/disable a sensor group. This can be used to > select the sensor groups that needs to be copied to main memory by > OCC. Sensor groups like power, temperature, current, voltage, > frequency, utilization can be enabled/disabled at runtime. > > Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> > --- > The skiboot patch for the opal call is posted below: > https://lists.ozlabs.org/pipermail/skiboot/2017-November/009713.html
Can you remind me why we're doing this with a completely bespoke sysfs API, rather than using some generic sensors API?
And if we must do it that way, please add documentation for the sysfs file(s) in Documentation/ABI/.
cheers
| ![\](/images/icornerr.gif) |