aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2025-04-01 16:18:02 +0000
committerSean Christopherson <[email protected]>2025-04-24 18:18:37 +0000
commitc364baad3e4f114284581c35d4b9006d59d2629a (patch)
tree67e0eee7b4eea1f0b33334c7f9408285d4f7fa51 /rust/helpers/mutex.c
parentKVM: x86: Rescan I/O APIC routes after EOI interception for old routing (diff)
downloadkernel-c364baad3e4f114284581c35d4b9006d59d2629a.tar.gz
kernel-c364baad3e4f114284581c35d4b9006d59d2629a.zip
KVM: VMX: Don't send UNBLOCK when starting device assignment without APICv
When starting device assignment, i.e. potential IRQ bypass, don't blast KVM_REQ_UNBLOCK if APICv is disabled/unsupported. There is no need to wake vCPUs if they can never use VT-d posted IRQs (sending UNBLOCK guards against races being vCPUs blocking and devices starting IRQ bypass). Opportunistically use kvm_arch_has_irq_bypass() for all relevant checks in the VMX Posted Interrupt code so that all checks in KVM x86 incorporate the same information (once AMD/AVIC is given similar treatment). Cc: Yosry Ahmed <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions