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)
Tue, Feb 25, 2:23 AM
Unknown Object (File)
Feb 18 2025, 2:16 PM
Unknown Object (File)
Feb 16 2025, 1:31 PM
Unknown Object (File)
Jan 17 2025, 11:47 AM
Unknown Object (File)
Jan 11 2025, 4:56 PM
Unknown Object (File)
Dec 16 2024, 12:42 PM
Unknown Object (File)
Nov 19 2024, 10:14 PM
Unknown Object (File)
Oct 1 2024, 5:06 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