Page MenuHomeFreeBSD

arm64: turn el0 EXCP_UNKNOWN into a SIGILL
ClosedPublic

Authored by emaste on Aug 12 2015, 6:12 PM.
Tags
None
Referenced Files
F149260864: D3370.id7923.diff
Mon, Mar 23, 8:09 AM
F149250733: D3370.id7910.diff
Mon, Mar 23, 7:15 AM
Unknown Object (File)
Sun, Mar 22, 7:11 AM
Unknown Object (File)
Wed, Mar 18, 3:50 AM
Unknown Object (File)
Thu, Mar 12, 11:21 AM
Unknown Object (File)
Thu, Mar 12, 11:21 AM
Unknown Object (File)
Tue, Mar 3, 6:12 AM
Unknown Object (File)
Feb 7 2026, 8:27 PM
Subscribers
None

Details

Summary

It seems we get EXCP_UNKNOWN from QEMU when executing zeroed memory. Print a register dump here and signal illegal instruction. Also print a register dump for other invalid exceptions, before panic.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste retitled this revision from to arm64: turn el0 EXCP_UNKNOWN into a SIGILL.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added a reviewer: andrew.
sys/arm64/arm64/trap.c
241โ€“244 โ†—(On Diff #7910)

oops, meant without the -, so that we get:

  x0:       7ffffff680
  x1:                0
  x2:               14
  x3:                8
  x4:                0
  x5:                1
...
andrew edited edge metadata.
This revision is now accepted and ready to land.Aug 13 2015, 11:52 AM
This revision was automatically updated to reflect the committed changes.