From: Dean Nelson <dcn@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Patch 2.6.14] Extend notify_die() hooks for IA64
Date: Wed, 02 Nov 2005 21:34:39 +0000 [thread overview]
Message-ID: <20051102213439.GA4455@sgi.com> (raw)
In-Reply-To: <5844.1130898771@kao2.melbourne.sgi.com>
On Wed, Nov 02, 2005 at 02:29:21PM +1100, Keith Owens wrote:
> notify_die() added for MCA_{MONARCH,SLAVE,RENDEZVOUS}_{ENTER,PROCESS,LEAVE} and
> INIT_{MONARCH,SLAVE}_{ENTER,PROCESS,LEAVE}. We need multiple
> notification points for these events because they can take many seconds
> to run which has nasty effects on the behaviour of the rest of the
> system.
>
> DIE_SS replaced by a generic DIE_FAULT which checks the vector number,
> to allow interception of faults other than SS.
>
> DIE_MACHINE_{HALT,RESTART} added to allow last minute close down
> processing, especially when the halt/restart routines are called from
> error handlers.
>
> DIE_OOPS added.
>
> The check for kprobe's break numbers has been moved from traps.c to
> kprobes.c, allowing DIE_BREAK to be used for any additional break
> numbers, i.e. it is no longer kprobes specific.
>
> Hooks for kernel debuggers and kernel dumpers added, ENTER and LEAVE.
> Both of these disable the system for long periods which impact on
> watchdogs and heartbeat systems in general. More patches to come that
> use these events to reset watchdogs and heartbeats.
>
> unregister_die_notifier() added and both routines exported. Requested
> by Dean Nelson.
>
> Lock removed from {un,}register_die_notifier. notifier_chain_register()
> already takes a lock. Also the generic notifier chain locking is being
> reworked to distinguish between callbacks that can block and those that
> cannot, the lock in {un,}register_die_notifier would interfere with
> that change. http://marc.theaimsgroup.com/?l=linux-kernel&m\x113018709002036&w=2
>
> Leading white space removed from arch/ia64/kernel/kprobes.c.
>
> Signed-off-by: Keith Owens <kaos@sgi.com>
Acked-by: Dean Nelson <dcn@sgi.com>
I applied this patch to the latest Tony Luck test tree and ran some
tests related to XPC's usage of the notify_die() callouts on an SGI Altix.
XPC only cares about the following notify_die() events:
DIE_MACHINE_RESTART
DIE_MACHINE_HALT
DIE_MCA_MONARCH_ENTER/DIE_INIT_MONARCH_ENTER
DIE_MCA_MONARCH_LEAVE/DIE_INIT_MONARCH_LEAVE
I called panic() and induced a MCA error, both worked as expected. I did
have trouble trying to induce a recoverable MCA due to a problem with
our error injector. It was not an issue with this patch since our error
injector was also failing on a vanilla Tony Luck test tree (i.e., minus
your patch).
next prev parent reply other threads:[~2005-11-02 21:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-02 2:32 [Patch 2.6.14] Extend notify_die() hooks for IA64 Keith Owens
2005-11-02 3:29 ` Keith Owens
2005-11-02 21:34 ` Dean Nelson [this message]
2005-11-02 22:28 ` Keshavamurthy Anil S
2005-11-04 17:20 ` Dean Nelson
2005-11-07 19:10 ` Luck, Tony
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=20051102213439.GA4455@sgi.com \
--to=dcn@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