commit | 97ce934bd9a088c6da61ecfa790e5be3087b20d8 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <jroedel@suse.de> | Tue Jan 28 17:31:05 2020 +0100 |
committer | Joerg Roedel <jroedel@suse.de> | Sat Apr 25 11:22:18 2020 +0200 |
tree | d7e03d11447fb60b9eca04d64bfbf49a427176cf | |
parent | b9560baa0cdf1da2d737d32767e7835457697f83 [diff] |
x86/sev-es: Handle NMI State When running under SEV-ES the kernel has to tell the hypervisor when to open the NMI window again after an NMI was injected. This is done with an NMI-complete message to the hypervisor. Add code to the kernels NMI handler to send this message right at the beginning of do_nmi(). This always allows nesting NMIs. Signed-off-by: Joerg Roedel <jroedel@suse.de>