summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/opal-api.h
diff options
context:
space:
mode:
authorShilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>2018-07-24 14:43:08 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2018-07-31 19:56:45 +1000
commit04baaf28f40c68c35a413cd9d0db7139c67e6caf (patch)
tree462415565ac1c25c4282baa0d6744077e67ce008 /arch/powerpc/include/asm/opal-api.h
parent1961acad2f88559c2cdd2ef67c58c3627f1f6e54 (diff)
downloadblackbird-op-linux-04baaf28f40c68c35a413cd9d0db7139c67e6caf.tar.gz
blackbird-op-linux-04baaf28f40c68c35a413cd9d0db7139c67e6caf.zip
powerpc/powernv: Add support to enable sensor groups
Adds support to enable/disable a sensor group at runtime. 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> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/opal-api.h')
-rw-r--r--arch/powerpc/include/asm/opal-api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/opal-api.h b/arch/powerpc/include/asm/opal-api.h
index 3bab299eda49..56a94a1bd754 100644
--- a/arch/powerpc/include/asm/opal-api.h
+++ b/arch/powerpc/include/asm/opal-api.h
@@ -206,6 +206,7 @@
#define OPAL_NPU_SPA_CLEAR_CACHE 160
#define OPAL_NPU_TL_SET 161
#define OPAL_SENSOR_READ_U64 162
+#define OPAL_SENSOR_GROUP_ENABLE 163
#define OPAL_PCI_GET_PBCQ_TUNNEL_BAR 164
#define OPAL_PCI_SET_PBCQ_TUNNEL_BAR 165
#define OPAL_LAST 165
OpenPOWER on IntegriCloud