Skip to contentSkip to conversation

sparc64: Recover from user generated non-resumable errors

PATCH In review Liam R. Howlett 1 participant 1 message Jan 6, 2017

lore
Share & tools
lore
#0 lore raw

cover sparc64: Recover from user generated non-resumable errors

The non-resumable errors from userspace has been able to cause kernel panics or trap loops due to the setup and handling of the queued traps once in the kernel. This patch series addresses both of these issues by preventing the panic by sending a SIGBUS error to the offending process and by zeroing the queue memory before use.

Liam R. Howlett (2):
sparc64: Don't panic on user mode non-resumable errors
sparc64: Zero pages on allocation for mondo and error queues.

 arch/sparc/kernel/irq_64.c   |  2 +-
 arch/sparc/kernel/traps_64.c | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)
Signature · 1 line
2.1.4