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
F166127249: D3370.diff
Tue, Aug 11, 10:47 PM
Unknown Object (File)
Sat, Aug 8, 12:31 PM
Unknown Object (File)
Sat, Aug 8, 9:37 AM
Unknown Object (File)
Sat, Jul 18, 8:03 AM
Unknown Object (File)
Jun 24 2026, 5:47 AM
Unknown Object (File)
May 21 2026, 2:31 AM
Unknown Object (File)
May 12 2026, 12:21 AM
Unknown Object (File)
May 7 2026, 6:03 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.