Page MenuHomeFreeBSD

arm: Fix handling of undefined instructions in kernel mode
ClosedPublic

Authored by markj on Dec 8 2023, 6:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 13, 4:37 PM
Unknown Object (File)
Wed, May 13, 10:40 AM
Unknown Object (File)
Wed, May 13, 5:37 AM
Unknown Object (File)
Tue, Apr 28, 10:11 AM
Unknown Object (File)
Mon, Apr 27, 4:30 PM
Unknown Object (File)
Apr 27 2026, 8:53 AM
Unknown Object (File)
Apr 27 2026, 4:22 AM
Unknown Object (File)
Apr 24 2026, 8:30 PM
Subscribers

Details

Summary

Only panic if no undefined instruction handler matched the exception.
This can arise in practice if the VFP is enabled lazily.

Obtained from: Stormshield
Sponsored by: Klara, Inc.
Sponsored by: Stormshield

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj requested review of this revision.Dec 8 2023, 6:03 PM

undefinedinstruction needs some clean ups, e.g. lets hope we don't have a misaligned PC from the kernel or that fault_pc doesn't fault, but they are outside the scope of this change.

This revision is now accepted and ready to land.Dec 11 2023, 11:07 AM