Re: [PATCH 0/2] Generic hardware error reporting support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Friday, November 19, 2010 - 8:56 am

On Fri, Nov 19, 2010 at 12:10 AM, Huang Ying <ying.huang@intel.com> wrote:

Yeah, no.

Really.

We don't want some specific hardware error reporting mechanism.
Hardware errors are way less common than other errors, so making
something that is special to them just isn't very interesting.

I seriously suggest that the only _sane_ way to handle hardware errors is to
 (a) admit that they are rare
 (b) not try to use some odd special mechanism for them
 (c) just 'printk' them so that you can use the absolutely most
standard way to report them, and one that administrators are already
used to and has support for network logging with existing tools etc.
 (d) and if you want to make them persistent and NMI-safe, just do
that on the _printk_ level. That way, any NMI-safeness or persistency
helps everybody.

I really see _zero_ point to some hw-error-specific model.

                     Linus
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] Generic hardware error reporting support, Huang Ying, (Fri Nov 19, 1:10 am)
[PATCH 2/2] Hardware error record persistent support, Huang Ying, (Fri Nov 19, 1:10 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Peter Zijlstra, (Fri Nov 19, 4:22 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Peter Zijlstra, (Fri Nov 19, 5:02 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Peter Zijlstra, (Fri Nov 19, 5:55 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Peter Zijlstra, (Fri Nov 19, 6:18 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Peter Zijlstra, (Fri Nov 19, 6:37 am)
Re: [PATCH 2/2] Hardware error record persistent support, Linus Torvalds, (Fri Nov 19, 8:52 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Linus Torvalds, (Fri Nov 19, 8:56 am)
Re: [PATCH 2/2] Hardware error record persistent support, Andrew Morton, (Fri Nov 19, 1:01 pm)
Re: [PATCH 0/2] Generic hardware error reporting support, Linus Torvalds, (Fri Nov 19, 7:15 pm)
Re: [PATCH 1/2] Generic hardware error reporting mechanism, Borislav Petkov, (Sat Nov 20, 2:00 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Linus Torvalds, (Sat Nov 20, 4:57 pm)
Re: [PATCH 0/2] Generic hardware error reporting support, Elias Gabriel Amaral ..., (Sat Nov 20, 5:50 pm)
Re: [PATCH 0/2] Generic hardware error reporting support, Linus Torvalds, (Sat Nov 20, 5:50 pm)
Re: [PATCH 0/2] Generic hardware error reporting support, Mauro Carvalho Chehab, (Tue Nov 30, 8:09 am)