[Skiboot] [PATCH V4 0/3] Support for parsing pstate table version 0x90

Shilpasri G Bhat shilpa.bhat at linux.vnet.ibm.com
Wed Nov 2 19:38:05 AEDT 2016


Hi,

This series provides support for parsing the new pstate table layout
of OCC_OPAL shared memory region for P9.

Thanks and Regards,
Shilpa

Changes from v3:
- Rebased on skiboot/master

Changes from v2:
- s/abs()/labs()
- Included test case for labs()
- Added C-style doc for struct occ_pstate_table and struct occ_dynamic_data

Shilpasri G Bhat (3):
  libc: Add labs() to stdlib
  occ: Fix Pstate ordering for P9
  occ: Add support for Version 0x90 OCC_OPAL shared memory region

 hw/occ.c                 | 621 ++++++++++++++++++++++++++++++++++-------------
 libc/include/stdlib.h    |   1 +
 libc/stdlib/Makefile.inc |   2 +-
 libc/stdlib/labs.c       |  25 ++
 libc/test/run-stdlib.c   |   7 +
 5 files changed, 489 insertions(+), 167 deletions(-)
 create mode 100644 libc/stdlib/labs.c

-- 
1.8.3.1



More information about the Skiboot mailing list