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
F119715703: D42970.diff
Wed, Jun 11, 12:53 PM
Unknown Object (File)
Sat, May 31, 5:28 PM
Unknown Object (File)
Thu, May 15, 3:20 PM
Unknown Object (File)
Wed, May 14, 5:53 AM
Unknown Object (File)
May 2 2025, 12:11 PM
Unknown Object (File)
May 2 2025, 12:05 PM
Unknown Object (File)
May 2 2025, 1:45 AM
Unknown Object (File)
Apr 19 2025, 7:30 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 54864
Build 51753: arc lint + arc unit

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