[Skiboot] [PATCH] fast-boot: occ: Re-parse the pstate table during fast-boot

Stewart Smith stewart at linux.vnet.ibm.com
Thu Feb 8 15:44:11 AEDT 2018


Vaidyanathan Srinivasan <svaidy at linux.vnet.ibm.com> writes:
>> I'm just wondering, should this be under an nvram option?
>
> The risk actually depends on what we ask OCC to do and hence not
> a major config change/risk for OPAL.  I would like to leave it as
> default for fast-reboot.  We add slight time factor to rebuild the
> relevant device tree.  Given that fast-reboot itself is experimental,
> this is a acceptable risk and overhead.
>
> If we hit new error/fail scenarios in future, we can add settings.
> I would like to roll this into a single knob for fast-reboot like
> "safe", "risky" or something that can help us choose what we want to
> do in reinit path.  We need not call out OCC reinit as explicit nvram
> option at this time.

It's a good question what we should do there... in a secure boot world,
we're probably better off as in that case you shouldn't be able to go
and poke things into the OCCs to do bad things.

I wonder if we could get an OCC command to "reset back to what you'd be
on IPL" or something?

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list