[Skiboot] [PATCH v4 RESEND 0/8] Support for POWER ISA v3 idle states

Stewart Smith stewart at linux.vnet.ibm.com
Mon Jun 20 16:10:06 AEST 2016


"Shreyas B. Prabhu" <shreyas at linux.vnet.ibm.com> writes:
> POWER ISA v3 defines a new idle processor core mechanism. In summary,
>  a) new instruction named stop is added. This instruction replaces
> 	instructions like nap, sleep, rvwinkle.
>  b) new per thread SPR named Processor Stop Status and Control Register
>         (PSSCR) is added which controls the behavior of stop instruction. 
> 		
> This patch series adds support for the new idle states and also has
> some minor cleanups.
>
> Note: Rebased on master branch in RESEND
>
> Changes in V4:
> --------------
> - Based on Mikey's suggestion, add patches to remove unnecessary type
>   cast and replace strcpy with strncpy
> - Packed struct cpu_idle_states and local variables in 
>   add_cpu_idle_state_properties to ensure there are no holes.
> - Improved comments. 
> - Move all macros associated with power-mgt nodes to opal-api.h
> - packed enum proc_chip_quirks after removing QUIRK_DISABLE_NAP
> - Took Mikey's suggestion and changed the if condition to avoid
>   extra indentation.
>
> Changes in V3:
> -------------
> - Rebased on master
> - Added documentation for device tree bindings
> - minor whitespace cleanup
>
> Changes in V2:
> --------------
> - Patches are based on top of "[PATCH v2 0/7] Add POWER9 support" 
>   patches posted here-
>   https://lists.ozlabs.org/pipermail/skiboot/2016-May/003254.html
>
> Shreyas B. Prabhu (8):
>   slw: Simplify if-condition while adding idle states to device tree
>   slw: Change variable name can_winkle to has_slw
>   slw: Remove unnecessary type casting cast
>   slw: Add Power9 idle states to power-mgt dt node
>   doc/device-tree: Add documentation for ibm,cpu-idle-state-* properties
>   slw: Move macros associated with power-mgt nodes to opal-api.h
>   slw: Allow adding idle states to power-mgt node in mambo
>   slw: use strncpy instead of strcpy
>
>  core/chip.c                            |   3 +-
>  doc/device-tree/ibm,opal/power-mgt.txt |  32 +++-
>  hw/slw.c                               | 326 +++++++++++++++++++++------------
>  include/chip.h                         |   5 +-
>  include/opal-api.h                     |  31 +++-
>  5 files changed, 271 insertions(+), 126 deletions(-)

Thanks, merged to master as of 6e8a134

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list