[Skiboot] [PATCH] phb4: Fix slot presence detect

Stewart Smith stewart at linux.vnet.ibm.com
Mon May 8 14:54:14 AEST 2017


Michael Neuling <mikey at neuling.org> writes:
> phb4_get_presence_state() needs to set *val to indicate the presence
> of something in the slot. Currently it doesn't set *val at all.
>
> The existing logic is correct, so this patch just sets val in the
> right places.
>
> This has the nice side effect of improving boot times since we no
> longer waste time tring to train links that don't have anything
> present.
>
> Signed-off-by: Michael Neuling <mikey at neuling.org>
> ---
>  hw/phb4.c | 2 ++
>  1 file changed, 2 insertions(+)

Merged to master as of 7657fe3362c3bc7fff196ad3d47c5d2d49342b0b
-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list