ahci: always fall back to single-MSI mode
authorChristoph Hellwig <hch@lst.de>
Fri, 18 Nov 2016 13:09:06 +0000 (14:09 +0100)
committerTejun Heo <tj@kernel.org>
Mon, 21 Nov 2016 16:06:57 +0000 (11:06 -0500)
commit6929ef385e09c0065b87fda3e7b872a5070ac783
tree84f6b678d92409233aefde692da6db665d547d1b
parente0029dcb5b6e1c23e68f578ce7a3d6c5caba0501
ahci: always fall back to single-MSI mode

Don't try to guess what the errors from pci_irq_alloc_vectors mean, as
that's too fragile.  Instead always try allocating a single vector
when multi-MSI mode fails.  This makes various intel Desktop and
Laptop CPUs use MSI again.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Michael Marley <michael@michaelmarley.com>
Tested-by: Michael Marley <michael@michaelmarley.com>
Fixes: 0b9e2988ab22 ("ahci: use pci_alloc_irq_vectors")
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci.c