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)
Sep 19 2024, 5:24 PM
Unknown Object (File)
Sep 19 2024, 2:24 AM
Unknown Object (File)
Sep 19 2024, 2:24 AM
Unknown Object (File)
Sep 19 2024, 2:24 AM
Unknown Object (File)
Sep 19 2024, 2:12 AM
Unknown Object (File)
Sep 18 2024, 4:56 PM
Unknown Object (File)
Sep 14 2024, 4:50 AM
Unknown Object (File)
Sep 10 2024, 5:01 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.