Re: [RFC V1 RESEND 3/6] x86: Introduce the dynamic teardown function

2019-08-06 Thread Megha Dey
On Sat, 2019-06-29 at 10:01 +0200, Thomas Gleixner wrote: > Megha, > > On Fri, 21 Jun 2019, Megha Dey wrote: > > > >   > > +void default_teardown_msi_irqs_grp(struct pci_dev *dev, int > > group_id) > > +{ > > + int i; > > + struct msi_desc *entry; > > + > > + for_each_pci_msi_entry(entry, d

Re: [RFC V1 RESEND 3/6] x86: Introduce the dynamic teardown function

2019-06-29 Thread Thomas Gleixner
Megha, On Fri, 21 Jun 2019, Megha Dey wrote: > > +void default_teardown_msi_irqs_grp(struct pci_dev *dev, int group_id) > +{ > + int i; > + struct msi_desc *entry; > + > + for_each_pci_msi_entry(entry, dev) { > + if (entry->group_id == group_id && entry->irq) { > +

[RFC V1 RESEND 3/6] x86: Introduce the dynamic teardown function

2019-06-21 Thread Megha Dey
This is a preparatory patch to introduce disabling of MSI-X vectors belonging to a particular group. In this patch, we introduce a x86 specific mechanism to teardown the IRQ vectors belonging to a particular group. Cc: Jacob Pan Cc: Ashok Raj Signed-off-by: Megha Dey --- arch/x86/include/asm/x