aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorNicolas Saenz Julienne <[email protected]>2023-10-17 15:51:02 +0000
committerSean Christopherson <[email protected]>2023-10-17 23:41:02 +0000
commitd6800af51c76b6dae20e6023bbdc9b3da3ab5121 (patch)
tree26e55e782fe66c06d04c87dd1d9a5f1d82e15a4d /scripts/gdb/vmlinux-gdb.py
parentKVM: x86: Update the variable naming in kvm_x86_ops.sched_in() (diff)
downloadkernel-d6800af51c76b6dae20e6023bbdc9b3da3ab5121.tar.gz
kernel-d6800af51c76b6dae20e6023bbdc9b3da3ab5121.zip
KVM: x86: hyper-v: Don't auto-enable stimer on write from user-space
Don't apply the stimer's counter side effects when modifying its value from user-space, as this may trigger spurious interrupts. For example: - The stimer is configured in auto-enable mode. - The stimer's count is set and the timer enabled. - The stimer expires, an interrupt is injected. - The VM is live migrated. - The stimer config and count are deserialized, auto-enable is ON, the stimer is re-enabled. - The stimer expires right away, and injects an unwarranted interrupt. Cc: [email protected] Fixes: 1f4b34f825e8 ("kvm/x86: Hyper-V SynIC timers") Signed-off-by: Nicolas Saenz Julienne <[email protected]> Reviewed-by: Vitaly Kuznetsov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions