PowerNV: Send SIGILL on HEA illegal instruction exception
Currently Hypervisor Emulation Assistance interrupt is unhandled. Executing an undefined instruction in userland triggers kernel panic. Handle this the same way as Facility Unavailable Interrupt - send SIGILL signal to userspace. Submitted by: Michal Stanek <mst@semihalf.com> Obtained from: Semihalf Reviewed by: nwhitehorn, pdk@semihalf.com, wma Sponsored by: IBM, QCM Technologies Differential revision: https://reviews.freebsd.org/D14437
This commit is contained in:
parent
c798d98e75
commit
838070d5f4
@ -294,6 +294,7 @@ trap(struct trapframe *frame)
|
||||
break;
|
||||
|
||||
case EXC_FAC:
|
||||
case EXC_HEA:
|
||||
sig = SIGILL;
|
||||
ucode = ILL_ILLOPC;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user