[PATCH v2 2/6] PCI/MSI: Factor out pci_get_msi_cap() interface

Tejun Heo tj at kernel.org
Fri Sep 27 00:42:10 EST 2013


Hello,

On Thu, Sep 26, 2013 at 10:39 AM, Alexander Gordeev <agordeev at redhat.com> wrote:
> I can imagine a scenario where the first device probes in, requests its

Well, we can imagine a lot of thing but usually have to draw the line somewhere.

> optimal number, acquires that number and exhausts MSIs in pSeries firmware.
> The next few devices possibly end up with single MSI, since no MSIs left
> to satisfy their optimal numbers. If one of those single-MSI'ed devices
> happened to be a high-performance HBA hitting a degraded performance that
> alone would force (IBM) to introduce the quotas. Now, if the same/another
> device happened does not support the legacy interrupt mode and no MSI
> resources have left in the platform firmware at all...

If that happens, that's just the platform code being dumb. Quota is
there to prevent that from happening, right? Let's please do something
simple and worry about problems if they actually exist.

Thanks.

-- 
tejun


More information about the Linuxppc-dev mailing list