Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1708189
| From | Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH V11 0/3] powernv : Add support for OPAL-OCC command/response interface |
| Date | 2017-08-10 05:40 +0200 |
| Message-ID | <ucMud-8tW-13@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
In P9, OCC (On-Chip-Controller) supports shared memory based commad-response interface. Within the shared memory there is an OPAL command buffer and OCC response buffer that can be used to send inband commands to OCC. The following commands are supported: 1) Set system powercap 2) Set CPU-GPU power shifting ratio 3) Clear min/max for OCC sensor groups Changes from V10: - Rebased on powerpc-next - Add sysfs interface instead of IOCTL (Skiboot patch for Patch3 is posted below: https://lists.ozlabs.org/pipermail/skiboot/2017-August/008553.html ) Shilpasri G Bhat (3): powernv: powercap: Add support for powercap framework powernv: Add support to set power-shifting-ratio powernv: Add support to clear sensor groups data .../ABI/testing/sysfs-firmware-opal-powercap | 31 +++ Documentation/ABI/testing/sysfs-firmware-opal-psr | 18 ++ .../bindings/powerpc/opal/sensor-groups.txt | 27 +++ arch/powerpc/include/asm/opal-api.h | 6 + arch/powerpc/include/asm/opal.h | 10 + arch/powerpc/platforms/powernv/Makefile | 2 +- arch/powerpc/platforms/powernv/opal-powercap.c | 244 +++++++++++++++++++++ arch/powerpc/platforms/powernv/opal-psr.c | 175 +++++++++++++++ .../powerpc/platforms/powernv/opal-sensor-groups.c | 212 ++++++++++++++++++ arch/powerpc/platforms/powernv/opal-wrappers.S | 5 + arch/powerpc/platforms/powernv/opal.c | 10 + 11 files changed, 739 insertions(+), 1 deletion(-) create mode 100644 Documentation/ABI/testing/sysfs-firmware-opal-powercap create mode 100644 Documentation/ABI/testing/sysfs-firmware-opal-psr create mode 100644 Documentation/devicetree/bindings/powerpc/opal/sensor-groups.txt create mode 100644 arch/powerpc/platforms/powernv/opal-powercap.c create mode 100644 arch/powerpc/platforms/powernv/opal-psr.c create mode 100644 arch/powerpc/platforms/powernv/opal-sensor-groups.c -- 1.8.3.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH V11 0/3] powernv : Add support for OPAL-OCC command/response interface Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> - 2017-08-10 05:40 +0200
[PATCH V11 3/3] powernv: Add support to clear sensor groups data Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> - 2017-08-10 05:40 +0200
[PATCH V11 1/3] powernv: powercap: Add support for powercap framework Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> - 2017-08-10 05:40 +0200
Re: [V11,1/3] powernv: powercap: Add support for powercap framework Michael Ellerman <patch-notifications@ellerman.id.au> - 2017-08-11 14:30 +0200
csiph-web