diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2015-09-04 16:55:09 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-09-09 15:17:56 +1000 |
commit | 425a89ba2f4264a9215b176fe7b2ebf38a29cf09 (patch) | |
tree | dcf9ac180596c3bcd217302576e36dfd0ad00c0d /platforms | |
parent | 87edc3d8c87f113ec2a6d92c71fa25473cb8cec6 (diff) | |
download | skiboot-425a89ba2f4264a9215b176fe7b2ebf38a29cf09.zip skiboot-425a89ba2f4264a9215b176fe7b2ebf38a29cf09.tar.gz skiboot-425a89ba2f4264a9215b176fe7b2ebf38a29cf09.tar.bz2 |
IPMI: Pre-allocate memory for PANIC event
Currently we allocate ipmi_msg for every eSEL event.. But in PANIC
its not advised to allocate memory. Hence pre-allocate ipmi_msg for
PANIC event.
Note that we continue to allocate memory for normal event. Also with
current implementation we can log only one eSEL event in PANIC path.
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/astbmc/common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platforms/astbmc/common.c b/platforms/astbmc/common.c index 2af0309..8d37785 100644 --- a/platforms/astbmc/common.c +++ b/platforms/astbmc/common.c @@ -115,6 +115,7 @@ void astbmc_init(void) /* Register the BT interface with the IPMI layer */ bt_init(); + ipmi_sel_init(); ipmi_wdt_init(); ipmi_rtc_init(); ipmi_opal_init(); |