Re: [Linux-ia64] fpswa logging redux

From: Jesse Barnes <>
Date: 2002-12-13 05:25:57
On Wed, Dec 11, 2002 at 03:42:52PM -0800, David Mosberger wrote:
> >>>>> On Wed, 11 Dec 2002 14:25:14 -0800, Jesse Barnes <> said:
>   Jesse> I'd like to fully decode the information in the isr about
>   Jesse> what type of fault occured (whether it be a software assist
>   Jesse> fault, some sort of IEEE filter fault, etc.) and print it
>   Jesse> along with the ip when faults occur.  While I'm at it, I may
>   Jesse> as well the proper SIGFPE subcode into si_info in case of
>   Jesse> signal delivery is selected.
> Like Keith, I'd like to keep the amount of decoding in the kernel as
> minimal as possible.  We already have si_isr in the siginfo structure,
> so apps/libraries can decode things themselves.  Having said that, we
> ought to decode things sufficiently so that si_code can be set to the
> correct value (where this makes sense).  Hopefully, that won't add
> tons of code and it would help application portability.

How about something like this then?  It just prints out the isr in
addition to the ip for the case of printk, and decodes the right si_code
for signals.  If this approach looks ok, I can add trap decoding too.


Received on Thu Dec 12 10:26:13 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:11 EST