[Skiboot] [PATCH] occ: Filter out entries from Pmin to Pmax in pstate table

Stewart Smith stewart at linux.vnet.ibm.com
Wed Jun 29 20:18:14 AEST 2016


Stewart Smith <stewart at linux.vnet.ibm.com> writes:
> Shilpasri G Bhat <shilpa.bhat at linux.vnet.ibm.com> writes:
>> Parse the entire pstate table provided by OCC and filter out the
>> entries that are outside the Pmax and Pmin limits. This can
>> occur when turbo mode is disabled and OCC limits the Pmax to
>> nominal pstate, but includes turbo pstates in the pstate table.
>> We end up with wrong pstates in such cases if we do not parse
>> the pstate table to filter out the correct range.
>>
>> Signed-off-by: Shilpasri G Bhat <shilpa.bhat at linux.vnet.ibm.com>
>> ---
>>  hw/occ.c | 16 ++++++++++------
>>  1 file changed, 10 insertions(+), 6 deletions(-)
>
> Merged to master as of 98b80af

Merged into skiboot-5.2.x as of ced5d0f6218b4d88a5a49966ed3c6d84ef47d3ea

Without this patch, we end up not getting power management on
skiboot-5.2 on some systems with some OCC firmware versions, which isn't
exactly ideal.

I'll do a 5.2.3 soon.

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list