[Skiboot] [PATCH V2] sensor-groups: occ: Add support to disable/enable sensor group

Stewart Smith stewart at linux.vnet.ibm.com
Wed Feb 21 14:52:25 AEDT 2018


Shilpasri G Bhat <shilpa.bhat at linux.vnet.ibm.com> writes:
> This patch adds a new opal call to enable/disable a sensor group. This
> call is used to select the sensor groups that needs to be copied to
> main memory by OCC at runtime.
>
> Signed-off-by: Shilpasri G Bhat <shilpa.bhat at linux.vnet.ibm.com>
> ---
> Changes from V1:
> - Rebased on master
>
>  core/sensor.c                                 |  12 ++
>  doc/opal-api/opal-sensor-group-enable-159.rst |  46 +++++
>  hw/occ-sensor.c                               | 248 +-----------------------
>  hw/occ.c                                      | 137 +++++++++++--
>  include/occ-sensor.h                          | 264 ++++++++++++++++++++++++++
>  include/opal-api.h                            |   3 +-
>  include/skiboot.h                             |   3 +-
>  7 files changed, 455 insertions(+), 258 deletions(-)
>  create mode 100644 doc/opal-api/opal-sensor-group-enable-159.rst
>  create mode 100644 include/occ-sensor.h

Merged to master as of 99505c03f49312c5cc7d40a90728b048857a1078 and made
it to rc4, albeit with a different OPAL API number.


-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list