Re: [RFC 0/3] Integrate Support for self-save and determine

2020-01-06 Thread Pratik Sampat
Thanks for your comments Ram, A list of preferred SPRs are maintained in the kernel which contains two properties: 1. supported_mode: Helps in identifying if it strictly supports self save or restore or both. Will be good to capture the information that, 'supported_mode'

Re: [RFC 0/3] Integrate Support for self-save and determine

2020-01-03 Thread Ram Pai
On Wed, Dec 04, 2019 at 03:02:52PM +0530, Pratik Rajesh Sampat wrote: > Currently the stop-api supports a mechanism called as self-restore > which allows us to restore the values of certain SPRs on wakeup from a > deep-stop state to a desired value. To use this, the Kernel makes an > OPAL call

[RFC 0/3] Integrate Support for self-save and determine

2019-12-04 Thread Pratik Rajesh Sampat
Currently the stop-api supports a mechanism called as self-restore which allows us to restore the values of certain SPRs on wakeup from a deep-stop state to a desired value. To use this, the Kernel makes an OPAL call passing the PIR of the CPU, the SPR number and the value to which the SPR should