Page MenuHomeFreeBSD

arm64: Make KMSAN aware of exceptions
ClosedPublic

Authored by markj on Dec 21 2023, 6:40 PM.
Tags
None
Referenced Files
F132409476: D43155.id131690.diff
Thu, Oct 16, 4:55 PM
F132409475: D43155.id134008.diff
Thu, Oct 16, 4:55 PM
F132409473: D43155.id.diff
Thu, Oct 16, 4:55 PM
Unknown Object (File)
Thu, Oct 16, 6:04 AM
Unknown Object (File)
Sun, Oct 12, 3:00 AM
Unknown Object (File)
Sun, Oct 12, 2:45 AM
Unknown Object (File)
Sun, Oct 12, 1:53 AM
Unknown Object (File)
Sun, Oct 12, 1:36 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