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
Unknown Object (File)
Tue, Apr 30, 9:12 AM
Unknown Object (File)
Tue, Apr 30, 9:11 AM
Unknown Object (File)
Tue, Apr 30, 9:11 AM
Unknown Object (File)
Tue, Apr 30, 5:50 AM
Unknown Object (File)
Feb 28 2024, 10:49 AM
Unknown Object (File)
Feb 28 2024, 9:03 AM
Unknown Object (File)
Jan 3 2024, 5:00 PM
Unknown Object (File)
Dec 20 2023, 2:21 AM
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.