diff options
author | 2025-04-04 12:38:19 -0700 | |
---|---|---|
committer | 2025-04-24 09:52:31 -0400 | |
commit | f1fb088d9cecde5c3066d8ff8846789667519b7d (patch) | |
tree | 615e489a375b48dba29049161dcb87049694244e /scripts/lib/kdoc/kdoc_files.py | |
parent | KVM: x86: Explicitly treat routing entry type changes as changes (diff) | |
download | linux-rng-f1fb088d9cecde5c3066d8ff8846789667519b7d.tar.xz linux-rng-f1fb088d9cecde5c3066d8ff8846789667519b7d.zip |
KVM: x86: Take irqfds.lock when adding/deleting IRQ bypass producer
Take irqfds.lock when adding/deleting an IRQ bypass producer to ensure
irqfd->producer isn't modified while kvm_irq_routing_update() is running.
The only lock held when a producer is added/removed is irqbypass's mutex.
Fixes: 872768800652 ("KVM: x86: select IRQ_BYPASS_MANAGER")
Cc: stable@vger.kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-ID: <20250404193923.1413163-5-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions