[Skiboot] [PATCH 1/2] phb4: Don't try to access non-existent PEST entries

Stewart Smith stewart at linux.ibm.com
Thu Sep 13 18:56:15 AEST 2018


Benjamin Herrenschmidt <benh at kernel.crashing.org> writes:
> In a POWER9 chip, some PHB4s have 256 PEs, some have 512.
>
> Currently, the diagnostics code retrieves 512 unconditionally,
> which is wrong and causes us to incorrectly report bogus values
> for the "high" PEs on the small PHBs.
>
> Use the actual number of implemented PEs instead
>
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> ---
>  hw/phb4.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Series merged to master as of 0a087154ca4f6759ad1e25c0b3933a9e6caeb456
and 6.0.x as of a20833de7e2fa9a044862cbdeb48a564544a84ed

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list