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
F132251860: D42970.id.diff
Wed, Oct 15, 5:11 AM
F132251858: D42970.id131169.diff
Wed, Oct 15, 5:11 AM
F132251855: D42970.id131248.diff
Wed, Oct 15, 5:11 AM
F132208923: D42970.diff
Tue, Oct 14, 7:34 PM
Unknown Object (File)
Thu, Oct 9, 11:57 AM
Unknown Object (File)
Wed, Oct 8, 4:10 AM
Unknown Object (File)
Sep 12 2025, 6:31 AM
Unknown Object (File)
Aug 29 2025, 10:03 AM
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