Date: Tue, 20 Feb 2018 06:38:55 +0000 (UTC) From: Wojciech Macek <wma@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r329634 - head/sys/powerpc/powerpc Message-ID: <201802200638.w1K6ctta028437@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wma Date: Tue Feb 20 06:38:55 2018 New Revision: 329634 URL: https://svnweb.freebsd.org/changeset/base/329634 Log: 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 Modified: head/sys/powerpc/powerpc/trap.c Modified: head/sys/powerpc/powerpc/trap.c ============================================================================== --- head/sys/powerpc/powerpc/trap.c Tue Feb 20 05:35:00 2018 (r329633) +++ head/sys/powerpc/powerpc/trap.c Tue Feb 20 06:38:55 2018 (r329634) @@ -294,6 +294,7 @@ trap(struct trapframe *frame) break; case EXC_FAC: + case EXC_HEA: sig = SIGILL; ucode = ILL_ILLOPC; break;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802200638.w1K6ctta028437>