Skip to contentSkip to conversation

pause_on_oops

DISCUSSION Russell King 2 participants 2 messages Jun 17, 2007 – Jun 18, 2007 Generic include/asm header files

lore
Share & tools
lore
#0 lore raw

Folk,

It seems that arch maintainers weren't copied on the "pause on oops" patch (dd287796d608fcdc3fe5e8fdb5bf762a8f1bc32a) which introduced some generic infrastructure (oops_enter, oops_exit). This has been subsequently used by lockdep to disable itself when an oops occurs.

AFAICS only i386, powerpc and x86_64 call oops_enter() and oops_exit(). However, ARM, MIPS, S390, SH, Sparc64, and UML support lockdep, so presumably it would be a good idea if they too were aware of these functions.

I suggest _at least_ mips, s390, sh, sparc64 and uml folk look into adding support to their die() functions (and check whether their die functions are missing any other useful functionality.)

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:
#1 lore raw
Quoted 9 lines · Russell King

AFAICS only i386, powerpc and x86_64 call oops_enter() and oops_exit(). However, ARM, MIPS, S390, SH, Sparc64, and UML support lockdep, so presumably it would be a good idea if they too were aware of these functions.

I suggest _at least_ mips, s390, sh, sparc64 and uml folk look into adding support to their die() functions (and check whether their die functions are missing any other useful functionality.)

I've added it on SH now, thanks Russell.