[Skiboot] [RFC 1/2] hw/phb3: add OPAL call to get current PHB CAPI state

Andrew Donnellan andrew.donnellan at au1.ibm.com
Mon Oct 24 18:55:34 AEDT 2016


On 22/10/16 13:55, Gavin Shan wrote:
> On Fri, Sep 16, 2016 at 08:22:47PM +1000, Andrew Donnellan wrote:
>> Add an OPAL call, OPAL_PCI_GET_PHB_CAPI_MODE, to find out whether a PHB is
>> currently in CAPI mode or not.
>>
>
> s/mode or not/or PCIE mode
>
>> This will be used by Linux to determine whether a PHB needs a complete
>> reset to disable CAPI mode post-kexec.
>>
>> Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
>
> With one code alignment issue fixed as below:
>
> Reviewed-by: Gavin Shan <gwshan at linux.vnet.ibm.com>

Thanks Gavin - I'm hoping I can drop this patch in the next revision but 
we'll see...

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



More information about the Skiboot mailing list