Files
Centos-kernel-stream-10/virt/lib
Alex Williamson c33412f750 irqbypass: Require producers to pass in Linux IRQ number during registration
JIRA: https://issues.redhat.com/browse/RHEL-118213

commit 23b54381cee2928e8b5622e654ca4516f30d2f1a
Author: Sean Christopherson <seanjc@google.com>
Date:   Fri May 16 16:07:34 2025 -0700

    irqbypass: Require producers to pass in Linux IRQ number during registration

    Pass in the Linux IRQ associated with an IRQ bypass producer instead of
    relying on the caller to set the field prior to registration, as there's
    no benefit to relying on callers to do the right thing.

    Take care to set producer->irq before __connect(), as KVM expects the IRQ
    to be valid as soon as a connection is possible.

    Reviewed-by: Kevin Tian <kevin.tian@intel.com>
    Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
    Acked-by: Michael S. Tsirkin <mst@redhat.com>
    Link: https://lore.kernel.org/r/20250516230734.2564775-9-seanjc@google.com
    Signed-off-by: Sean Christopherson <seanjc@google.com>

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2025-10-09 12:36:58 -06:00
..