Re: [PATCH] genirq/msi: Make sure early activation of all PCI MSIs

2021-01-23 Thread Marc Zyngier
Hi Shameer, On 2021-01-22 09:21, Shameerali Kolothum Thodi wrote: Hi Marc, [...] I find this pretty complicated, and the I'd like to avoid injecting the PCI MSI-vs-MSI-X concept in something that is supposed to be bus-agnostic. Agree. That’s mainly because I was very skeptical(TBH, very

RE: [PATCH] genirq/msi: Make sure early activation of all PCI MSIs

2021-01-22 Thread Shameerali Kolothum Thodi
x...@openeuler.org; > Zengtao (B) ; Wangzhou (B) > > Subject: Re: [PATCH] genirq/msi: Make sure early activation of all PCI MSIs > > Hi Shameer, > > On Thu, 21 Jan 2021 11:02:47 +, > Shameer Kolothum wrote: > > > > We currently do early activation of MSI irqs for

Re: [PATCH] genirq/msi: Make sure early activation of all PCI MSIs

2021-01-21 Thread Marc Zyngier
Hi Shameer, On Thu, 21 Jan 2021 11:02:47 +, Shameer Kolothum wrote: > > We currently do early activation of MSI irqs for PCI/MSI based on > the MSI_FLAG_ACTIVATE_EARLY flag. Though this activates all the > allocated MSIs in the case of MSI-X, it only does so for the > base irq in the case

[PATCH] genirq/msi: Make sure early activation of all PCI MSIs

2021-01-21 Thread Shameer Kolothum
We currently do early activation of MSI irqs for PCI/MSI based on the MSI_FLAG_ACTIVATE_EARLY flag. Though this activates all the allocated MSIs in the case of MSI-X, it only does so for the base irq in the case of MSI. This is because, for MSI, there is only one msi_desc entry for all the 32 irqs