Re: Regression with 0b9e2988ab22 ("ahci: use pci_alloc_irq_vectors")

From: Jarkko Nikula
Date: Fri Oct 21 2016 - 10:05:14 EST


On 10/21/2016 04:27 PM, Christoph Hellwig wrote:
Hi Jarkko,

please try the two fixes queue up in the libata tree for this:

https://git.kernel.org/cgit/linux/kernel/git/tj/libata.git/log/?h=for-4.9-fixes

Great! Commit 17a51f12cfbd ("ahci: only try to use multi-MSI mode if there is more than 1 port") fixed the non-working SATA on a machine with single port and it continues using MSI.

Another machine with more ports still uses IO-APIC (was using MSI before 0b9e2988ab22 ("ahci: use pci_alloc_irq_vectors")). Then I applied a478b097474c ("ahci: fix nvec check") but didn't see changes.

--
Jarkko