[Skiboot] [PATCH] nvlink: Fix bad PE number check

Stewart Smith stewart at linux.vnet.ibm.com
Mon Sep 5 16:44:01 AEST 2016

Russell Currey <ruscur at russell.cc> writes:
> NPUs have 4 PEs which are zero indexed, so {0, 1, 2, 3}.  A bad PE number
> check in npu_err_inject checks if the PE number is greater than 4 as a
> fail case, so it would wrongly perform operations on a non-existant PE 4.
> Reported-by: Gavin Shan <gwshan at linux.vnet.ibm.com>
> Cc: stable
> Signed-off-by: Russell Currey <ruscur at russell.cc>

looks good, merged to:
master 731d1a8d680bd0bf649cf0c4668a449e299e5f55
skiboot-5.3.x b841d26d11a637b92ca397921fd7facbb8609dfa

Stewart Smith
OPAL Architect, IBM.

More information about the Skiboot mailing list