sparc64: Handle PIO & MEM non-resumable errors.
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Wed, 24 May 2017 01:54:10 +0000 (21:54 -0400)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 03:04:26 +0000 (03:04 +0000)
commit92be380ed13fc5342b306e6f5cc58cb177d8fb4c
tree3c8ff19c362c7d70976b9b089ef09ff9f0e73e16
parent26b6bda738cae72c209e4f1ef68fe46e1add2473
sparc64: Handle PIO & MEM non-resumable errors.

[ Upstream commit 047487241ff59374fded8c477f21453681f5995c ]

User processes trying to access an invalid memory address via PIO will
receive a SIGBUS signal instead of causing a panic.  Memory errors will
receive a SIGKILL since a SIGBUS may result in a coredump which may
attempt to repeat the faulting access.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/sparc/kernel/traps_64.c