[Skiboot] [PATCH V2] occ: Use major version number while checking the pstate table format

Andrew Donnellan andrew.donnellan at au1.ibm.com
Thu May 10 10:41:59 AEST 2018


On 07/05/18 03:26, Stewart Smith wrote:
> Shilpasri G Bhat <shilpa.bhat at linux.vnet.ibm.com> writes:
>> The minor version increments of the pstate table are backward
>> compatible. The minor version is changed when the pstate table
>> remains same and the existing reserved bytes are used for pointing
>> new data. So use only major version number while parsing the pstate
>> table. This will allow old skiboot to parse the pstate table and
>> handle minor version updates.
>>
>> Signed-off-by: Shilpasri G Bhat <shilpa.bhat at linux.vnet.ibm.com>
> 
> Thanks! Merged to master as of 7dcd66655835fb9985686dad1393285bb75a0876
> 
> Are there plans to use the minor versions?
Not immediately, but this came up during discussions about OCC changes 
necessary to support OpenCAPI (GPU presence detection via APSS on 
Witherspoon). We've ultimately decided to put that information in the 
dynamic sensor area instead, but there was an alternative approach 
considered to use some existing reserved bytes in the pstate area, for 
which it would have been nice to do a minor version bump.

-- 
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com  IBM Australia Limited



More information about the Skiboot mailing list