[Skiboot] [PATCH V8 6/9] errorlog: Replace elog_init() with opal_elog_init() for QEMU platform
Mukesh Ojha
mukesh02 at linux.vnet.ibm.com
Tue Nov 15 21:10:42 AEDT 2016
Presently qemu platform initializes elog_init(), but does not have
platform hook to write error log to host OS.
This patch replaces elog_init() with opal_elog_init() call which
calls elog_init() and also does OPAL elog API registration.
Following patch adds generic ELOG interface. which makes use of ELOG
OPAL calls.
Signed-off-by: Mukesh Ojha <mukesh02 at linux.vnet.ibm.com>
Reviewed-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
Changes in V8:
- Previous version V7 1/12 to 3/12 is already in the master.
- Rebased on master.
Changes in V7:
- New patch.
platforms/qemu/qemu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/platforms/qemu/qemu.c b/platforms/qemu/qemu.c
index 0c583f1..73415a4 100644
--- a/platforms/qemu/qemu.c
+++ b/platforms/qemu/qemu.c
@@ -92,8 +92,8 @@ static void qemu_init(void)
/* Register the BT interface with the IPMI layer */
bt_init();
- /* Initialize elog */
- elog_init();
+ /* Initialize error log */
+ opal_elog_init();
ipmi_sel_init();
ipmi_wdt_init();
ipmi_opal_init();
--
2.7.4
More information about the Skiboot
mailing list