On Thu, 15 Feb 2007 15:05:56 +1100 Paul Mackerras <paulus@xxxxxxxxx> wrote:PowerPC could have an NMI, at least on many of the processors, if manufacturers would wire in the MCP line and use it as an NMI.
Andrew Morton writes:
This is all fairly unpleasant.We're starting to see IPMI creeping on powerpc as well, and we don't
What architecture is preventing us from using DIE_NMI_POST on all
architectures which support ipmi? ia64?
It would be better to simply require that all ipmi-using architectures
implement notify_die(DIE_NMI_POST, ...).
have an NMI.
Yes, it's certainly not ideal. Most architectures do not have asm/kdebug.h, which was the reason for CONFIG_HAVE_STANDARD_NOTIFY_DIE. I know there are IPMI implementations on x86, ia64, ARM, MIPS, and PowerPC.
Sure, but you could implement the registration function. I mean, you
_would_ call the NMI callback if you could, right ;)
As it stands, this change is pretty gruesome...