[Skiboot] [PATCH v2 2/2] FSP/EPOW: Add device tree entries to export EPOW event timeouts
stewart at linux.vnet.ibm.com
Wed May 13 18:10:24 AEST 2015
Vipin K Parashar <vipin at linux.vnet.ibm.com> writes:
>>> Should we have a way to tell linux that "you have 5 minutes from now" on
>>> an event rather than just in DT?
>> These are HW implemented timeout values and thus static.
>> Linux would use these values to get time for each event once it
>> gets OPAL EPOW notification. EPOW event info is obtained via
>> EPOW Status API.
> Also to add existing EPOW API doesn't provide any interface to return
> timeout value. It just returns status of all EPOWs pending in OPAL so we
> to export EPOW event timeouts via DT.
> Any suggestions how returning varying timeout for most critical
> EPOW event
> can be returned via existing EPOW API ? or a new one shall be
> introduced to
> incorporate this ?
we could just have an epow class that is the current timeout, that could
be backwards compatible.
We may want to do this anyway as if we get an EPOW notification very
early during boot, the host won't yet be up and probably want's to know
that it now only has 15 minutes rather than assuming it has 20.
More information about the Skiboot