Commit 5959312a authored by Anup Patel's avatar Anup Patel Committed by Anup Patel
Browse files

lib: Redirect illegal instruction trap to S-mode when not handled



Currently, we fail with error SBI_ENOTSUPP when we are not able
to handle illegal instruction trap. Instead, we should just
redirect illegal instruction trap to S-mode when not handled.

This redirection of illegal instruction trap will help lazy
save/restore of floating point registers to work correctly in
Linux kernel.

Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
parent 56e41f7a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment