public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tim Small <tim@buttersideup.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: "Ong, Soo Keong" <soo.keong.ong@intel.com>,
	"Gross, Mark" <mark.gross@intel.com>,
	bluesmoke-devel@lists.sourceforge.net,
	LKML <linux-kernel@vger.kernel.org>,
	"Carbonari, Steven" <steven.carbonari@intel.com>,
	"Wang, Zhenyu Z" <zhenyu.z.wang@intel.com>
Subject: Re: Problems with EDAC coexisting with BIOS
Date: Thu, 04 May 2006 10:02:23 +0100	[thread overview]
Message-ID: <4459C31F.2020601@buttersideup.com> (raw)
In-Reply-To: <1146692646.14636.12.camel@localhost.localdomain>

Alan Cox wrote:

>On Mer, 2006-05-03 at 21:25 +0100, Tim Small wrote:
>  
>
>>something with NMI-signalled errors, I was wondering what the problems 
>>with using NMI-signalled ECC errors were?
>>    
>>
>
>The big problem with NMI is that it can occur *during* a PCI
>configuration sequence (ie during pci_config_* functions). That means we
>can't safely do some I/O, especially configuration space I/O in an NMI
>handler. At best we could set a flag and catch it afterwards.
>  
>
I was assuming this was the case - but I don't think that deferring the 
work until after the NMI handler has returned is necessarily a big 
disadvantage - at least as far as ECC register-status checking is 
concerned - since none of the hardware that I've looked at makes any 
sort of guarantee about the timeliness of ECC-error-triggered NMI 
delivery anyway - so any of the really smart (and urgent) stuff that you 
could potentially do as part of the ECC error handling (e.g. terminating 
a process if one of their physical pages was mangled) is not possible to 
do in a reliable manner anyway.

About the best thing it is possible to do is to try and arrange to take 
the page(s) in which an uncorrectable error occurred out of further use 
(maybe do the same for correctable errors, if the same physical page 
sees repeated correctable errors), plus maybe give the option of 
panicing if an uncorrectable page was in use by the kernel?

My first thought was to schedule a tasklet as part of the ECC-specific 
NMI handling, or are there any gotchas with doing this from within an 
NMI handler?

Cheers,

Tim.

  reply	other threads:[~2006-05-04  9:01 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-24 14:15 Problems with EDAC coexisting with BIOS Ong, Soo Keong
2006-04-24 14:29 ` Alan Cox
2006-05-03 20:25   ` Tim Small
2006-05-03 20:37     ` thockin
2006-05-04  9:45       ` Tim Small
2006-05-03 21:44     ` Alan Cox
2006-05-04  9:02       ` Tim Small [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-05-04 16:44 David Peterson
2006-05-03 23:06 David Peterson
2006-05-03 22:22 Doug Thompson
2006-05-03 21:39 Doug Thompson
2006-05-03 20:49 Gross, Mark
2006-04-26  3:24 Gross, Mark
2006-04-26  3:19 Gross, Mark
2006-04-25 23:25 Gross, Mark
2006-04-26  2:19 ` Corey Minyard
2006-04-26  2:34 ` Randy.Dunlap
2006-04-26 18:26   ` mark gross
2006-04-26 18:38     ` Randy.Dunlap
2006-04-26 19:39       ` mark gross
2006-04-26 20:17         ` Randy.Dunlap
2006-04-25 21:24 Gross, Mark
2006-04-25 22:39 ` Corey Minyard
2006-04-25 20:22 Gross, Mark
2006-04-25 18:19 Gross, Mark
2006-04-25 19:55 ` Corey Minyard
2006-04-24 18:14 Gross, Mark
2006-04-24 15:57 Gross, Mark
2006-04-24 17:08 ` Eric W. Biederman
2006-04-24 17:49 ` Alan Cox
2006-04-24 14:32 Ong, Soo Keong
2006-04-24 13:59 Ong, Soo Keong
2006-04-24 14:13 ` Alan Cox
2006-04-23  1:44 Gross, Mark
2006-04-21 22:36 Doug Thompson
2006-04-21 22:20 Gross, Mark
2006-04-22 18:31 ` Tim Small
2006-04-21 21:42 Doug Thompson
2006-04-21 21:32 Gross, Mark
2006-04-21 20:57 Doug Thompson
2006-04-21 16:01 Gross, Mark
2006-04-21 21:13 ` Ingo Oeser
2006-04-24 13:19 ` Alan Cox
2006-04-24 17:38   ` Doug Thompson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4459C31F.2020601@buttersideup.com \
    --to=tim@buttersideup.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=bluesmoke-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.gross@intel.com \
    --cc=soo.keong.ong@intel.com \
    --cc=steven.carbonari@intel.com \
    --cc=zhenyu.z.wang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox