]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Don't silently handle machine checks from userspace
authorAnton Blanchard <anton@samba.org>
Tue, 11 Jan 2011 19:48:14 +0000 (19:48 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 21 Jan 2011 03:08:37 +0000 (14:08 +1100)
commit3f5ab63387762969e9f00975ed90f656768ebb56
tree8b532df858222afa91cdc03360ee47603d69638b
parent1b8f4363a281f1bcc2e07e0e753c4c106f76ecdf
powerpc: Don't silently handle machine checks from userspace

If a machine check comes from userspace we send a SIGBUS to the task and
fail to printk anything.

If we are taking machine checks due to bad hardware we want to know about
it right away. Furthermore if we don't complain loudly then it will look
a lot like a bug in the userspace application, potentially causing a lot
of confusion.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/traps.c