diff options
| author | Sean Christopherson <seanjc@google.com> | 2025-11-13 12:51:11 -0800 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2025-11-17 07:50:21 -0800 |
| commit | 0ea9494be9c931ddbc084ad5e11fda91b554cf47 (patch) | |
| tree | 99d405870657dac1a1136dec7913234218e49fa6 /tools/lib/python/kdoc/python_version.py | |
| parent | b3e5b670c94968f237ce3f93d1345dfe41f54c15 (diff) | |
KVM: x86: WARN if hrtimer callback for periodic APIC timer fires with period=0
WARN and don't restart the hrtimer if KVM's callback runs with the guest's
APIC timer in periodic mode but with a period of '0', as not advancing the
hrtimer's deadline would put the CPU into an infinite loop of hrtimer
events. Observing a period of '0' should be impossible, even when the
hrtimer is running on a different CPU than the vCPU, as KVM is supposed to
cancel the hrtimer before changing (or zeroing) the period, e.g. when
switching from periodic to one-shot.
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20251113205114.1647493-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
