Skip to content
Commit c88cfb5c authored by Stafford Horne's avatar Stafford Horne
Browse files

openrisc: traps: Don't send signals to kernel mode threads



OpenRISC exception handling sends signals to user processes on floating
point exceptions and trap instructions (for debugging) among others.
There is a bug where the trap handling logic may send signals to kernel
threads, we should not send these signals to kernel threads, if that
happens we treat it as an error.

This patch adds conditions to die if the kernel receives these
exceptions in kernel mode code.

Fixes: 27267655 ("openrisc: Support floating point user api")
Signed-off-by: default avatarStafford Horne <shorne@gmail.com>
parent ee7e551d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment