[Skiboot] [PATCH] xive: reserve OPAL call numbers to get/set the NVT state

Stewart Smith stewart at linux.vnet.ibm.com
Tue Jun 4 14:02:01 AEST 2019


Cédric Le Goater <clg at kaod.org> writes:
> XIVE already reserves a couple of OPAL call numbers to get/set the END
> state but we will need some more for the NVT state.
>
> Signed-off-by: Cédric Le Goater <clg at kaod.org>
> ---
>
>  or should we recycle OPAL_OLD_I2C_REQUEST, OPAL_ELOG_SEND,
>  OPAL_GET_COMPLETION_TOKEN_STATUS ?
>
>  what about OPAL_RESERVED1 and OPAL_RESERVED2 ?

So, in order to answer that kind of question accuratly and completely, I
took a loooong detour into the depths of history and came out with that
giant 110 patch long series improving the docs recently.

Notably, https://open-power.github.io/skiboot/doc/opal-api/index.html is
where there's relevant chatter on what all those random ones were/are.

My inclination is to say that we shouldn't go and re-use the never
implemented ones or removed ones just to avoid any possible confusion
(plus, we're probably not going to run out of call tokens any time
soon).

I think bbcbbd3e071ffe654596ce19ddf8d99b4176bbc3 superseded this patch
though, and we don't have any set NVT state call reserved.

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list