[Skiboot] [PATCH 1/2] pcie-slot: Don't fail powering on an already on switch

Stewart Smith stewart at linux.ibm.com
Tue Apr 10 16:33:14 AEST 2018


Benjamin Herrenschmidt <benh at kernel.crashing.org> writes:
> If the power state is already the required value, return
> OPAL_SUCCESS rather than OPAL_PARAMETER to avoid spurrious
> errors during boot.
>
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> ---
>  core/pcie-slot.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Merged to master as of bca7c02f519d468c075912eccbf04bbee4523358

Added bonus of we now seem to conform to our own API docs.

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list