diff options
author | Sean Christopherson <seanjc@google.com> | 2023-07-21 13:18:45 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-08-03 15:37:14 -0700 |
commit | ad93c1a7c0102c93e92bf0c06412a1f588e015ab (patch) | |
tree | 7d804b9c95e78721f91bf669125ccc96252597fd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | baeb4de7ad12b700a91f2a7be8e1c0389a5c8fd4 (diff) |
x86/reboot: Assert that IRQs are disabled when turning off virtualization
Assert that IRQs are disabled when turning off virtualization in an
emergency. KVM enables hardware via on_each_cpu(), i.e. could re-enable
hardware if a pending IPI were delivered after disabling virtualization.
Remove a misleading comment from emergency_reboot_disable_virtualization()
about "just" needing to guarantee the CPU is stable (see above).
Reviewed-by: Kai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/r/20230721201859.2307736-6-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions