[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1489060155-22086-1-git-send-email-shilpa.bhat@linux.vnet.ibm.com>
Date: Thu, 9 Mar 2017 17:19:13 +0530
From: Shilpasri G Bhat <shilpa.bhat@...ux.vnet.ibm.com>
To: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Cc: benh@...nel.crashing.org, mpe@...erman.id.au, paulus@...ba.org,
svaidy@...ux.vnet.ibm.com, ego@...ux.vnet.ibm.com,
akshay.adiga@...ux.vnet.ibm.com, andrew@...id.au, clg@...d.org,
maddy@...ux.vnet.ibm.com,
Shilpasri G Bhat <shilpa.bhat@...ux.vnet.ibm.com>
Subject: [RFC 0/2] Add support for OCC inband sensors in P9
On-Chip-Controller(OCC) is an embedded chip in POWER processors which
maintains the thermal and power safety of the chip. OCC measures
power and temperature sensors and various performance counters to
maintain healthy activity of the chip. In POWER9, OCC copies these
measured sensors periodically to main memory which can be consumend by
the host.
This patch-set provides support to export power and temperature
sensors in OCC inband sensors as standard hwmon sensors.
The skiboot patch for to add device-tree properties for this feature
is posted here:
https://lists.ozlabs.org/pipermail/skiboot/2017-March/006652.html
Shilpasri G Bhat (2):
powerpc/powernv: Enable support for OCC inband platform sensors
hwmon: powernv: Hwmon driver for OCC inband power and temperature
sensors
.../devicetree/bindings/hwmon/ibmpowernv-occ.txt | 4 +
Documentation/hwmon/ibmpowernv-occ | 24 ++
arch/powerpc/include/asm/opal-api.h | 36 +++
arch/powerpc/platforms/powernv/Makefile | 2 +-
arch/powerpc/platforms/powernv/opal-occ-sensors.c | 302 +++++++++++++++++++++
arch/powerpc/platforms/powernv/opal.c | 3 +
drivers/hwmon/Kconfig | 11 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/ibmpowernv-occ.c | 302 +++++++++++++++++++++
9 files changed, 684 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/hwmon/ibmpowernv-occ.txt
create mode 100644 Documentation/hwmon/ibmpowernv-occ
create mode 100644 arch/powerpc/platforms/powernv/opal-occ-sensors.c
create mode 100644 drivers/hwmon/ibmpowernv-occ.c
--
1.8.3.1
Powered by blists - more mailing lists