Page MenuHomeFreeBSD

arm64: Make KMSAN aware of exceptions
ClosedPublic

Authored by markj on Dec 21 2023, 6:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 3, 12:27 AM
Unknown Object (File)
Sat, Mar 1, 6:25 PM
Unknown Object (File)
Fri, Feb 28, 5:17 PM
Unknown Object (File)
Fri, Feb 28, 12:47 PM
Unknown Object (File)
Thu, Feb 27, 8:17 AM
Unknown Object (File)
Thu, Feb 27, 12:46 AM
Unknown Object (File)
Wed, Feb 26, 10:12 PM
Unknown Object (File)
Sat, Feb 22, 12:09 PM
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