lkml.org 
[lkml]   [2004]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] [2.6] PPC64: log firmware errors during boot.

> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:1.304 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site