On Wed, Oct 16 2024 at 12:54, Frank Li wrote: > On Wed, Oct 16, 2024 at 06:30:40PM +0200, Thomas Gleixner wrote: >> > + scoped_guard(msi_descs, dev) >> > + msi_for_each_desc(desc, dev, MSI_DESC_ALL) { >> >> That's just wrong. Nothing in this code has to fiddle with MSI >> descriptors or the descriptor lock. >> >> for (i = 0; i < num_db; i++) { >> virq = msi_get_virq(dev, i); > > Thanks, Change to msi_for_each_desc() is based on comments on > https://lore.kernel.org/imx/20231017183722.GB137137@thinkpad/ > > So my original implement is correct. Yes, very much so. Thanks, tglx