Page MenuHomeFreeBSD

arm64: Make KMSAN aware of exceptions
ClosedPublic

Authored by markj on Dec 21 2023, 6:40 PM.
Tags
None
Referenced Files
F138356790: D43155.id131690.diff
Mon, Dec 1, 8:30 AM
Unknown Object (File)
Wed, Nov 26, 1:47 AM
Unknown Object (File)
Nov 1 2025, 1:09 PM
Unknown Object (File)
Oct 28 2025, 6:06 PM
Unknown Object (File)
Oct 16 2025, 4:55 PM
Unknown Object (File)
Oct 16 2025, 4:55 PM
Unknown Object (File)
Oct 16 2025, 4:55 PM
Unknown Object (File)
Oct 16 2025, 6:04 AM
Subscribers

Details

Summary
  • Call kmsan_intr_enter() when an exception occurs. This ensures that code running in the exception context does not clobber thread-local KMSAN state.
  • Ensure that stack memory containing trap frames is treated as initialized.

Co-authored-by: Alexander Stetsenko <alex.stetsenko@klarasystems.com>
Sponsored by: Klara, Inc.
Sponsored by: Juniper Networks, Inc.

Diff Detail

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