Re: powerpc: Don't silently handle machine checks from userspace

2012-11-06 Thread Scott Wood
On 11/06/2012 10:43:19 AM, Micha Nelissen wrote: From: Scott Wood [mailto:scottw...@freescale.com] >> Hmm I guess there is no simple solution then, since the "recover" >> function also prints the kernel messages about the machine check >> being in kernel mode without having checked whether it rea

RE: powerpc: Don't silently handle machine checks from userspace

2012-11-06 Thread Micha Nelissen
From: Scott Wood [mailto:scottw...@freescale.com] >> Hmm I guess there is no simple solution then, since the "recover" >> function also prints the kernel messages about the machine check >> being in kernel mode without having checked whether it really was in >> kernel mode. In the past the user mod

Re: powerpc: Don't silently handle machine checks from userspace

2012-11-06 Thread Scott Wood
On 11/06/2012 03:21:37 AM, Micha Nelissen wrote: From: Scott Wood [mailto:scottw...@freescale.com] > > Therefore I request to put this check back, and even to put the > > removed code at the top of the machine check handler because there is > > no point in trying to recover from a user space b

RE: powerpc: Don't silently handle machine checks from userspace

2012-11-06 Thread Micha Nelissen
From: Scott Wood [mailto:scottw...@freescale.com] > > Therefore I request to put this check back, and even to put the > > removed code at the top of the machine check handler because there is > > no point in trying to recover from a user space bus error anyway. > > Why is there no point trying to

Re: powerpc: Don't silently handle machine checks from userspace

2012-11-02 Thread Scott Wood
On 11/02/2012 06:48:40 AM, Martijn de Gouw wrote: Hi, The following commit: http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commit;h=e49b1fae0ba4d06b29bd753a961abb447566bf4a causes confusion, because it prints "Machine check in kernel mode" also when the bus error is actu