Re: [PATCH] [2.6] PPC64: log firmware errors during boot.

From: Nathan Fontenot
Date: Fri Jul 02 2004 - 11:23:48 EST



I asked about this before, and was told that there is no way to
determine the severity of an event without doing full parsing of the
binary data. I'd be thrilled to be wrong...


Gettting the severity of an RTAS event is possible, and not too difficult. Check out asm-ppc64/rtas.h for a definition of the
RTAS event header (struct rtas_error_log). All RTAS events have the same initial header containing the severity of the event.

Decoding RTAS events beyond the intial header, that gets ugly quick and will hopefully never need to be done in the kernel.

--
Nathan Fontenot

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/