diff options
author | Sean Christopherson <[email protected]> | 2022-11-30 23:36:48 +0000 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2023-01-24 10:05:21 -0800 |
commit | 6a3236580b0b1accc3976345e723104f74f6f8e6 (patch) | |
tree | a3e2a2507e94f6acf35ac34e61ad0b849d7d3610 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 26044aff37a5455b19a91785086914fd33053ef4 (diff) |
x86/virt: Force GIF=1 prior to disabling SVM (for reboot flows)
Set GIF=1 prior to disabling SVM to ensure that INIT is recognized if the
kernel is disabling SVM in an emergency, e.g. if the kernel is about to
jump into a crash kernel or may reboot without doing a full CPU RESET.
If GIF is left cleared, the new kernel (or firmware) will be unabled to
awaken APs. Eat faults on STGI (due to EFER.SVME=0) as it's possible
that SVM could be disabled via NMI shootdown between reading EFER.SVME
and executing STGI.
Link: https://lore.kernel.org/all/[email protected]
Cc: [email protected]
Cc: Andrew Cooper <[email protected]>
Cc: Tom Lendacky <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions