Re: [PATCH] powerpc: Send SIGBUS from machine_check

2020-10-23 Thread Joakim Tjernlund
On Fri, 2020-10-23 at 11:57 +1100, Michael Ellerman wrote: > > > Joakim Tjernlund writes: > > Embedded PPC CPU should send SIGBUS to user space when applicable. > > Yeah, but it's not clear that it's applicable in all cases. > > At least I need some reasoning for why it's safe in all cases

Re: [PATCH] powerpc: Send SIGBUS from machine_check

2020-10-22 Thread Michael Ellerman
Joakim Tjernlund writes: > Embedded PPC CPU should send SIGBUS to user space when applicable. Yeah, but it's not clear that it's applicable in all cases. At least I need some reasoning for why it's safe in all cases below to just send a SIGBUS and take no other action. Is there a particular

Re: [PATCH] powerpc: Send SIGBUS from machine_check

2020-10-22 Thread Joakim Tjernlund
ping Also Cc: sta...@vger.kernel.org On Thu, 2020-10-01 at 19:05 +0200, Joakim Tjernlund wrote: > Embedded PPC CPU should send SIGBUS to user space when applicable. > > Signed-off-by: Joakim Tjernlund > --- >  arch/powerpc/kernel/traps.c | 17 + >  1 file changed, 17

[PATCH] powerpc: Send SIGBUS from machine_check

2020-10-01 Thread Joakim Tjernlund
Embedded PPC CPU should send SIGBUS to user space when applicable. Signed-off-by: Joakim Tjernlund --- arch/powerpc/kernel/traps.c | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index 0381242920d9..12715d24141c