Re: [PATCH 3/4] AHCI: Conserve interrupts withpci_enable_msi_block_part() interface

From: Tejun Heo
Date: Wed Sep 04 2013 - 10:56:14 EST


Hello,

On Wed, Sep 04, 2013 at 09:22:57AM +0200, Alexander Gordeev wrote:
> I think a general approach that will cover it all (including ICH and undesired
> sharing of interrupt vectors) - start MME from roundup_pow_of_two(n_ports) and
> ensure MRSM bit is unset. If not - double MME and retry. If still not and the
> limit is reached - fall back to single MSI.
>
> Makes sense?

Ugh... I really don't want this sort of retry loop. I'm still a bit
lost on why this is necessary. Can you please elaborate?

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/