diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2015-04-06 14:02:29 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-05-07 17:42:34 +1000 |
commit | bfa6a82a1e54d575c745eecf6baec03e825282cf (patch) | |
tree | 78e24ffeeae224115a0965506c9c4b0ce5e696ee /doc | |
parent | 0a075bd3b2bea7ece8993e49981ca19fac18b9a8 (diff) | |
download | skiboot-bfa6a82a1e54d575c745eecf6baec03e825282cf.zip skiboot-bfa6a82a1e54d575c745eecf6baec03e825282cf.tar.gz skiboot-bfa6a82a1e54d575c745eecf6baec03e825282cf.tar.bz2 |
FSP/LED: Add system attention indicator support
SAI is controlled by FSP. This patch adds support to get/set
this indicator. Also update OPAL interface so that playload
can read/set this indicator.
During init, we read this indicator state using MBOX command.
OPAL uses MBOX interface to update this SAI.
FSP sends update notification whenever there is change in SAI
state (except for OPAL initiates updates). We use the notification
to update cached SAI state.
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/opal-api/opal-led-get-set-114-115.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/opal-api/opal-led-get-set-114-115.txt b/doc/opal-api/opal-led-get-set-114-115.txt index 4644adc..1d90ea4 100644 --- a/doc/opal-api/opal-led-get-set-114-115.txt +++ b/doc/opal-api/opal-led-get-set-114-115.txt @@ -19,6 +19,25 @@ Different types of indicators handled by LED code: location with which the indicator is associated. +LED Design: +----------- + When it comes to implementation we can classify LEDs into two + categories: + 1 - Hypervisor (OPAL) controlled LEDs (All identify & fault indicators) + During boot, we read/cache these LED details in OPAL (location code, + state, etc). We use cached data to serve read request from FSP/Host. + And we use SPCN passthrough MBOX command to update these LED state. + + 2 - Service processor (FSP) controlled LEDs (System Attention Indicator) + During boot, we read/cache this LED info using MBOX command. Later + anytime FSP updates this LED, it sends update system parameter + notification MBOX command. We use that data to update cached data. + LED update request is sent via set/reset attn MBOX command. + + LED update request: + Both FSP and Host will send LED update requests. We have to serialize + SPCN passthrough command. Hence we maintain local queue. + Note: - For more information regarding service indicator refer to PAPR spec (Service Indicators chapter). |