[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BN9PR11MB52767C806F7FD5220DB5D9B68C98A@BN9PR11MB5276.namprd11.prod.outlook.com>
Date: Fri, 23 May 2025 01:53:49 +0000
From: "Tian, Kevin" <kevin.tian@...el.com>
To: Sean Christopherson <seanjc@...gle.com>, Paolo Bonzini
<pbonzini@...hat.com>, "Michael S. Tsirkin" <mst@...hat.com>, Jason Wang
<jasowang@...hat.com>, Alex Williamson <alex.williamson@...hat.com>
CC: "kvm@...r.kernel.org" <kvm@...r.kernel.org>,
"virtualization@...ts.linux.dev" <virtualization@...ts.linux.dev>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, Oliver Upton
<oliver.upton@...ux.dev>, David Matlack <dmatlack@...gle.com>, Like Xu
<like.xu.linux@...il.com>, Binbin Wu <binbin.wu@...ux.intel.com>, Yong He
<alexyonghe@...cent.com>
Subject: RE: [PATCH v2 8/8] irqbypass: Require producers to pass in Linux IRQ
number during registration
> From: Sean Christopherson <seanjc@...gle.com>
> Sent: Saturday, May 17, 2025 7:08 AM
>
> 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.
>
> Signed-off-by: Sean Christopherson <seanjc@...gle.com>
Reviewed-by: Kevin Tian <kevin.tian@...el.com>
Powered by blists - more mailing lists