The NMI asm path needs two KMSAN hooks to avoid false reports:
- KMSAN_INIT_ARG clears the parameter shadow for calling an instrumented C function from asm code
- KMSAN_MARK_TRAPFRAME marks a trapframe that was initialized in asm code as initialized.
Sponsored by: Netflix
Assisted-By: Claude Code - Opus 5 (1M context)