aboutsummaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2015-09-04 16:55:09 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-09-09 15:17:56 +1000
commit425a89ba2f4264a9215b176fe7b2ebf38a29cf09 (patch)
treedcf9ac180596c3bcd217302576e36dfd0ad00c0d /platforms
parent87edc3d8c87f113ec2a6d92c71fa25473cb8cec6 (diff)
downloadskiboot-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.c1
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();