[Skiboot] [PATCH 3/3] hw/occ: Add occ functional state DT property and set chip->occ_functional properly.
stewart at linux.vnet.ibm.com
Wed Dec 21 15:56:21 AEDT 2016
ppaidipe at linux.vnet.ibm.com writes:
> From: Pridhiviraj Paidipeddi <ppaidipe at linux.vnet.ibm.com>
> ibm,occ-functional-state property exist only on ibm,fsp systems. Add this property
> for non-fsp systems also and set chip->occ_functional data field accordingly.
> OCC Spec says:
> When OCC is told to go active it will populate OCC-OPAL shared memory interface
> with ‘valid’ and all Pstate data.
> So incase of OpenPower systems OPAL can add DT property ibm,occ-functional-state
> and set the chip->occ_functional data field to true when OPAL find's the
> valid homer region and corresponding occ_valid byte is set to 0x1.
> Signed-off-by: Pridhiviraj Paidipeddi <ppaidipe at linux.vnet.ibm.com>
> hw/occ.c | 20 ++++++++++++++------
> 1 file changed, 14 insertions(+), 6 deletions(-)
Squashed with previous patch, fixed up some indentation and commit
message things and merged to master as of
OPAL Architect, IBM.
More information about the Skiboot