public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
* Unknown traps.
@ 2004-11-18 13:27 Martin Schwidefsky
  2004-11-22 14:29 ` Ralf Baechle
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Schwidefsky @ 2004-11-18 13:27 UTC (permalink / raw)
  To: linux-arch





Hi,
while working on a deficiency in the illegal operation handler for
s390 (only emits a force_sig instead of a force_sig_info) I stumbled
over something odd: How are unknown traps handled properly?

Of the architectures where I have some clue what they are doing:

i386: doesn't handle unknown traps (idt_table entries with {0,0})
ia64: does a force_sig with SIGILL.
parisc: does a force_sig_info with SIGBUS/BUS_OBJERR.
ppc: doesn't handle unknown traps (?).
s390: does a force_sig with SIGSEGV.
sparc: does a force_sig_info with SIGILL/ILL_ILLTRP.
x86_64: doesn't handle unknown traps (idt_table entries with {0,0})

What is correct? For s390 I'd like to do a force_sig_info of some
kind, SIGBUS/BUS_OBJERR is a likely choice.

blue skies,
   Martin

Martin Schwidefsky
Linux for zSeries Development & Services
IBM Deutschland Entwicklung GmbH

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-11-24 18:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-18 13:27 Unknown traps Martin Schwidefsky
2004-11-22 14:29 ` Ralf Baechle
2004-11-24 15:07   ` Martin Schwidefsky
2004-11-24 18:29     ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox