diff options
| author | Sean Christopherson <[email protected]> | 2025-02-22 01:47:46 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2025-03-14 18:20:55 +0000 |
| commit | 14aecf2a5bc3418bfb760ee9e45ddbc12480ebca (patch) | |
| tree | 20152948ff7889a966250645eb38055a8733f6cc /rust/helpers/workqueue.c | |
| parent | KVM: TDX: Implement non-NMI interrupt injection (diff) | |
| download | kernel-14aecf2a5bc3418bfb760ee9e45ddbc12480ebca.tar.gz kernel-14aecf2a5bc3418bfb760ee9e45ddbc12480ebca.zip | |
KVM: x86: Assume timer IRQ was injected if APIC state is protected
If APIC state is protected, i.e. the vCPU is a TDX guest, assume a timer
IRQ was injected when deciding whether or not to busy wait in the "timer
advanced" path. The "real" vIRR is not readable/writable, so trying to
query for a pending timer IRQ will return garbage.
Note, TDX can scour the PIR if it wants to be more precise and skip the
"wait" call entirely.
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Binbin Wu <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions
