From: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
To: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org
Cc: benh@kernel.crashing.org, mpe@ellerman.id.au, paulus@samba.org,
svaidy@linux.vnet.ibm.com, ego@linux.vnet.ibm.com,
akshay.adiga@linux.vnet.ibm.com, andrew@aj.id.au, clg@kaod.org,
maddy@linux.vnet.ibm.com,
Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Subject: [RFC 0/2] Add support for OCC inband sensors in P9
Date: Thu, 9 Mar 2017 17:19:13 +0530 [thread overview]
Message-ID: <1489060155-22086-1-git-send-email-shilpa.bhat@linux.vnet.ibm.com> (raw)
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
next reply other threads:[~2017-03-09 11:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-09 11:49 Shilpasri G Bhat [this message]
2017-03-09 11:49 ` [RFC 1/2] powerpc/powernv: Enable support for OCC inband platform sensors Shilpasri G Bhat
2017-03-09 11:49 ` [RFC 2/2] hwmon: powernv: Hwmon driver for OCC inband power and temperature sensors Shilpasri G Bhat
2017-03-09 12:10 ` Guenter Roeck
2017-03-09 13:30 ` Shilpasri G Bhat
2017-03-12 22:53 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1489060155-22086-1-git-send-email-shilpa.bhat@linux.vnet.ibm.com \
--to=shilpa.bhat@linux.vnet.ibm.com \
--cc=akshay.adiga@linux.vnet.ibm.com \
--cc=andrew@aj.id.au \
--cc=benh@kernel.crashing.org \
--cc=clg@kaod.org \
--cc=ego@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=maddy@linux.vnet.ibm.com \
--cc=mpe@ellerman.id.au \
--cc=paulus@samba.org \
--cc=svaidy@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).