diff options
author | Changbin Du <[email protected]> | 2024-03-08 12:44:01 +0800 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2024-03-08 08:59:22 +0100 |
commit | c0935fca6ba4799e5efc6daeee37887e84707d01 (patch) | |
tree | 96a4564fb48908764868a5dba61c00b8010931d8 /arch/x86/mm/fault.c | |
parent | d7b69b590bc9a5d299c82d3b27772cece0238d38 (diff) |
x86/sev: Disable KMSAN for memory encryption TUs
Instrumenting sev.c and mem_encrypt_identity.c with KMSAN will result in
a triple-faulting kernel. Some of the code is invoked too early during
boot, before KMSAN is ready.
Disable KMSAN instrumentation for the two translation units.
[ bp: Massage commit message. ]
Signed-off-by: Changbin Du <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/x86/mm/fault.c')
0 files changed, 0 insertions, 0 deletions