summaryrefslogtreecommitdiffstats
path: root/include/chip.h
diff options
context:
space:
mode:
authorShilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>2015-06-18 17:07:54 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-07-06 16:10:15 +1000
commitf19aaab0e71d83afbe9730312898ad25e33d9296 (patch)
tree57cbd4cf1742323f909f4b16669e4024ea528119 /include/chip.h
parentf5b38a25712ab74e6f8fcdaa088aaeead9655a71 (diff)
downloadblackbird-skiboot-f19aaab0e71d83afbe9730312898ad25e33d9296.tar.gz
blackbird-skiboot-f19aaab0e71d83afbe9730312898ad25e33d9296.zip
occ: Poll OCC throttle status and queue OCC events to host
Add a new class of message definition OPAL_MSG_OCC to opal_message_type to notify the following OCC events to host: 1) OCC Reset 2) OCC Load 3) OCC Throttle Status Change Add an opal poller to periodically read throttle status updated by OCC for each chip and notify any change in throttle status to host. The throttle status indicates the reason why OCC may have limited the max Pstate of the chip. Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> Reviewed-by: Preeti U Murthy <preeti@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/chip.h')
-rw-r--r--include/chip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/chip.h b/include/chip.h
index 9cecace1..654d2e0b 100644
--- a/include/chip.h
+++ b/include/chip.h
@@ -148,6 +148,7 @@ struct proc_chip {
uint64_t homer_size;
uint64_t occ_common_base;
uint64_t occ_common_size;
+ u8 throttle;
/* Must hold capi_lock to change */
u8 capp_phb3_attached_mask;
OpenPOWER on IntegriCloud