public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [PATCH] printing support for MCA/INIT
Date: Thu, 08 Jun 2006 10:27:18 +0000	[thread overview]
Message-ID: <4487FB86.8030004@jp.fujitsu.com> (raw)
In-Reply-To: <4486BE32.80100@jp.fujitsu.com>

Keith Owens wrote:
> Also consider that crash dump may be invoked from MCA/INIT.  The
> various crash dump analysis tools all expect to find the messages in
> the dmesg buffer in the dump.  Adding a special print buffer just for
> MCA/INIT means changing all the crash dump tools to look in two places.

I doubt it.
If you successfully get the crash dump, you will be able to see where
the dump was invoked, possibly with short string describing why the dump
was invoked. Then these short messages from MCA/INIT handler are not so
important thing even still you can look in special buffer.

Or export ia64_mlogbuf_break and use it to flush special buffer to
dmesg buffer before you invoke crash dump.

> It is possible to make the core of printk completely NMI safe.  We can
> make it lockless, or retain the locks but detect that there is no
> movement and ignore the lock.  The SN2 serial console does the latter,
> see drivers/serial/sn_console.c::sn_sal_console_write().  This means
> that SN2 machines can safely write to the console even from MCA/INIT.
> printk can use the same technique to lock access to its print buffer.

Latter will not be acceptable. How long we can pause the system to
recover a TLB error which can be swept in a second?

I have no idea to make printk lockless. Really can we?

Still I like patching as a workaround better than waiting incredible
feature in future.

H.Seto


  parent reply	other threads:[~2006-06-08 10:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-07 11:53 [PATCH] printing support for MCA/INIT Hidetoshi Seto
2006-06-07 13:28 ` Keith Owens
2006-06-08  3:39 ` Hidetoshi Seto
2006-06-08  6:01 ` Luck, Tony
2006-06-08  6:29 ` Hidetoshi Seto
2006-06-08  6:36 ` Keith Owens
2006-06-08 10:27 ` Hidetoshi Seto [this message]
2006-09-15  2:31 ` Hidetoshi Seto
2006-09-15  3:12 ` Russ Anderson

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=4487FB86.8030004@jp.fujitsu.com \
    --to=seto.hidetoshi@jp.fujitsu.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