diff options
| author | Hou Wenlong <houwenlong.hwl@antgroup.com> | 2025-10-30 12:15:28 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2025-11-07 10:59:47 -0800 |
| commit | 995d504100cf66d846461133f8862b483295f995 (patch) | |
| tree | ff9ee74a011ee2877a7e06e010d3288a5542139d /tools/lib/python | |
| parent | 2baa33a8ddd61feb1347db95271f157fd9e9d53d (diff) | |
KVM: x86: Don't disable IRQs when unregistering user-return notifier
Remove the code to disable IRQs when unregistering KVM's user-return
notifier now that KVM doesn't invoke kvm_on_user_return() when disabling
virtualization via IPI function call, i.e. now that there's no need to
guard against re-entrancy via IPI callback.
Note, disabling IRQs has largely been unnecessary since commit
a377ac1cd9d7b ("x86/entry: Move user return notifier out of loop") moved
fire_user_return_notifiers() into the section with IRQs disabled. In doing
so, the commit somewhat inadvertently fixed the underlying issue that
was papered over by commit 1650b4ebc99d ("KVM: Disable irq while
unregistering user notifier"). I.e. in practice, the code and comment
has been stale since commit a377ac1cd9d7b.
Signed-off-by: Hou Wenlong <houwenlong.hwl@antgroup.com>
[sean: rewrite changelog after rebasing, drop lockdep assert]
Reviewed-by: Kai Huang <kai.huang@intel.com>
Link: https://patch.msgid.link/20251030191528.3380553-5-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
