diff options
author | Peter Zijlstra <[email protected]> | 2020-05-29 23:27:34 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2020-06-11 15:15:22 +0200 |
commit | fd338e3564b0b8597a89f83941a0eda3e5092cc0 (patch) | |
tree | 0e6b3615b536ef76b4d4e0eb0f2385967cee8cb2 /include/linux/fpga/fpga-bridge.h | |
parent | e1de11d4d1a64ac1b90b9833f1a3629dae18facb (diff) |
x86/entry, nmi: Disable #DB
Instead of playing stupid games with IST stacks, fully disallow #DB
during NMIs. There is absolutely no reason to allow them, and killing
this saves a heap of trouble.
#DB is already forbidden on noinstr and CEA, so there can't be a #DB before
this. Disabling it right after nmi_enter() ensures that the full NMI code
is protected.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions