powerpc/powernv: Add support to clear sensor groups data
authorShilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Thu, 10 Aug 2017 03:31:20 +0000 (09:01 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Aug 2017 12:40:05 +0000 (22:40 +1000)
commitbf9571550f529335caa59f41827d180908759916
treee0ba5e029acb708776245f1de59310720e6345d0
parent8e84b2d1f0f6a00b6476790f7bce6dcbffe91980
powerpc/powernv: Add support to clear sensor groups data

Adds support for clearing different sensor groups. OCC inband sensor
groups like CSM, Profiler, Job Scheduler can be cleared using this
driver. The min/max of all sensors belonging to these sensor groups
will be cleared.

Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Documentation/devicetree/bindings/powerpc/opal/sensor-groups.txt [new file with mode: 0644]
arch/powerpc/include/asm/opal-api.h
arch/powerpc/include/asm/opal.h
arch/powerpc/platforms/powernv/Makefile
arch/powerpc/platforms/powernv/opal-sensor-groups.c [new file with mode: 0644]
arch/powerpc/platforms/powernv/opal-wrappers.S
arch/powerpc/platforms/powernv/opal.c