diff options
author | Alexander Potapenko <[email protected]> | 2022-11-02 12:06:07 +0100 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-11-08 15:57:24 -0800 |
commit | cbadaf71f7cf9e67c073eec673c6c050cecd0ec8 (patch) | |
tree | f591addd380eac5b510dfa35fae8ec1b4e1a6304 /drivers/fpga/fpga-mgr.c | |
parent | db5e8d84319bcdb51e1d3cfa42b410291d6d1cfa (diff) |
kmsan: core: kmsan_in_runtime() should return true in NMI context
Without that, every call to __msan_poison_alloca() in NMI may end up
allocating memory, which is NMI-unsafe.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lore.kernel.org/lkml/[email protected]/
Signed-off-by: Alexander Potapenko <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Marco Elver <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions