occ/hbrt: Call stopOCC() for implementing reset OCC command from FSP

OPAL is expected to leave OCC stopped after receiving reset OCC
message from FSP.  FSP will send this either at boot before
a load/start, or during runtime before load/start. If there
is no subsequent load/start command, the OCC can be left stopped.

After few attempts (runtime reset), FSP can just send reset and
expect OPAL to leave OCC in stopped state.

Call HBRT to stop OCC on FSP reset OCC command and acknowledge.

Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
occ: Fix the low level ACK message sent to FSP on receiving {RESET/LOAD}_OCC

Modify the FSP response message to include the status code in the
status/error byte instead of adding a new word to it which is
incorrect.

FSP ack messages are 2 words with status in the 3rd byte of second
word.  Status byte is in the extra (3rd) word only on new status
messages from OPAL to FSP.

Code corrected based on FSP mailbox spec version 3.16.

Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
occ: Reduce stack usage in add_cpu_pstate_properties()

This function uses int arrays from stack that pushes stack usage to
more than 2kB. Reduce stack usage by allocating memory.

Ben H's stack check compile option exposed this usage count:

hw/occ.c: In function 'add_cpu_pstate_properties':
hw/occ.c:187:1: warning: the frame size of 2064 bytes is larger than
2048 bytes [-Wframe-larger-than=]

Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Merge branch 'update-2.1.1.1'