public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [PATCH] ia64: reset console_loglevel so INIT output always goes to console
Date: Sun, 09 Jan 2005 23:26:13 +0000	[thread overview]
Message-ID: <14372.1105313173@ocs3.ocs.com.au> (raw)
In-Reply-To: <1105140871.25267.50.camel@eeyore>

On Sun, 9 Jan 2005 11:06:37 -0600 (CST), 
Russ Anderson <rja@sgi.com> wrote:
>For example, having SAL rendezvous all the CPUs before calling OS_MCA 
>may have been reasonable when linux lacked the ability to recover from 
>an MCA.  But now that is changing, the descision to rendezvous CPUs
>should get made later, in linux, if it cannot recover from the MCA.
>Does it really make sense to rendezvous 512 CPUs just because one
>CPU happened to hit a memory uncorrectable in a user application
>(and recovers by killing the appication and discarding the page)?

I do not see any alternative.  SAL has no idea if the OS can recover
from a memory MCA or not, that decision has to be made by the OS.
Leaving the rendezvous decision to the OS would significantly
complicate the OS/SAL interface, it requires another SAL call by the
OS, changes to every SAL version and code in the OS to work out if the
current prom supports the SAL change or not.  If memory is failing, we
want the other cpus to keep off that physical memory while we work
around the problem and decide if we can recover, so we need to stop the
other cpus anyway.

MCA/INIT events are very rare and, in most cases, the rendezvous is a
standard interrupt which is reasonably fast.  I will take simplicity of
OS coding over speed every time for this case.  The simplest method is
for SAL to rendezvous all the cpus unless SAL knows unequivocally that
the error will be recovered.  If there is any uncertainty about whether
the OS will recover or not, then do the full rendezvous.

>Does it still make sense to have only one call into OS_MCA at
>a time?  Or is it more reasonable to support multiple OS_MCAs
>and let the linux MCA code coordinate processing of the OS_MCA,
>when needed?

I believe that option is already allowed by the SAL specification.
Linux has never supported it because it never had the per cpu
infrastructure.


  parent reply	other threads:[~2005-01-09 23:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-07 23:34 [PATCH] ia64: reset console_loglevel so INIT output always goes to Bjorn Helgaas
2005-01-08  1:32 ` [PATCH] ia64: reset console_loglevel so INIT output always goes to console Keith Owens
2005-01-09 16:24 ` [PATCH] ia64: reset console_loglevel so INIT output always goes to Russ Anderson
2005-01-09 17:06 ` [PATCH] ia64: reset console_loglevel so INIT output always goes to console Russ Anderson
2005-01-09 23:26 ` Keith Owens [this message]
2005-01-10  4:27 ` [PATCH] ia64: reset console_loglevel so INIT output always Bjorn Helgaas
2005-01-10  7:54 ` [PATCH] ia64: reset console_loglevel so INIT output always goes to console Matthias Fouquet-Lapar

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=14372.1105313173@ocs3.ocs.com.au \
    --to=kaos@sgi.com \
    --cc=linux-ia64@vger.kernel.org \
    /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