[Skiboot] [PATCH V5 0/3] Support for parsing pstate table version 0x90
Shilpasri G Bhat
shilpa.bhat at linux.vnet.ibm.com
Wed Nov 23 17:58:33 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 v4:
- Fixed turbo and ultra_turbo pstate comparison.
- s/prerror/prlog(PR_ERR) which have fwts-annotations
- Removed fwts_annotations in macro definitions
- Added out-of-bound sanity checks for nominal and turbo pstate
- Added size to the "reg" property of /ibm,opal/power-mgt/occ
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 | 632 ++++++++++++++++++++++++++++++++++-------------
libc/include/stdlib.h | 1 +
libc/stdlib/Makefile.inc | 2 +-
libc/stdlib/labs.c | 25 ++
libc/test/run-stdlib.c | 7 +
5 files changed, 500 insertions(+), 167 deletions(-)
create mode 100644 libc/stdlib/labs.c
--
1.8.3.1
More information about the Skiboot
mailing list