Re: [Patch 2.6.14] Extend notify_die() hooks for IA64

From: Dean Nelson <>
Date: 2005-11-03 08:34:39
On Wed, Nov 02, 2005 at 02:29:21PM +1100, Keith Owens wrote:
> 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.
> Leading white space removed from arch/ia64/kernel/kprobes.c.
> Signed-off-by: Keith Owens <>

Acked-by: Dean Nelson <>

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:


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).
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Thu Nov 03 08:35:46 2005

This archive was generated by hypermail 2.1.8 : 2005-11-03 08:35:54 EST