aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/stacktrace.h
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2020-09-07 15:15:44 +0200
committerBorislav Petkov <bp@suse.de>2020-09-09 11:33:19 +0200
commit315562c9af3d583502b35c4b223a08d95ce69864 (patch)
treea3351da80cc8801eadebe8185d591583f5e49760 /arch/x86/include/asm/stacktrace.h
parentx86/sev-es: Allocate and map an IST stack for #VC handler (diff)
downloadlinux-dev-315562c9af3d583502b35c4b223a08d95ce69864.tar.xz
linux-dev-315562c9af3d583502b35c4b223a08d95ce69864.zip
x86/sev-es: Adjust #VC IST Stack on entering NMI handler
When an NMI hits in the #VC handler entry code before it has switched to another stack, any subsequent #VC exception in the NMI code-path will overwrite the interrupted #VC handler's stack. Make sure this doesn't happen by explicitly adjusting the #VC IST entry in the NMI handler for the time it can cause #VC exceptions. [ bp: Touchups, spelling fixes. ] Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20200907131613.12703-44-joro@8bytes.org
Diffstat (limited to 'arch/x86/include/asm/stacktrace.h')
0 files changed, 0 insertions, 0 deletions