summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2021-06-18 14:54:08 +0300
committerBorislav Petkov <bp@suse.de>2021-06-21 16:51:21 +0300
commitd187f217335dba2b49fc9002aab2004e04acddee (patch)
treeb9b9e513e9908128d5788f1cee870419293d40c8 /tools/perf/scripts/python
parent07570cef5e5c3fcec40f82a9075abb4c1da63319 (diff)
downloadlinux-d187f217335dba2b49fc9002aab2004e04acddee.tar.xz
x86/sev: Make sure IRQs are disabled while GHCB is active
The #VC handler only cares about IRQs being disabled while the GHCB is active, as it must not be interrupted by something which could cause another #VC while it holds the GHCB (NMI is the exception for which the backup GHCB exits). Make sure nothing interrupts the code path while the GHCB is active by making sure that callers of __sev_{get,put}_ghcb() have disabled interrupts upfront. [ bp: Massage commit message. ] Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Borislav Petkov <bp@suse.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20210618115409.22735-2-joro@8bytes.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions