10 #include <linux/errno.h>
11 #include <linux/slab.h>
12 #include <linux/export.h>
16 #include <linux/list.h>
19 #include <asm/machdep.h>
64 static int ioei_check_exception_token;
77 struct pseries_errorlog *
sect;
85 if (
unlikely(elog->type != RTAS_TYPE_IO)) {
94 "log does not contain an IO Event section. "
95 "Could be a bug in system firmware!\n");
128 RTAS_VECTOR_EXTERNAL_INTERRUPT,
136 event = ioei_find_event((
struct rtas_error_log *)ioei_rtas_buf);
146 static int __init ioei_init(
void)
150 ioei_check_exception_token =
rtas_token(
"check-exception");
151 if (ioei_check_exception_token == RTAS_UNKNOWN_SERVICE)
157 pr_info(
"IBM I/O event interrupts enabled\n");