[Skiboot] [PATCH] Tie tm-suspend fw-feature and opal_reinit_cpus() together

Michael Neuling mikey at neuling.org
Mon Mar 5 11:33:20 AEDT 2018


On Mon, 2018-03-05 at 10:56 +1100, Oliver wrote:
> On Mon, Mar 5, 2018 at 10:40 AM, Michael Neuling <mikey at neuling.org> wrote:
> > On Mon, 2018-03-05 at 10:21 +1100, Cyril Bur wrote:
> > > On Fri, 2018-03-02 at 14:08 +1100, Michael Neuling wrote:
> > > > Currently opal_reinit_cpus(OPAL_REINIT_CPUS_TM_SUSPEND_DISABLED)
> > > > always returns OPAL_UNSUPPORTED.
> > > 
> > > I wonder if more of a mention of how the mode is set by hostboot on IPL
> > > . I seem unable to actually come up with that I feel is missing.
> > 
> > Currently it's an IPL time init setting which is tied to the DD revision of
> > the
> > chip.  It's only on for DD2.1 currently.
> > 
> > Long term, we'd like to be able to switch this dynamically, but we are not
> > there
> > yet.
> 
> IIRC the plan was the have some call to PRD that would patch the core
> inits in the HCODE image to allow this sort of tweaking. I have no
> idea what the ETA on that would be.
> 
> > I can add something like that if you like?
> 
> Add what?

Just the comment to the commit message.

Mikey


More information about the Skiboot mailing list